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
SQL SERVER - Difference Between Index Rebuild and Index Reorganize Explained with T-SQL Script

SQL SERVER – Difference Between Index Rebuild and Index Reorganize Explained with T-SQL Script

December 22, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

Index Rebuild drops and recreates the index, while Index Reorganize reorders the leaf nodes. Rebuild above 40% fragmentation, reorganize between 10% and 40%.

Read More
Indexes tab in SQL Server object explorer.

SQL SERVER – Enabling Clustered and Non-Clustered Indexes – Interesting Fact

December 21, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

When enabling clustered and non-clustered indexes, order matters: enabling the clustered index does not enable the others, but rebuilding all indexes does.

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
A wooden cribbage board on a cafe table, a red peg marking where play stopped

Keyset Pagination: Next and Previous Pages Without OFFSET

November 5, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Order By, SQL Paging, SQL Server

Build keyset pagination with a matching index, unique tie breaker, next and previous queries, and a fair deep-page comparison with OFFSET.

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
A dusty snow shovel hanging in a summer garden shed beside well-used trowels, early autumn leaves outside.

Finding Unused Indexes

November 2, 2007
Pinal Dave
SQL Performance
Best Practices, DBA, SQL DMV, SQL Index, SQL Server

Finding unused indexes requires a measured window, SQL Server usage counters, and a safe removal test before an index earns a drop decision.

Read More
Database Properties.

SQL SERVER – 2005 – Forced Parameterization and Simple Parameterization – T-SQL and SSMS

October 25, 2007
Pinal Dave
SQL Performance
SQL Scripts, SQL Server Management Studio

Forced parameterization can cut query compilations for busy databases. I explain FORCED vs SIMPLE parameterization and how to set each with T-SQL and SSMS.

Read More
Previous 1 … 105 106 107 108 109 110 111 … 119 Next
  • Books
  • Testimonials
  • Privacy Policy

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