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
Pebbles sorted into heaps by size along a driftwood plank on a beach, one heap much taller than the others.

Statistics Histograms Explained

March 22, 2011
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server DBCC, SQL Statistics

Statistics histograms explained through steps, RANGE_ROWS, EQ_ROWS, and DBCC SHOW_STATISTICS help connect data shape to plan estimates.

Read More
A detailed woodworking atelier shows one timber beam worked at two stations with coherent tools and careful joinery.

SQL Server Execution Plan Quiz: One Table, Two Operators

March 15, 2011
Pinal Dave
SQL Puzzle
Execution Plan, SQL Index, SQL Server

One table reference can produce Nested Loops, a Key Lookup and parallel operators in an execution plan. A controlled SQL example makes the work visible and shows why MAXDOP is a ceiling rather than a promise of parallel execution.

Read More
A maypole with five ribbons stretched out to stakes around it like a star

Star Schema Queries and How SQL Server Runs Them

January 16, 2011
Pinal Dave
SQL Performance
ColumnStore Index, Data Warehousing, Execution Plan, SQL Joins, SQL Server

Star schema queries join a large fact table to focused dimensions; learn bitmap filters, columnstore, and indexes that support the real workload.

Read More
Gouache painting of a paper road map on a desk with faded grey and blue routes and one route traced in vermilion, held down by a brass pushpin beside a magnifier

Force a Plan With Query Store: Undo a Bad Plan in Minutes

January 11, 2011
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, Query Store, SQL Scripts

Force a plan with Query Store when a query turns slow after a plan change. This post builds a regression, finds both plans in Query Store, forces the good one, measures what forcing costs and shows when to unforce.

Read More
A barn weathervane pointing one way while the wheat field below bends the other way in a gust.

When Auto Update Statistics Is Not Enough

December 4, 2010
Pinal Dave
SQL Performance
DBA, Execution Plan, SQL Performance, SQL Statistics

Auto update statistics can miss important data patterns; inspect thresholds, ascending keys, sampling, and targeted update schedules.

Read More
A herbarium studio shows two separate oak cabinets storing different arrangements of the same botanical specimens.

Indexed View Quiz: The Table and Clustered Index Confusion

October 7, 2010
Pinal Dave
SQL Puzzle
Execution Plan, SQL Index, SQL Server, SQL View

An indexed view and its base table can each own a clustered index because they are separate objects. Inspect both owners in a SQL example and see why a view index does not give its base table a second clustered index.

Read More
A drawing compass on cream paper, its pencil arc just touching the nearest of several scattered pebbles.

Finding the Nearest Location With a Spatial Index

September 19, 2010
Pinal Dave
SQL Performance
Execution Plan, Spatial Database, SQL Index, SQL Server

A nearest location query in SQL Server needs TOP, STDistance in WHERE and ORDER BY, matching SRIDs, and a checked spatial plan.

Read More
Previous 1 … 28 29 30 31 32 33 34 35 Next
  • Books
  • Testimonials
  • Privacy Policy

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