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 hand placing the last berries on a fruit tart as guests arrive, the pattern not perfect but ready to serve.

Optimizer Timeouts: Reason for Early Termination in a Plan

April 1, 2024
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL Performance, SQL Server, SQL XML

Diagnose optimizer early termination in SQL Server plans, find cached timeouts with XML, and simplify queries using measured evidence.

Read More
changing compatibility

SQL SERVER – Impact of Changing Database Compatibility Level on Cache

July 5, 2023
Pinal Dave
SQL Performance
Compatibility Level, SQL Cache

Changing the database compatibility level can clear plans from cache. Here is what happens to the query cache and why it matters.

Read More
Two frying pans on a stove, butter sizzling in the hot one and sitting solid in the cold one.

Cold Cache vs Warm Cache: Testing Query Speed Fairly

January 9, 2023
Pinal Dave
SQL Performance
SQL Cache, SQL Memory, SQL Performance, SQL Server, Testing

Compare cold cache and warm cache query tests using isolated buffer clearing, logical and physical reads, and controlled measurements.

Read More
A wooden butter stamp pressing a flower pattern into butter, a row of identical stamped pats behind it.

Prepared Statements and Plan Reuse From Application Code

July 25, 2022
Pinal Dave
SQL Performance
Ad Hoc Query, Execution Plan, SQL Cache, SQL Server

Inspect prepared statements, handle lifetimes, parameter types, cached Prepared plans, and the limits of optimize for ad hoc workloads.

Read More
Execution Plan Property.

SQL SERVER – Is Query from Cache? Execution Plan Property

December 2, 2021
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Cache, SQL Memory, SQL Scripts, SQL Server

Well, of course, there is an easy way to know this and that is Execution plan property. Is there any way to know if the executed query is from cache or not?

Read More
DBCC FLUSHAUTHCACHE

SQL SERVER – Empty Database Authentication Cache with DBCC FLUSHAUTHCACHE

October 26, 2021
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL Scripts, SQL Server, SQL Server DBCC

A very interesting DBCC command I recently came across and that is DBCC FLUSHAUTHCACHE. DBCC function applies to Azure SQL Database.

Read More
cache or disk

Snowflake – Query Result from Cache or Disk

October 1, 2021
Pinal Dave
SQL Tips and Tricks
Snowflake, SQL Cache, SQL Memory, SQL Server

Comprehensive Database Performance Health Check, The topic is how to identify on the Snowflake platform if the query result is from cache or disk.

Read More
1 2 3 4 … 7 Next
  • Books
  • Testimonials
  • Privacy Policy

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