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
A wooden seesaw tipping as one more stone is added from a red bucket.

The Tipping Point: Why SQL Server Skips Your Nonclustered Index

June 5, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

Find the tipping point where key lookups cost more than a scan, then compare covering and filtered indexes with measured reads.

Read More
Forwarded Records Impact Count and Pages.

SQL SERVER – What is Forwarded Records and How to Fix Them?

March 8, 2018
Pinal Dave
SQL Tips and Tricks
Clustered Index, SQL Heap, SQL Index, SQL Scripts, SQL Server

Forwarded Records in heap tables still puzzle many SQL Server users, years after I first wrote about them. Here is what they are and how to fix them.

Read More
Gouache painting of a crowded shelf of tiles and a spacious table with tiles in neat rows and a vermilion tray

Sort in TempDB for Faster Index Rebuilds: When It Helps

February 20, 2018
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server, SQL TempDB

To sort in tempdb during an index rebuild, add WITH (SORT_IN_TEMPDB = ON) to ALTER INDEX. This post tests the option and shows that the user database log stays the same size, because only the sort workspace moves. It also explains when the option helps, how much tempdb space it needs, and when to leave it off.

Read More
Different mechanical gear types surround one table-like central hub

How to List All the Nonclustered Indexes of Your Table? – Interview Question of the Week #155

January 7, 2018
Pinal Dave
SQL Interview Questions and Answers
Clustered Index, ColumnStore Index, SQL Index, SQL Scripts, SQL Server

How do you list all the clustered and nonclustered indexes of your table, including columnstore? Here is the script I use in my performance health checks.

Read More
Different column structures are cataloged in a single orderly stone rack

How to List All ColumnStore Indexes with Table Name in SQL Server? – Interview Question of the Week #153

December 24, 2017
Pinal Dave
SQL Interview Questions and Answers
Clustered Index, ColumnStore Index, SQL DMV, SQL Index, SQL Scripts, SQL Server

Question: How to List All ColumnStore Indexes with Table Name in SQL Server? As ColumnStore Indexes are getting more and more popular.

Read More
Title card: CPerIndexMetaQS::ErrorAbort - Index Corruption

SQL SERVER – Too many dumps generated. CPerIndexMetaQS::ErrorAbort – Index Corruption

December 19, 2017
Pinal Dave
SQL Tips and Tricks
Database Corruption, SQL Index, SQL Scripts, SQL Server, SQL Server DBCC

A reader had too many dumps with CPerIndexMetaQS::ErrorAbort. Here is how we traced them to index corruption and the steps we took to fix it.

Read More
A thicker ledger card has moved to a second shelf, with a forwarding string left at its original slot

What are Forwarded Records in SQL Server? – Interview Question of the Week #145

October 22, 2017
Pinal Dave
SQL Interview Questions and Answers
Clustered Index, SQL DMV, SQL Index, SQL Scripts, SQL Server

What are forwarded records in SQL Server? It is an old concept, yet few new DBAs know it. Here is a short answer about heap rows that moved to a new page.

Read More
Previous 1 … 18 19 20 21 22 23 24 … 62 Next
  • Books
  • Testimonials
  • Privacy Policy

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