How It Works: Spinlock Of Type LPE_BATCH
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...
View ArticleSQLIOSim - Is Error: Unable to get disk cache info really an error?
The short answer is that it is not an error and the message should be a WARNING. I looked at the latest, internal code base it has already been changed to a WARNING....
View ArticleHow It Works: SqlDataReader::RecordsAffected and Why it Returns -1
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....
View ArticleWhere did the SQL Server Instance disappear? The clue may be in the WMI logs!
We recently worked with a customer who ran into an interesting situation. This problem deals with SQL Server 2005 Service Pack 3 setup. Normally, when you launch the SQL 2005 SP3 setup and you reach...
View ArticleIntroducing the SQL Server 2008 R2 Best Practices Analyzer (BPA)…
Some of you may have noticed I haven’t posted a blog in some time. Well, I’ve been a bit busy working behind the scenes on a new tool we released this weekend, the SQL Server 2008 R2 Best Practices...
View ArticleKnown issues installing SQL 2008 R2 BPA relating to Remoting
After getting through the Pre-Reqs for BPA (PowerShell 2.0, MBCA, .NET Framework), you may hit one of two scenarios when installing BPA. In all of the cases of an install failure, you will see the...
View ArticleMy Kerberos Checklist…
I’ve had numerous questions regarding Kerberos, both internally within Microsoft and with Customers. It continues to be a complicated topic and the documentation that is out there can be less than...
View ArticleRevisiting an old SSRS performance topic again…
Almost three years ago, I posted about why Reporting Services takes so long to respond to the first request if it has been sitting idle for a long time (like overnight). The original post can be found...
View ArticleWhy doesn't SQL Server use statistics and index on this computed column?
In this post, I talked about how to use computed column to improve performance. By creating index on a computed columns, you can have two benefits. You get better cardinlaity esimate on the...
View ArticleWhy is my SQL Clustered Instance changing authentication modes?
We get our fair share of cases related to SQL Server running ( or not running) on a Windows Cluster. I had one of them recently where the customer was seeing different authentication modes for SQL...
View ArticleSampling can produce less accurate statistics if the data is not evenly...
Recently I worked with a very knowledgable customer who called in and wanting to know things about statistics. This is because he noticed that his query would get inaccurate cardinality estimate...
View ArticleWhy does PREEMPTIVE_OS_GETPROCADDRESS Show a Large Accumulation?
There is a bug in SQL Server 2008 that causes PREEMPTIVE_OS_GETPROCADDRESS to include and accumulate the execution time of the extended stored procedure (XPROC). The following is an example showing the...
View ArticleInstalling SQL Integration Services after SQL Cluster Setup has Completed
Today I ran into an issue where, SQL Server 2008 SP1 was installed on a Windows 2008 cluster and was working just fine, but we wanted to install SQL Server Integration Services (SSIS) to the two nodes...
View ArticleSQL 2008 FileStream Fails to Enable After Setup on Cluster that uses Veritas...
Recently a customer ran into an issue where they had successfully installed SQL Server 2008 SP1 on a 2 node Windows 2008 cluster. When they went to restore a database that was given to them, they found...
View ArticleHow It Works: Error 18056 - The client was unable to reuse a session with...
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...
View ArticleWhen a full dump isn’t really a full dump…
I was working on a customer issue which involved debugging a dump. The dump was generated via SQLDumper within Reporting Services. So, the name of the dump was similar to SQLDmpr0001.mdmp. When I...
View ArticleReplay Result Set Event (Replay * Events)
From: Robert Dorr Sent: Friday, August 13, 2010 8:58 AMSubject: RE: SQL Server Trace Replay - "Replay Result Set Event" The Result Set event is one of several client side replay events. Here are some...
View ArticleHow It Works: Enumeration of sys.messages
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...
View ArticleHow It Works: Timer Outputs in SQL Server 2008 R2 - Invariant TSC
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...
View ArticleWhy use SQL Server 2008 R2 BPA? Case 1: Missing Updates…..
In June I introduced you to a new Best Practices Analyzer for SQL Server, SQL Server 2008 R2 BPA:...
View Article