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
Sort_in_tempdb for Rebuilding Indexes?

When to Use sort_in_tempdb for Rebuilding Indexes? – Interview Question of the Week #207

January 6, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Performance, SQL Scripts, SQL Server, SQL TempDB

When should you use sort_in_tempdb for rebuilding indexes? A DBA asked me in a Health Check, and the simple answer is when TempDB sits on fast, separate drives.

Read More
SQL SERVER - Unable to Uninstall - Index was Outside the Bounds of the Array

SQL SERVER – Unable to Uninstall – Index was Outside the Bounds of the Array

December 5, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Index, SQL Server, Starting SQL

My machine crashed mid-install, and uninstalling SQL Server 2017 then failed with: Index was outside the bounds of the array. This is how I cleaned it up.

Read More
SQL SERVER - Optimize Key Lookup by Creating Index with Include Columns

SQL SERVER – Optimize Key Lookup by Creating Index with Include Columns

November 17, 2018
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Index, SQL Operator, SQL Scripts, SQL Server

A query slowed to over 10 minutes because of a big key lookup. Here is how I optimize key lookup operations by creating an index with include columns.

Read More
Does Sort Order Index Column Matters Performance?

Does Sort Order in Index Column Matters for Performance? – Interview Question of the Week #199

November 11, 2018
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Index, SQL Performance, SQL Server, SQL Statistics

Does the sort order in an index column matter for performance? Yes, in some specific scenarios, and here is an example from a recent Health Check question.

Read More
SQL Server Index Size Tool Window.

SQL SERVER – The Older Way to Find Size of Index Using Deprecated sysindexes

November 9, 2018
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Index, SQL Scripts, SQL Server, SQL System Table

Reader Wilfred van Dijk pointed out that the deprecated sysindexes finds index size more easily than the new DMVs. So here is that older way to find index size.

Read More
Table of indexes.

How to Find Size of the Index for Tables? – Interview Question of the Week #198

November 4, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Index, SQL Scripts, SQL Server

How do you find the size of the index for tables? A client asked me during a Health Check, and this script lists schema, table, index and size in KB and MB.

Read More
Execution Plan Cost Breakdown.

SQL SERVER – Parallelism for Heap Scan

October 29, 2018
Pinal Dave
SQL Performance
Clustered Index, Parallel, SQL CPU, SQL Heap, SQL Index, SQL Scripts, SQL Server

Two DBAs asked me if their table needed a clustered index. Our conversation during a Health Check turned into a lesson on parallelism for Heap Scan.

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

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