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 open blank folio with a red bookmark and four closed slate and sage books.

Keyset Paging: Continue After a Date and ID Cursor

July 21, 2010
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Index, SQL Performance, SQL Server

Keyset paging continues after a saved ordering key instead of counting past an offset. A date and unique ID together keep equal-date rows in the sequence. A guarded disposable fixture makes the boundary conditions explicit.

Read More
A figure with a metal detector digging at the first spot near the dunes, a vast unexplored beach beyond.

Row Goals: Why TOP and EXISTS Change the Plan

July 14, 2010
Pinal Dave
SQL Performance
Execution Plan, Query Hint, SQL Performance, SQL Server, SQL Top

Inspect row goals from TOP and EXISTS, read EstimateRowsWithoutRowGoal, and compare a targeted optimizer hint using actual plans.

Read More
A small sailboat crossing a bay, its curved wake showing how far the wind pushed it off a straight course.

Estimated and Actual Execution Plans

May 26, 2010
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server Management Studio, SQL Statistics

Estimated and actual execution plans answer different questions; compare compiled choices with runtime rows, warnings, and resource use.

Read More
A travel power adaptor on a workbench with an old round-pin plug on one face and a modern flat-pin socket on the other.

What Is Compatibility Level in SQL Server?

May 17, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Performance, SQL Server

Compatibility level in SQL Server is a per-database setting, and upgrading the server does not change it. Why a restored database keeps the old level, what the setting really controls, and how to raise it without breaking a report.

Read More
Loose wooden dowels and tied bundles rest on a slate tray beside four bundles inside an open wooden crate.

Aggregate Before the Join: Shrinking Rows Early With GROUP BY

May 4, 2010
Pinal Dave
SQL Performance
SQL Group By, SQL Joins, SQL Performance

Aggregate before the join only when the grouping preserves the required customer result. This private lab checks NULLs, missing matches, duplicate dimensions, complete outputs, actual plans, and reads.

Read More
Fingers matching a red drop earring with its twin from a dish of mixed single earrings

Correlated Columns and Multi-Column Statistics in SQL Server

April 12, 2010
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Statistics

Investigate multi-column statistics with correlated city and state values, density vectors, and plans before expecting better estimates.

Read More
A single occupied phone box with one person's coat visible and a queue rail outside it

What Is Locking and Blocking in SQL Server?

April 6, 2010
Pinal Dave
SQL Performance
Best Practices, Database, SQL Performance, SQL Server

Locking and blocking are not the same thing, and the difference is the whole subject. I blocked a session on purpose and read it from the DMVs. Why short blocking is healthy, and why NOLOCK fixes nothing.

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

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