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
Rich still life of an oak cabinet with divided open drawers, ivory spheres, folded linen and sage bowls.

Composite Index Without the Leading Key: Seek, Scan and Residual Filters

March 28, 2010
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

A composite index orders rows by its leading key before the next key. Compare a date-only filter, region restrictions and an isolated date-first index. Verify complete results, including new regions and NULL, before interpreting actual plans.

Read More
SQL SERVER - Execution Plan - Estimated I/O Cost - Estimated CPU Cost - No Unit

SQL SERVER – Execution Plan – Estimated I/O Cost – Estimated CPU Cost – No Unit

January 22, 2010
Pinal Dave
SQL Performance
Execution Plan, SQL Server

What is estimated I/O cost, what is estimated CPU cost, and why do these costs in an execution plan have no unit? I answer these common training questions.

Read More
A brass door viewer set in a heavy panelled door, its little shutter closed from the inside.

SQL SERVER – Fix: Error: 262 : SHOWPLAN permission denied in database

January 5, 2010
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Security

My students got Msg 262, SHOWPLAN permission denied, when they tried to view an execution plan. One GRANT SHOWPLAN statement fixes it.

Read More
A line of hands passing buckets, one hand holding a red bucket far too long

Finding the Slowest Statement Inside a Stored Procedure

October 20, 2009
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Performance, SQL Stored Procedure

Find the slowest statement inside a stored procedure using query stats offsets, CPU and read totals, then confirm with Query Store.

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
A small rowing skiff and a wide log raft moored side by side at a river jetty, a ferryman watching the bend.

Adaptive Joins: When the Plan Picks Its Join at Run Time

May 5, 2009
Pinal Dave
SQL Performance
Execution Plan, Query Hint, SQL Joins, SQL Performance, SQL Server

Understand adaptive joins in SQL Server, read their runtime threshold, inspect the actual choice, and test a query hint safely.

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
Previous 1 … 30 31 32 33 34 35 Next
  • Books
  • Testimonials
  • Privacy Policy

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