SQLpassion BLOG

Where SQL Server does store the data of DMVs?

One of the questions that I get over and over again is about where SQL Server stores the data that is returned by the various Dynamic Management Views (DMVs) and Dynamic Management Functions (DMFs). Many people think that this type of data is stored somewhere within a system database like the master database. But this …

Where SQL Server does store the data of DMVs? + read more

Composite Non-Clustered Indexes – does the Column Order matter?

When I talk about indexes, people always ask me if the sorting order of the columns in a composite Non-Clustered Index matters? The short answer is always “It depends”. Let’s have a look on it why “it depends”.. Singleton Lookups When you have queries which perform Singleton Lookups on your tables, the sorting order of …

Composite Non-Clustered Indexes – does the Column Order matter? + read more