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
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
Graduated plates stand in two racks in opposite size orders

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
Stacks of blank index cards are weighed on a brass balance

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
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
Books are neatly arranged while a separate record book remains unchanged

Do Index Reorganization Update Statistics? – Interview Question of the Week #196

October 21, 2018
Pinal Dave
SQL Interview Questions and Answers
Maintenance Plan, SQL Index, SQL Performance, SQL Scripts, SQL Server, SQL Statistics

Question: Do Index Reorganization Update Statistics?

Answer: No. Index Reorganization does not update Statistics of your database.

Read More
An ant trail crosses a picnic cloth toward the food

How to Find Queries Using an Index From SQL Server Plan Cache? – Interview Question of the Week #195

October 14, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Cache, SQL DMV, SQL Index, SQL Scripts, SQL Server

Before I dropped an unused index, my client’s CEO wanted proof. Here is how to find queries using an index from the SQL Server plan cache.

Read More
Previous 1 … 17 18 19 20 21 22 23 … 64 Next
  • Books
  • Testimonials
  • Privacy Policy

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