October 29, 2007 8:00 AM
Posted by: Denny Cherry
Execution Plan,
SQLTake your XML execution plan and save it to a file with a file extension of sqlplan (such as MyQuery.sqlplan) and double click on it. It will open in the SQL Server Management Studio and show you the plan in the GUI plan viewer making it much easier to read than the XML version.
October 25, 2007 6:03 PM
Posted by: Denny Cherry
Article,
SQL,
Statistics,
T/SQLMy next tip on SQL Server Statistics has been published on SearchSQLServer.com entitled
October 24, 2007 5:09 AM
Posted by: Denny Cherry
DataManagement,
sp_who3,
SQL,
T/SQLI've published this before over on tek-tips.com, but I figured that I'd republish it here as well. I've written an update for sp_who2 which I call sp_who3. It can be most useful when trying to diagnose slow running queries as it can provide a wealth of information in a single...
October 22, 2007 10:17 AM
Posted by: Denny Cherry
Cache,
Config,
SQLThere are two main types of cache which SQL Server deals with, the buffer cache and the procedure cache. The procedure cache is where the execution plans for procedures and queries are stored. The buffer cache is where the actual data is cached so that SQL Server doesn't have to go to disk to...
October 18, 2007 6:18 PM
Posted by: Denny Cherry
Microsoft Windows,
SQLBob Ward of Microsoft has written an excellent blog about the lock pages is memory right over on the PSS blog.
October 17, 2007 5:46 PM
Posted by: Denny Cherry
SQL,
Windows ComputingI know that there is some confusion about what exactly the minimum server memory setting in sp_configure actually does. When I was at PASS I was able to ask the Microsoft guys this very question and here is what they told me.
The setting does not control how much memory SQL takes when it...
October 15, 2007 6:54 PM
Posted by: Denny Cherry
Service Broker,
SQLI've submitted a request to Microsoft (via the Connect site) to have them improve the error reporting which the Service Broker does to the error log. If everyone could vote for that submission (
October 11, 2007 2:15 AM
Posted by: Denny Cherry
Comic,
SQLWhile waiting for an index to be created I ran across this little beauty over at http://xkcd.com. I just had to share it.

October 10, 2007 1:58 AM
Posted by: Denny Cherry
DataManagement,
SQL,
StorageMany DBAs so not have the knowledge needed in the storage area to be able to ask the right questions to there storage engineers, and often storage engineers do not know the right questions to ask a DBA to get the answers that they need. Because of this database storage ends up being configured...