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
Diagram titled One row, one DELETE, five places it still lives. The left panel lists the row alive: a 284 byte log record before the commit, an address at 1 colon 392 colon 0, a checkpoint writing the page, and a backup copying it out. The right panel lists what remains after the delete: the ghost record still 184 bytes, log records, the statistics histogram that names the row, deallocated pages, and every backup.

The Migration of a Row: Tagged, Followed, Found Again

September 21, 2026
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, Developer, SQL Server

I followed the migration of a row through SQL Server 2025, from the first write to the grave. The log gets there before the table. The delete does not erase anything. And when the table is empty and the ghost is gone, the statistics histogram still names the row in full.

Read More
Insert Workload

SQL SERVER – Impact of Recovery Model on Insert Workload Stress Test and Wait Statistics

May 4, 2020
Pinal Dave
SQL Performance
Best Practices, SQL Backup and Restore, SQL Download, SQL Log, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Wait Stats, Testing

Today we will talk about the Tecovery Model on Insert Workload Stress Test and Wait Statistics. I had earlier consulted for during Health Check.

Read More
Insert Workload

SQL SERVER – Wait Statistics Generated by oStress – Insert Workload

May 2, 2020
Pinal Dave
SQL Performance
Best Practices, SQL Download, SQL Log, SQL Scripts, SQL Server, SQL Wait Stats, Testing

It seems my blog post about oStress has got lots of popularity. Recently I got the question about Wait Statistics Generated by oStress Insert Workload.

Read More
SQL SERVER - Increasing Speed of CHECKPOINT and Best Practices

SQL SERVER – Increasing Speed of CHECKPOINT and Best Practices

June 18, 2019
Pinal Dave
SQL Performance
Best Practices, SQL Function, SQL Memory, SQL Scripts, SQL Server

I  received this question as a follow up of my earlier blog post which I wrote about SQL SERVER – Impact of CHECKPOINT and DBCC DROPCLEANBUFFERS on Memory.

Read More
SQL SERVER - Best Practices About SQL Server Service Account and Password Management

SQL SERVER – Best Practices About SQL Server Service Account and Password Management

November 21, 2016
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Password, SQL Server, SQL Server Security, Starting SQL

Should the SQL Server Service Account be a local or domain admin? No. Best practices from a client Q&A on service accounts, permissions and passwords.

Read More
Creating and Running an SQL Server Unit Test - Best Ways to Test SQL Queries

Creating and Running an SQL Server Unit Test – Best Ways to Test SQL Queries

October 18, 2016
Pinal Dave
SQL Tips and Tricks
Best Practices, Devart, SQL Scripts, SQL Server

Testing SQL code matters as much as writing it. I show how to create and run a SQL Server Unit Test with tSQLt, the free open source framework.

Read More
Interview Question of the Week #028 - Few SQL Best Practices

Interview Question of the Week #028 – Few SQL Best Practices

July 19, 2015
Pinal Dave
SQL Interview Questions and Answers
Best Practices

A candidate froze when asked about SQL best practices. Here is my answer list, from knowing your data to testing queries with realistic data volumes.

Read More
1 2 3 4 … 24 Next
  • Books
  • Testimonials
  • Privacy Policy

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