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 conveyor belt of identical parcels beside a single hand trolley carrying one parcel

What Is a Cursor in SQL Server, and When to Avoid One

July 31, 2012
Pinal Dave
SQL Performance
Best Practices, SQL Performance, SQL Scripts, SQL Server

A cursor in SQL Server took 260 milliseconds where one SELECT took 4. Why the gap exists, how to turn a loop back into a set, and the three cases where a cursor really is the right answer.

Read More
An open wooden box holds blank recipe cards beside a separate stack on a sunlit table.

What Is In the Plan Cache and How to Look

November 19, 2011
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

Inspect the SQL Server plan cache, identify single-use plans and memory use, and understand what optimize for ad hoc workloads changes.

Read More
A folded route card on a desk showing three numbered stages joined by arrows

How to Read a SQL Server Execution Plan

October 3, 2011
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

An execution plan is SQL Server showing its working. Read it inside out, learn the six operators you actually meet, ignore the cost percentages, and compare estimated rows with actual rows instead.

Read More
Several small plain brass locks beside one larger plain lock on a warm wooden tabletop.

What Lock Escalation Is and How to Stop It

September 1, 2011
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

Understand lock escalation, confirm it with evidence, and reduce its impact through smaller transactions, better access paths, and modern locking.

Read More
A travel power adaptor on a workbench with an old round-pin plug on one face and a modern flat-pin socket on the other.

What Is Compatibility Level in SQL Server?

May 17, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Performance, SQL Server

Compatibility level in SQL Server is a per-database setting, and upgrading the server does not change it. Why a restored database keeps the old level, what the setting really controls, and how to raise it without breaking a report.

Read More
A single occupied phone box with one person's coat visible and a queue rail outside it

What Is Locking and Blocking in SQL Server?

April 6, 2010
Pinal Dave
SQL Performance
Best Practices, Database, SQL Performance, SQL Server

Locking and blocking are not the same thing, and the difference is the whole subject. I blocked a session on purpose and read it from the DMVs. Why short blocking is healthy, and why NOLOCK fixes nothing.

Read More
A library card catalogue drawer pulled open beside a long shelf of books

What Is an Index in SQL Server?

April 28, 2008
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

An index in SQL Server took one query from 33,517 reads to 66 on the same table. What clustered and nonclustered really mean, why every index is paid for on the way in, and how to find the ones nobody uses.

Read More
Previous 1 … 23 24 25 26 27 Next
  • Books
  • Testimonials
  • Privacy Policy

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