This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
A worn shuttle is inspected over its finite work area beside a fresh unworn tool.

SQL SERVER – High Frequency Cached Query Counts and Statement Metrics

August 12, 2021
Pinal Dave
SQL Performance
SQL Cache, SQL DMV, SQL Scripts, SQL Server

I measure High Frequency cached statements with decimal executions-per-second arithmetic. A customer wanted to identify the busiest queries.

Read More
Gouache painting of two rows of brass keys on hooks, one key with a vermilion handle, and a brass padlock hanging below

Find Queries Using an Index in the SQL Server Plan Cache

July 15, 2021
Pinal Dave
SQL Performance
SQL Cache, SQL DMV, SQL Index, SQL Scripts

Find queries using an index by searching cached plans for its exact name. See the script, a surprise result, and what an unused index costs in SQL Server.

Read More
Gouache painting of three mountain paths from one post to the same hut, with a vermilion stone cairn on the middle path

Group by Query Hash: Find One Query With Many Plans

June 4, 2021
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL Performance, SQL Scripts

Group by query hash to add up every cached copy of one query. See why the top query hides across entries in SQL Server.

Read More
many plans

One Query Many Plans – SQL in Sixty Seconds #171

June 3, 2021
Pinal Dave
SQL Video
Execution Plan, SQL Cache, SQL in Sixty Seconds, SQL Performance, SQL Server

After the blog post, lots of people asked me it will be more helpful if I can create a video on the same topic of one query many plans.

Read More
Gouache painting of two identical teapots on separate shelves, one on a vermilion saucer

Same Query Plan, Different Cache Entry in SQL Server

June 2, 2021
Pinal Dave
SQL Performance
Ad Hoc Query, Execution Plan, SQL Cache, SQL Scripts

The same query plan can sit in the cache many times when query text changes by a space, a letter case or a comment. See it, measure it and learn how to share one entry.

Read More
A magnetic strip above a lathe holding four chisels within reach, a hand lifting the vermilion-handled one.

Memory-Optimized Tables as a Key-Value Cache

March 11, 2021
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Cache, SQL Memory, SQL Server

Build a key-value cache with SCHEMA_ONLY memory-optimized tables, native get and set procedures, expiry checks, and bounded cleanup.

Read More
Count Table in Cache

Count Table in Cache – SQL in Sixty Seconds #149

January 12, 2021
Pinal Dave
SQL Video
Execution Plan, SQL Cache, SQL in Sixty Seconds, SQL Scripts, SQL Server

Earlier I wrote how to find the count of tables used in queries from cache. Here is the Count Table in Cache video in SQL in Sixty Seconds.

Read More
Previous 1 2 3 4 5 … 9 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com