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
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
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
SQL SERVER - Comic Slow Query - SQL Joke

Slow Query Cartoon: Filtered Indexes and Functions, Tested

October 13, 2009
Pinal Dave
SQL Performance
SQL Humor, SQL Index, SQL Performance, SQLAuthority Author Visit

This slow query cartoon from Community TechDays in Ahmedabad answers a slow query with questions, not an automatic index. The tests here measure a full index against a filtered index, show why a function on a column forces a scan, and show a parameter case where the filtered index is skipped.

Read More
Previous 1 … 46 47 48 49 50 51 52 … 54 Next
  • Books
  • Testimonials
  • Privacy Policy

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