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 pile of washed white laundry turned pink, a hand holding up the single red sock that caused it.

Finding the Worst Query in Five Minutes With Query Store

April 20, 2012
Pinal Dave
SQL Performance
Query Store, SQL CPU, SQL Performance, SQL Server

Find the worst query with Query Store totals, compare CPU and duration over the last day, inspect plans, and choose the first tuning target.

Read More
A saved dressmaking pattern on a hook, fabric and red pins ready on the table

Optimized Plan Forcing: Cutting Compile Time in SQL Server 2022

March 6, 2012
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Performance, SQL Server 2022

Check optimized plan forcing in SQL Server 2022 through scoped configuration and Query Store replay flags, then compare compile duration.

Read More
A row of closed cloth-bound journals on a shelf, one pale journal leaning forward with a red ribbon bookmark.

Query Store Quiz: Where Is Last Week’s Slow Query?

January 30, 2012
Pinal Dave
SQL Puzzle
Execution Plan, Query Store, SQL Performance, SQL Server 2022

This Query Store Quiz starts with a slow query from last week and a plan cache that restarted empty. The answer is Query Store, which keeps plans and run times inside the database. A tested T-SQL script finds the query, its plan and its duration.

Read More
Fingers taking a pinch from a small salt cellar, the large salt box on a high shelf behind

Caching Query Results in the Application

October 17, 2011
Pinal Dave
SQL Performance
Best Practices, Developer, Query Store, SQL Cache, SQL Server

Caching query results in the application can reduce repeated reads when ownership, expiry, invalidation, and memory cost are clear.

Read More
A skier riding a chairlift while a groomer prepares the slope below

Azure SQL Database for the On-Premises DBA

September 25, 2011
Pinal Dave
SQL Tips and Tricks
Cloud Computing, DBA, Query Store, SQL Azure

Azure SQL database for the on-premises DBA changes patching and backups, while leaving query tuning, access, cost, and recovery checks with your team.

Read More
Gouache painting of a paper road map on a desk with faded grey and blue routes and one route traced in vermilion, held down by a brass pushpin beside a magnifier

Force a Plan With Query Store: Undo a Bad Plan in Minutes

January 11, 2011
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, Query Store, SQL Scripts

Force a plan with Query Store when a query turns slow after a plan change. This post builds a regression, finds both plans in Query Store, forces the good one, measures what forcing costs and shows when to unforce.

Read More
An upright piano on a dolly at the foot of narrow stairs while a mover measures the doorway with a string

Assessing a Database Before a Migration

August 24, 2010
Pinal Dave
SQL Tips and Tricks
Compatibility Level, DBA, Query Store, SQL Migration

Assessing a database before a migration covers features in use, compatibility, size, dependencies, and the evidence needed before a date is promised.

Read More
Previous 1 … 4 5 6 7 8 Next
  • Books
  • Testimonials
  • Privacy Policy

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