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
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
A big beach ball on sound boards beside a small red cannonball that has cracked the plank

Operator Cost Percentages Are Estimates: Read Actual Time Instead

January 26, 2009
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server

Read operator cost percentages as estimates, then use actual rows, elapsed time, IO, and repeated work to find the real bottleneck.

Read More
A weather vane with a red rooster turning with the wind on a barn roof

Rolling Date Ranges Forward Without Hard-Coded Years

January 1, 2009
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL DateTime, SQL Server, SQL Stored Procedure

Replace hard-coded years with indexed date ranges for current periods, full months, year-to-date comparisons, and any requested year.

Read More
Previous 1 … 25 26 27 28 29 30 Next
  • Books
  • Testimonials
  • Privacy Policy

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