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
Majoring in the Minors

Majoring in the Minors in SQL Server Performance Tuning

June 21, 2024
Pinal Dave
SQL Performance
Clustered Index, ColumnStore Index, Execution Plan, SQL Index

We’ll explore how to avoid this common pitfall & Focus the areas that matter for performance improvements. Avoid majoring in the minors. 

Read More
A half-full mailbag hanging open on a frame, a hand adding envelopes, full bags tied shut beside it.

The Columnstore Delta Store: Small Loads and Open Rowgroups

November 3, 2023
Pinal Dave
SQL Performance
ColumnStore Index, SQL Index, SQL Performance, SQL Server

Inspect the columnstore delta store, distinguish rowgroup states, and choose load sizes or targeted compression after small loads.

Read More
A wardrobe of shirts hung in color order, a hand reaching into one section, a few shirts out of place

Ordered Clustered Columnstore Index for Better Rowgroup Elimination

October 27, 2023
Pinal Dave
SQL Performance
ColumnStore Index, Data Warehousing, SQL Server, SQL Server 2022

Build an ordered clustered columnstore on SaleDate, compare segment ranges and skipped segments, and review how later loads affect order.

Read More
Detachable collars with a single chosen stud fitted to each collar

One Default Row per Customer With a Filtered Unique Index

February 1, 2022
Pinal Dave
SQL Performance
Clustered Index, ColumnStore Index, SQL Index

Two browser tabs, two default addresses. Here is how a filtered unique index keeps the rule in the database and how to switch defaults safely.

Read More
Hands tying kindling sticks into bundles with twine beside a handcart stacked with finished bundles

Aggregate Pushdown: Letting the Columnstore Scan Do the Summing

September 13, 2021
Pinal Dave
SQL Performance
ColumnStore Index, Execution Plan, SQL Performance, SQL Server

Verify aggregate pushdown in columnstore scans, inspect locally aggregated rows, and compare numeric aggregates with expressions.

Read More
Gouache painting of a tray of mixed buttons beside four glass tubes of stacked buttons, the first tube filled with deep red buttons

Rowstore to Columnstore: Replace the Clustered Index

May 28, 2021
Pinal Dave
SQL Performance
ColumnStore Index, SQL Column, SQL Index, SQL Scripts

Rowstore to columnstore is a change of the clustered index, and one command works in only one case. This post builds two tables of 600,000 rows, shows the error from DROP_EXISTING on a primary key, and converts each table the working way. It compares the sizes before and after.

Read More
Gouache painting of a wooden flower press with a vermilion screw knob not yet tightened

COMPRESSION_DELAY Option for Columnstore Indexes: Test It

January 11, 2021
Pinal Dave
SQL Performance
ColumnStore Index, SQL Index, SQL Scripts, SQL Server

The COMPRESSION_DELAY option keeps a closed delta rowgroup uncompressed for a number of minutes, so rows that change soon after they arrive are cheaper to modify. This post loads two demo tables, updates fresh rows in each, and shows the deleted rows that early compression leaves behind.

Read More
1 2 3 4 … 7 Next
  • Books
  • Testimonials
  • Privacy Policy

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