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 fresh photo print of a runner at the finish hanging to dry by a red clip in a darkroom

The Last Actual Execution Plan: LAST_QUERY_PLAN_STATS in Practice

June 3, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL DMV, SQL Server, SQL Server 2019

Capture the last actual execution plan with LAST_QUERY_PLAN_STATS, inspect runtime rows, and understand what cache retention cannot provide.

Read More
A hand-drawn map where a road has been redrawn in red around a new lake

Why Queries Recompile

March 24, 2013
Pinal Dave
SQL Performance
Execution Plan, Recompile, SQL Cache, SQL Extended Events, SQL Performance

Why queries recompile becomes clearer when you capture Extended Events causes and check schema changes, statistics, SET options, and temp tables.

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 tray of cookies in rows with a few missing, fallen to the floor

SEQUENCE Cache Size, Gaps and Insert Throughput

June 9, 2011
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL Constraint and Keys, SQL Identity, SQL Server

Compare SEQUENCE cache size, restart gaps, rollback gaps, and insert throughput with CACHE 50, CACHE 1000, and NO CACHE.

Read More
Skittles set in a triangle with two gaps in the middle, a red ball waiting at the near end before any throw.

Sequence Gaps: Why NEXT VALUE FOR Skips Numbers

June 19, 2010
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL Identity, SQL Server, SQL Transactions

Explain sequence gaps, inspect cached values, test rollback behavior, and separate SQL Server identifiers from gapless numbering.

Read More
A glass coffee pot on a hotplate in a quiet diner, one freshly poured cup beside it with a thin wisp of steam.

Report Caching and Snapshots in SSRS

February 14, 2010
Pinal Dave
SQL Performance
Reporting Services, SQL Cache, SQL Reports, SQL Server

Report caching and snapshots in SSRS reduce repeated database work when freshness rules, parameter combinations, and schedules are clear.

Read More
Execution plan of SQL Server query.

SQL SERVER – Stored Procedure are Compiled on First Run – SP taking Longer to Run First Time

November 8, 2009
Pinal Dave
SQL Interview Questions and Answers
SQL Cache, SQL Scripts, SQL Stored Procedure

Why does a stored procedure take longer the first time? Stored procedures are not pre-compiled; each one is compiled on first run and cached after that.

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

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