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
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
SQL SERVER - Plan Caching and Schema Change - An Interesting Observation

SQL SERVER – Plan Caching and Schema Change – An Interesting Observation

September 14, 2009
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL Documentation, SQL Profiler, SQL Scripts, SQL Server Management Studio, SQL Stored Procedure, SQL Utility, SQL White Papers

What counts as a schema change for plan caching? More than table structure: adding or dropping an index also qualifies, per Greg Low’s white paper.

Read More
An overcrowded umbrella stand of cheap folding umbrellas squeezing out one worn red umbrella

Finding Single-Use Plans Wasting Memory in the Cache

August 29, 2009
Pinal Dave
SQL Performance
Ad Hoc Query, Execution Plan, SQL Cache, SQL Memory, SQL Server

Find single-use plans, compare their cache memory with the total, and inspect parameterization before discussing server-wide cache settings.

Read More
Small wooden cloakroom tokens sit beside a peg holding one full coat.

Optimize for Ad Hoc Workloads: Shrinking a Bloated Plan Cache

March 21, 2009
Pinal Dave
SQL Performance
Ad Hoc Query, Execution Plan, SQL Cache, SQL Server Configuration

One-off queries can fill your plan cache with plans nobody will reuse. Here is the setting that stores a stub instead, and how to check if you need it.

Read More
Two identical brass compasses on a workbench, one needle pulled aside by a nearby iron vise

Why One Query Has Two Cached Plans: SET Options and plan_attributes

November 8, 2008
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Cache, SQL DMV, SQL Server

Investigate two cached plans with plan_attributes, decode differing SET options, and match application settings before diagnosing skew.

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

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