Tag: Performance Tuning

  • Filtered Indexes and Plan Parameterization

    Filtered Indexes and Plan Parameterization

    In this post, we’ll look at how filtered indexes in SQL Server work when the query is parameterised on the column of the filtered index. The query The following query in the Stack Overflow 2010 Database, provided under cc-by-sa 4.0 licence from Stack Exchange Data Dump, will find all users with the name John whose…

    Keep reading

  • #tsql2sday #200

    #tsql2sday #200

    This post is my first T-SQL Tuesday post since starting the blog a couple of months back. T-SQL Tuesday was originally set up by Adam Machanic, original creator of the essential sp_whoisactive stored procedure. The concept is that once a month, a different host puts out an invitation to the community for bloggers to write…

    Keep reading

  • SQL Server – See What’s Executing Now With DMVs

    SQL Server – See What’s Executing Now With DMVs

    In SQL Server, there are a few DMVs that tell us “What is running now”. This is built into SSMS as Activity Monitor, but I’ve never met anyone who actually finds that method useful, there’s also sp_who and sp_who2, but they are dated and limited in what they tell you. Instead, the more robust way…

    Keep reading