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 laden plum tree with a tiny bowl at its foot and a large red crate beside it.

Multi-Statement Table-Valued Functions and Interleaved Execution

November 21, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Function, SQL Performance, SQL Server 2017

See how interleaved execution corrects estimates for multi-statement table-valued functions and when an inline rewrite wins.

Read More
Two shoe racks with the same shoes, red pairs grouped on one and scattered on the other.

Multi-Column Index Key Order: Which Column Goes First

November 13, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

Test index key order with equality, range, and OR predicates, then use seek predicates and logical reads to choose the lead column.

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
A coil of rope on a dock, half of it wound onto a drum and half still loose on the boards.

SQL Authroity News – Optimizing Lazy Spool – PASS Blog

October 26, 2018
Pinal Dave
SQL Performance
SQL Index, SQL PASS, SQL Scripts, SQL Server

A sneak preview of my SQLPASS sessions: I wrote about optimizing Lazy Spool on the PASS blog, and here are the first two paragraphs with a link to the rest.

Read More
Title card: DBCC CHECKDB Waiting on PREEMPTIVE_OS_DEVICEIOCONTROL

SQL SERVER – DBCC CHECKDB Waiting for PREEMPTIVE_OS_DEVICEIOCONTROL

October 22, 2018
Pinal Dave
SQL Performance
SQL Error Messages, SQL Server, SQL Server DBCC, SQL Transactions, SQL Wait Stats

A weekly DBCC CHECKDB job was stopped by a terminator job, but its SPID stayed, waiting on PREEMPTIVE_OS_DEVICEIOCONTROL. Here are ways to handle that situation.

Read More
A hand washing with a thin worn sliver of soap while a new red bar dries on the windowsill.

Asynchronous Statistics Updates: When They Help and When They Hurt

September 27, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Statistics

Evaluate asynchronous statistics updates against compile latency, data-change timing, and low-priority metadata locking in SQL Server.

Read More
Two identical dollhouses side by side, each with lights on in different rooms.

Intelligent Query Processing: Checking What Is On per Database

September 25, 2018
Pinal Dave
SQL Performance
Compatibility Level, SQL Performance, SQL Server, SQL Server 2019

Check intelligent query processing by database compatibility level, scoped switches, and actual plan evidence before comparing servers.

Read More
Previous 1 … 42 43 44 45 46 47 48 … 120 Next
  • Books
  • Testimonials
  • Privacy Policy

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