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
Gouache painting of a cabinet of drawers each holding a bolt and washers, one bolt in vermilion

Index Key Columns and Included Columns in SQL Server

February 21, 2019
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Scripts

Index key columns and included columns show what each index really stores. This post builds one query that lists them for every index, then a second query that finds indexes with the same keys or a shared leading key. It ends with the rules for merging them safely.

Read More
Overlapping spool collections are arranged in one compartmented case while a separate order remains apart

What is Consolidation of Index? – Interview Question of the Week #212

February 10, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Performance, SQL Server

What is consolidation of index? When a table has overlapping indexes, like one on Col1 and one on Col1, Col2, here is how I think about combining them.

Read More
Overlapping braces are reviewed beside selected fittings and preserved original pieces.

SQL SERVER – Say No To Database Engine Tuning Advisor

February 5, 2019
Pinal Dave
SQL Performance
SQL Index, SQL Server, SQL Statistics

I review Database Engine Tuning Advisor recommendations against the workload before applying them. That was the point behind my original opinion.

Read More
Tightly rolled fleeces in a row on a barn floor, beside an open hamper of loose wool waiting to be rolled.

Columnstore Bulk Load: Why Batch Size Decides Where Rows Land

January 22, 2019
Pinal Dave
SQL Performance
ColumnStore Index, Data Warehousing, SQL Index, SQL Server

Review columnstore bulk load batch sizes, inspect delta and compressed rowgroups, and measure the cost of forcing small groups to compress.

Read More
A hand turning a heap of inside-out children's clothes right side out one by one to find a red jumper.

Implicit Conversions That Quietly Turn Seeks Into Scans

January 18, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Datatype, SQL Index, SQL Performance

Find implicit conversions in SQL Server plans, compare parameter and column types, and fix type contracts without losing Unicode data.

Read More
Two gaskets beside a pipe flange being checked for fit and thickness

Index Size Estimate: Sizing an Index Before You Create It

January 17, 2019
Pinal Dave
SQL Performance
Clustered Index, ColumnStore Index, SQL Index

Before you build an index, estimate its size and say what you assumed. Then check the guess against real pages on a copy.

Read More
Fish are sorted on a quay table separate from a moored fishing boat

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
Previous 1 … 15 16 17 18 19 20 21 … 62 Next
  • Books
  • Testimonials
  • Privacy Policy

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