Sign In
MSDN Blogs
Microsoft Blog Images
More ...
Browse by Tags
CSS SQL Server Engineers
This is the official team Web Log for Microsoft Customer Service and Support (CSS) SQL Support. Posts are provided by the CSS SQL Escalation Services
Common Tasks
Blog Home
Email Blog Author
RSS for posts
RSS for comments
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Recent Posts
Analysis Services Thread Pool Changes in SQL Server 2012
Posted
10 days ago
by
psssql
1
Comments
Management Studio tricks you may or may not know about
Posted
10 days ago
by
Adam W. Saxton
6
Comments
The case of the incorrect page numbers
Posted
11 days ago
by
Evan Basalik
0
Comments
The official release of System Center Advisor…
Posted
14 days ago
by
psssql
3
Comments
How It Works: sys.dm_tran_session_transactions
Posted
17 days ago
by
psssql
0
Comments
Tags
2005
2005 SP2
2008
2008 R2
Adam
Connectivity
Engine
How It Works
Memory
Performance
READTRACE
Reporting Services
RML Utilities
Security
Setup
SQL 2005
SQL 2008
SQL Server 2005 SP2
SQL Server 2008
SQL Server 2008 SP1
SQLOS
Tools
Trace
Tracing
Troubleshooting: The DB Engine
Archives
Archives
January 2012
(7)
December 2011
(2)
November 2011
(3)
October 2011
(4)
September 2011
(6)
August 2011
(1)
July 2011
(3)
June 2011
(6)
May 2011
(9)
April 2011
(11)
March 2011
(5)
February 2011
(9)
January 2011
(7)
December 2010
(5)
November 2010
(5)
October 2010
(4)
September 2010
(3)
August 2010
(7)
July 2010
(7)
June 2010
(7)
May 2010
(8)
April 2010
(7)
March 2010
(4)
February 2010
(5)
January 2010
(5)
December 2009
(9)
November 2009
(6)
October 2009
(4)
September 2009
(9)
August 2009
(5)
July 2009
(8)
June 2009
(9)
May 2009
(12)
April 2009
(8)
March 2009
(13)
February 2009
(14)
January 2009
(13)
December 2008
(8)
November 2008
(9)
October 2008
(3)
September 2008
(9)
August 2008
(10)
July 2008
(7)
June 2008
(4)
May 2008
(1)
April 2008
(11)
March 2008
(10)
February 2008
(6)
January 2008
(10)
December 2007
(1)
November 2007
(1)
October 2007
(2)
September 2007
(2)
August 2007
(2)
June 2007
(2)
May 2007
(1)
April 2007
(2)
March 2007
(2)
February 2007
(7)
January 2007
(2)
December 2006
(4)
November 2006
(9)
MSDN Blogs
>
CSS SQL Server Engineers
>
All Tags
>
how it works
Browse by Tags
.NET
2000
2005
2005 SP2
2008
2008 R2
AlwaysON
Analysis Services
Connectivity
Engine
File Stream
Hyper-V
linked server
Memory
Performance
SQL 2005
SQL 2008
SQL Server 2008
SQL Server 2008 SP1
SQLOS
Tools
Trace
Tracing
Troubleshooting: The DB Engine
Wait Types
Blog Post:
Analysis Services Thread Pool Changes in SQL Server 2012
psssql
As part of the SQL Server 2012 release several changes were made to Analysis Services that should alleviate some issues previously seen on large NUMA node machines. Separation of IO and Processing Jobs To better understand how the changes that were made work, it is helpful to have some background...
on
31 Jan 2012
Blog Post:
How It Works: sys.dm_tran_session_transactions
psssql
For some reason I have been looking at DMV output closely the last couple of weeks. I just blogged about the pending I/O requests and now I have a behavior to outline for dm_tran_session_transactions for todays blog. select * from sys . dm_tran_session_transactions The scenario I was...
on
24 Jan 2012
Blog Post:
How It Works: sys.dm_io_pending_io_requests
psssql
I have been working an issue where the DMV was returning io_pending_ms_ticks incorrectly. The following output is an example of ~164 hour delay. Unlikely to occur without any other side effects noted. select * from sys . dm_io_pending_io_requests In the process of this investigation I uncovered...
on
23 Jan 2012
Blog Post:
How It Works: Return codes from SQLIOSim
psssql
I have been asked how to automate SQLIOSim on several occasions. SQLIOSim is a utility to test SQL Server I/O integrity ( not performance ) patterns against a system without needing to install SQL Server on the system. It ships with SQL Server 2008 and SQL Server 2008 R2 and is located in...
on
1 Jul 2011
Blog Post:
How It Works: FileStream (RsFx) Garbage Collection
psssql
In a previous blog I outlined how file stream transactions work and retain the before and after images of the file to allow various forms of recovery. Reading that blog should be considered a prerequisite: http://blogs.msdn.com/b/psssql/archive/2008/01/15/how-it-works-file-stream-the-before-and...
on
23 Jun 2011
Blog Post:
How It Works: Error 18056 - The client was unable to reuse a session - Part 2
psssql
I have had several questions on my blog post: http://blogs.msdn.com/b/psssql/archive/2010/08/03/how-it-works-error-18056-the-client-was-unable-to-reuse-a-session-with-spid-which-had-been-reset-for-connection-pooling.aspx related to SQL Server 2008's honoring of an query cancel (attention) during the...
on
29 Dec 2010
Blog Post:
HOW IT WORKS: IO Affinity Mask - Should I Use It?
psssql
The IO Affinity mask question has come across my desk several times in the last week so it is time to blog about it again. The IO Affinity mask is a very targeted optimization for SQL Server. I have only seen 6 cases where the use of it improved performance and was warranted. It is much more...
on
19 Nov 2010
Blog Post:
How It Works: SQL Parsing of Number(s), Numeric and Float Conversions
psssql
SQL Server and other documentation have always indicated that float values are not precise and comparison or conversion of them can be problematic and imprecise. Working on a recent customer case it required me to dig into the single/double precision...
on
1 Nov 2010
Blog Post:
How It Works: Extended Event (sqlos.wait_info*)
psssql
I was posed a good question today about how the wait_info* event works in SQL Server 2008. The easiest way for me to answer the question was to prove the behavior. using WAITFOR DELAY it shows the behavior nicely. From: Robert Dorr Sent: Wednesday, October 20, 2010 2:07 PM Subject: RE: Extended Events...
on
20 Oct 2010
Blog Post:
How It Works: Timer Outputs in SQL Server 2008 R2 - Invariant TSC
psssql
I would love nothing more than to take you back to my high-school days running the 440 yard hurdles (yes yards not meters) where timing was done with a stop watch (you know the old, moving dial style) but timers on the PC don't allow that simplicity. I have discussed the timing behavior is SQL Server...
on
18 Aug 2010
Blog Post:
How It Works: Enumeration of sys.messages
psssql
I ran into an issue which has some aspects I found interesting and thought you might as well. When you do a select against the sys.messages virtual table the data is retrieved from the resource files (.RLL) files stored under <<Instance>>\Binn\Resource directory. This is done by loading the...
on
16 Aug 2010
Blog Post:
How It Works: Error 18056 - The client was unable to reuse a session with SPID ##, which had been reset for connection pooling
psssql
This message has come across my desk a couple of times in the last week and when that happens I like to produce blog content. The error is when you are trying to use a pooled connection and the reset of the connection state encounters an error. Additional details are often logged in the SQL Server error...
on
3 Aug 2010
Blog Post:
How It Works: SqlDataReader::RecordsAffected and Why it Returns -1
psssql
I encountered another interesting research issue to share with you. The documentation states RecordsAffected are for INSERT, UPDATE and DELETE but it might fool you. ------------------------------------------------------------------------------------ Sent: Monday, June 07, 2010 9:06 PM Subject: "set...
on
8 Jun 2010
Blog Post:
How It Works: Spinlock Of Type LPE_BATCH
psssql
A question arose asking - "What does the LPE_BATCH spinlock type represent?" You can see the LPE_* series of spinlocks using the DMV query " select * from sys . dm_os_spinlock_stats " A spinlock is a lightweight, user mode synchronization object used to protect a specific structure. The goal of the spinlock...
on
8 Jun 2010
Blog Post:
How It Works: The SQLAgent Log File
psssql
I am still working to resolve the customers problem but during my investigation I briefly looked a the SQLAgent logging format and thought you all might like some of these details. From: Robert Dorr Sent: Monday, May 24, 2010 9:47 AM Subject: RE: SPID in SLEEP state indefinitely The error itself is from...
on
27 May 2010
Blog Post:
How It Works: Orphan DTC Transaction (Session/SPID = -2)
psssql
It looks like it would be a good post to help clarify that -2 does NOT mean ORPHAN . _____________________________________________________________________________________ CURRENT EXCHANGE _____________________________________________________________________________________ From: Robert Dorr Sent: Tuesday...
on
20 Apr 2010
Blog Post:
How It Works: Soft NUMA, I/O Completion Thread, Lazy Writer Workers and Memory Nodes
psssql
There seems to be some semantic(s) confusion on the books online description of SOFT NUMA. The area of confusion is from the SQL Server 2008 Books Online section, shown below. Soft-NUMA SQL Server allows you to group CPUs into nodes referred to as soft-NUMA. You usually configure soft...
on
2 Apr 2010
Blog Post:
How It Works: Bob Dorr's SQL Server I/O Presentation
psssql
I put a presentation together quite some time ago going over various SQL Server I/O behaviors and relating them to the SQL Server I/O whitepapers I authored. I keep getting requests to post the presentation and the information is relevant from SQL 7.0 to SQL Server 2008 and beyond. Here are the RAW...
on
24 Mar 2010
Blog Post:
How It Works: SQL Server 2008 NUMA and Foreign Pages
psssql
I have received numerous questions about 'foreign pages' so I have put this post together to answer the questions. The SQL Server buffer pool goes through three (3) distinct states. Initial / Ramp-up This state is established during buffer pool initialization and only transitions once committed buffers...
on
23 Feb 2010
Blog Post:
How It Works: Are you handling cancels correctly in your SQLCLR code?
psssql
I was recently developing a set of SQLCLR functions and procedures for an internal project. One of the tests I added to my suite was to cancel the query (attention) and make sure I handled it properly in my .NET implementation. What I found was much more than I expected...
on
15 Dec 2009
Blog Post:
How It Works: SQLIOSim CTRL+C vs Close Window
psssql
Today I had an interesting question about the CTRL+C handler for the SQLIOSim console execution. After some investigation I found that a design change request is in order as the CTRL+C handler has a few holes- (I am working on that part). The CTRL+C handler does not prompt you...
on
1 Dec 2009
Blog Post:
How It Works: Controlling SQL Server memory dumps
psssql
I just completed a lengthy bit of research and thought I would share it with everyone. There are several trace flags and registry keys outlined in this post. !!! As always USE WITH APPROPRIATE CAUTION !!! From: Robert Dorr Sent: Tuesday, November 17, 2009 3:23 PM...
on
17 Nov 2009
Blog Post:
How It Works: How many databases can be backed up simultaneously?
psssql
Previously I have posted details on backup/restore designs and how to tell what backup/restore is doing. http://blogs.msdn.com/psssql/archive/2009/03/03/how-it-works-sql-server-vdi-vss-backup-resources.aspx http://blogs.msdn.com/psssql/archive/2008/01/28/how-it-works-sql-server-backup-buffer-exchange...
on
13 Nov 2009
Blog Post:
How It Works: What are the RING_BUFFER_RESOURCE_MONITOR telling me?
psssql
The ring buffer records (which can be sent to XEvent) for Resource Monitor and Memory Broker are the key aspects to understanding RM. The record is produced when a change is detected in state monitored by RM. CREATE EVENT SESSION RingBufferInfo ON SERVER ADD EVENT...
on
17 Sep 2009
Blog Post:
Q&A on Latches in the SQL Server Engine….
psssql
I recently received a request to shed some light on a few advanced questions about latches and SQL Server. These were good questions so I thought the information might be useful to share with the community. I’ll provide this information in the form of Q&A as I was asked (I’ve paraphrased the questions...
on
8 Jul 2009
Page 1 of 4 (77 items)
1
2
3
4