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
An painting shows a branching vine supported by a walnut trellis beside neatly arranged brass clips.

Recursive CTE Performance: Index the Child Lookup

August 25, 2008
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Scripts

Recursive CTE performance depends on finding the next children efficiently. Compare identical rows and actual plans before accepting an index change.

Read More
A small car towing a heavy caravan slowly up a steep country lane

Trigger Overhead: Measuring the Hidden Cost of DML Triggers

July 5, 2008
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Trigger

Measure trigger overhead with controlled inserts, execution plans, and cached trigger statistics before moving slow work into a queue.

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
LEFT OUTER JOIN - WHERE NULL.

SQL SERVER – Converting Subqueries to Joins

April 23, 2008
Pinal Dave
SQL Performance
SQL Joins, SQL Performance, SQL Scripts, SQL Server

Developers often write subqueries where Joins would do, or the other way around. A short note on converting between the two, with links to my earlier examples.

Read More
A damaged clay bowl and its separate fragment sit beside an intact empty bowl

Checking XACT_STATE Before COMMIT or ROLLBACK in a CATCH Block

February 19, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

XACT_STATE separates transaction validity from the decision to retain work. Two isolated examples show a doomed transaction and a committable one, both with deliberate errors. Clean up on the same connection and respect the caller’s transaction ownership.

Read More
A rope swing on an oak branch holding a heavy sack of sand, the rope taut, tested before anyone rides it.

Stress Testing a Query Before Release

December 19, 2007
Pinal Dave
SQL Performance
Parameter Sniffing, SQL Performance, SQL Server, SQL Wait Stats, Testing

Stress testing a query before release reveals concurrency and parameter risks; learn to design realistic SQL Server tests and compare useful metrics.

Read More
Two people at a desk, one pointing a pencil at a circled box in a hand-drawn diagram

Explaining a Query Plan to a Developer

November 3, 2007
Pinal Dave
SQL Performance
Developer, Execution Plan, SQL Performance, SQL Server, SQL Statistics

Explaining a query plan starts with the costly work, checks estimates against actual rows, and turns findings into a clear code decision.

Read More
Previous 1 … 46 47 48 49 50 Next
  • Books
  • Testimonials
  • Privacy Policy

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