MORE ABOUT ME

SQL MCM

sql_server_waits_cleared
HOW TO: Find When SQL Server Wait Stats Were Last Cleared

For years I have found myself often needing these three pieces of information with regards to SQL Server:When was the last time the server was restarted?When was the last time the SQL instance was restarted?When was the last time the SQL Server wait stats were cleared?If the server itself is restarted, then the...

HOW TO: Know What That Installer Did to Your Database
HOW TO: Know What That Installer Did to Your Database

Remember when I told you I had come across and old script that checked your SQL Server configuration setting? Well, here's another old script of mine I think is worth sharing. The idea was that I wanted to verify what changes (if any) were made to my SQL Server instance as a result...

config_check_warning
SQL Server Configuration Check

I was going through some old files recently and I came across a folder that was essentially a junk drawer of scripts I've put together over the years. I don't know what to do with most of them now. For example, the isql scripts for some Sybase ASE 11.5 instances aren't...

DBCC SHOW_STATISTICS
SQL 2014 Cardinality Estimator: Why You Should Care – Part 2

In the previous post I talked about how query optimization works, the role the Cardinality Estimator (CE) plays, and why you should care. Today I am going to break down some of the details about the differences between the old and new CE, as well as show some examples and scenarios. What’s New...

SQL Server 2014 Cardinality Estimator
SQL 2014 Cardinality Estimator: Why You Should Care

This is the first of two posts on the new Cardinality Estimator in SQL Server 2014. SQL Server 2014 comes with a lot of shiny things. Hekaton (or as Microsoft Marketing likes to call it, In-Memory OLTP), updateable Columnstore indexes, and buffer pool extensions are some of the more common enhancements....