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
Identical crumpet rings fill a griddle with their handles pointing in different directions

Plan Cache Duplicates From Whitespace and Case Differences

April 1, 2013
Pinal Dave
SQL Tips and Tricks
Ad Hoc Query, SQL Cache, SQL Server

One extra space or a lowercase keyword gives you a second cached plan. See it in the cache, and learn what actually fixes it.

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
A bicycle wheel leans on a wall with one bent spoke, while loose spokes and a spoke key lie on the floor

Comparing Session SET Options Between SSMS and the Application

August 6, 2012
Pinal Dave
SQL Performance
SQL Cache, SQL Connection, SQL DateTime, SQL Server Management Studio

Fast in SSMS, slow in the app? The query may be fine and the connection settings different. Here is how to check, with nothing to set up.

Read More
An oyster knife opens one shell beside a row of shells whose meat still needs separate access

Plan Cache Key Lookups: Finding the Worst Ones With XQuery

March 24, 2012
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL Index, SQL XML

Not every key lookup needs fixing. Rank statements by reads, find the lookups with XQuery, then test the smallest index change on one call.

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
Two wooden trays of ceramic samples beside an hourglass, with a separate unmatched-sample tray.

DMV Snapshot Deltas for a Query Activity Interval

March 26, 2011
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL DMV, SQL Performance, SQL Server

DMV snapshot deltas show counter growth for cached statements that survive two observations. Compare their identities and report missing coverage before ranking activity.

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

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