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
RID Lookup

SQL SERVER – Heaps, Scans and RID Lookup

January 25, 2020
Pinal Dave
SQL Performance
Clustered Index, Execution Plan, SQL Heap, SQL Index, SQL Scripts, SQL Server

The question was do heaps are very bad and always force a table scan? Let us learn about RID Lookup, Heaps and table scan.

Read More
A tray of flat-head screwdrivers beside a closed wooden box, a hand hovering between them on a workbench.

Why a Filtered Index Is Ignored by Parameterized Queries

January 15, 2020
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Index, SQL Performance

Explain why a filtered index is ignored with parameters, inspect plan warnings, and compare literal filters, RECOMPILE, and coverage fixes.

Read More
Gouache painting of a small blue locomotive on a straight track beside a lamp post with a vermilion lever

Query Plan Join: Why a Query With No Join Shows One

December 14, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Joins, SQL Scripts

A query plan join can appear even when the query has no join, because SQL Server joins a nonclustered index to the table itself. This post reads the plan of a one table query, removes the join with a covering index, and finds the row count where SQL Server stops using lookups.

Read More
A multi-hole planting tool and a single-hole dibber offer two ways to process a row

How to Disable Batch Mode in SQL Server? – Interview Question of the Week #252

November 24, 2019
Pinal Dave
SQL Interview Questions and Answers
ColumnStore Index, SQL Index, SQL Performance, SQL Scripts, SQL Server

My immediate reaction was why would you disable batch mode in SQL Server when it is really is an awesome feature for performance

Read More
Gouache painting of an old stone bridge still open with a new footbridge beside it with a vermilion rail

Create an Index Online in SQL Server: What ONLINE = ON Locks

November 16, 2019
Pinal Dave
SQL Performance
SQL Index, SQL Lock, SQL Scripts, SQL Server

To create an index online in SQL Server, add WITH (ONLINE = ON) to CREATE INDEX, and writers keep working while the index builds. This post compares a plain build with an online build on a three million row table, measures what each one blocks and what the online build costs, and shows where it still waits.

Read More
Three nearly identical rakes on a shed wall and a fourth new red-handled rake by the door.

Missing Index Suggestions: Three Checks Before You Create One

November 12, 2019
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Performance, SQL Server

Review missing index suggestions against existing indexes, key order, and INCLUDE size before adding extra write overhead.

Read More
In a farm apple store, a hand searches a loose bin of apples beside a rack of apples laid in neat rows.

RID Lookups on Heaps vs Key Lookups on Clustered Tables

November 9, 2019
Pinal Dave
SQL Performance
Clustered Index, Execution Plan, SQL Heap, SQL Index, SQL Server

Compare RID lookups on heaps with clustered key lookups, inspect forwarded records, and test covering indexes with actual plans and reads.

Read More
Previous 1 … 11 12 13 14 15 16 17 … 62 Next
  • Books
  • Testimonials
  • Privacy Policy

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