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 round-bottomed wooden wobble toy with a red base rocking back upright on a table.

Automatic Plan Correction: Reading SQL Server’s Tuning Advice

March 10, 2018
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Performance, SQL Server 2017

Read automatic plan correction advice, compare regressed and recommended plans, and verify that forcing the last good plan held.

Read More
A stack of bamboo steamer baskets with one tier lifted out and steaming beside it.

Partition Elimination: Proving a Query Reads Only What It Needs

November 24, 2017
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, Table Partitioning

Prove partition elimination with the actual plan, test date predicates, and use $PARTITION to check which slice SQL Server targets.

Read More
Temporary sawhorse staging surface in front of permanent workshop shelves

What is WorkTable in SQL Server? – Interview Question of the Week #146

November 5, 2017
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Scripts, SQL Server, SQL TempDB

What is a WorkTable in SQL Server? Run a simple CROSS JOIN with STATISTICS IO on and you will see one. Here is what it is and why SQL Server creates it.

Read More
Gouache painting of a leaning stack of paper cups beside a tray holding one vermilion mug

Optimize for Ad Hoc Workloads: When to Turn It On

October 20, 2017
Pinal Dave
SQL Performance
Ad Hoc Query, Execution Plan, SQL Cache, SQL Memory

Optimize for Ad Hoc Workloads shrinks the memory that one-time queries take in the plan cache. This post builds a demo of single-use plans, measures their share of the cache, and shows how to read the result. It also covers the cost of the setting and why parameterized queries are the better fix.

Read More
One empty template compartment sits above its removed guides, while neighboring compartments and finished products remain intact.

SQL SERVER – How to Clear Plan Cache with Database Scoped Configuration?

August 12, 2017
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Cache, SQL Scripts, SQL Server, SQL Server Configuration

I can Clear Plan Cache for the current database through database-scoped configuration. I verify the context before considering eviction.

Read More
Two wood pieces joined using a physical joinery jig

What is the Difference Between Physical and Logical Operation in SQL Server Execution Plan? – Interview Question of the Week #122

May 14, 2017
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Joins, SQL Scripts, SQL Server

Question: What is the Difference Between Physical and Logical Operation in SQL Server Execution Plan?

Read More
An open-sided sorting machine shows both its inner mechanism and the tokens it returns

How to Find How Many Rows Each Query Returned Along with Execution Plan? – Interview Question of the Week #115

March 19, 2017
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL DMV, SQL Scripts, SQL Server

Want to see How Many Rows Each Query Returned along with its execution plan? Here is a query for it, and why reads and worker time matter more.

Read More
Previous 1 … 20 21 22 23 24 25 26 … 35 Next
  • Books
  • Testimonials
  • Privacy Policy

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