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
Detailed painting of three wooden reading trays, each containing the same stack of five colored books, in a warm private library.

Prefix Searches: LIKE, LEFT and CHARINDEX

December 24, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Scripts, SQL Server

LIKE, LEFT and CHARINDEX can match the same prefix through different access paths. Compare complete matching rows and measured plans, then test literal wildcard characters and collation before choosing a search expression.

Read More
A saucepan of stock reduced to a thick sauce, a hand filling a small jar from it beside a heap of vegetable scraps.

Pre-Aggregating Data for Fast Dashboards

November 26, 2009
Pinal Dave
SQL Performance
Business Intelligence, Data Warehousing, SQL Performance, SQL Server, SQL View

Pre-aggregating data can make dashboards fast through summary tables or indexed views when grain, refresh, and reader consistency are clear.

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
Detailed painting of a wooden drawer assembly with a fitted stop across its front opening and a loose red-ended peg on the workbench.

ALLOW_PAGE_LOCKS OFF Stops REORGANIZE

September 30, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Scripts, SQL Server

ALLOW_PAGE_LOCKS OFF prevents a rowstore index from being reorganized. A controlled example shows the maintenance error, checks the index setting and verifies that enabling page locks allows REORGANIZE without changing the stored rows.

Read More
A hand on a bicycle handlebar next to the gear shifter, just before changing gear

Raising a Database Compatibility Level Safely

August 23, 2009
Pinal Dave
SQL Performance
Compatibility Level, Query Store, SQL Performance, SQL Server

Raise a compatibility level safely by capturing a Query Store baseline, changing one database, comparing plans, and keeping a tested reversal.

Read More
A leaking gutter dripping into a nearly full rain barrel on a bright dry day, one drop caught in mid-fall.

Calculating the Cost of a Slow Query

July 22, 2009
Pinal Dave
SQL Performance
DBA, Query Store, SQL CPU, SQL Performance, SQL Server

Cost of a slow query includes frequency, CPU, reads, waits, and user time; learn to turn SQL Server measurements into a practical tuning priority.

Read More
Previous 1 … 43 44 45 46 47 48 49 50 Next
  • Books
  • Testimonials
  • Privacy Policy

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