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
Feb24

Log File Growth and Instant File Initialization: The 64 MB Rule

Pinal Dave
SQL Tips and Tricks
Disk, SQL Server 2022, SQL Server Configuration, Transaction Log
No Comments

The 64 MB rule says log file growth can skip zeroing when instant file initialization is on, but only up to 64 MB. Two trace flags make the SQL Server error log show a 64 MB growth skipping the zeroing and a 65 MB growth zeroing in full. The last section says what to change.

Continue Reading
Feb10

statement_start_offset: Showing the Exact Statement Running Now

Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server
No Comments

A stored procedure runs for forty minutes and you need the busy line. Here is how to pull it out of the batch text without the usual off-by-two mistakes.

Continue Reading
Feb2

SQL Server: How to Display Row Numbers in Query Editor for Efficient Query Editing

Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio
1 Comment

Let us learn how to Display Row Numbers in Query Editor for Efficient Query Editing. Comprehensive Database Performance Health Check

Continue Reading
Feb1

Performance Tuning Mistakes in SQL Server: 11 Habits to Fix

Pinal Dave
SQL Performance
Best Practices, SQL Backup and Restore, SQL Cursor, SQL Index, SQL Statistics
3 Comments

Performance tuning mistakes are habits, and each one has a check. Eleven sit in one table, and five are measured on a demo database: a missing index, stale statistics, a row by row loop, a giant delete and a type that cannot be indexed.

Continue Reading
Jan25

Updatable Ledger Tables: Proving No One Quietly Changed a Row

Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server
No Comments

Update a row in a ledger table and the old version stays. Then verify the history with a digest, and break the digest to see what failure looks like.

Continue Reading
Jan9

Cold Cache vs Warm Cache: Testing Query Speed Fairly

Pinal Dave
SQL Performance
SQL Cache, SQL Memory, SQL Performance, SQL Server, Testing
No Comments

Compare cold cache and warm cache query tests using isolated buffer clearing, logical and physical reads, and controlled measurements.

Continue Reading
Dec13

Turning Per-Second Counters Into Real Rates From DMVs

Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server
No Comments

That per-second counter on your dashboard is probably a running total. Here is how to turn it into a real rate with two samples.

Continue Reading
Previous 1 … 43 44 45 46 47 48 49 … 846 Next

SQL Server slow? Let's fix it together in about four hours.

Pinal Dave

In my Comprehensive Database Performance Health Check, you share your screen, I guide you, and we fix your biggest performance troublemakers. No passwords. No remote access.

You keep every script, and the know-how to fix it yourself next time.

Want your whole team to learn it?

My Practical Workshop has no PowerPoint, just live demos. My AI Enablement Workshop shows your team where AI saves hours, and where it quietly costs them.

Over 400 customers have worked with me this way, and not one shared a password. See all consulting options.


Who We Are

Pinal Dave is an SQL Server Performance Tuning Expert and independent consultant with over 24 years of hands-on experience. He holds a Masters of Science degree and numerous database certifications.

Pinal has authored 19 books and 125 Pluralsight courses. To freely share his knowledge and help others build their expertise, Pinal has also written more than 5,800 database tech articles on his blog at https://blog.sqlauthority.com.

Pinal is also a CrossFit Level 1 Trainer (CF-L1) and CrossFit Level 2 Trainer (CF-L2).


Nupur Dave is a social media enthusiast and an independent consultant. She primarily focuses on the database domain, helping clients build short and long-term multi-channel campaigns to drive leads for their sales pipeline.


Shaivi Pinalkumar Dave is a book author and a women’s artistic gymnast.

  • Books
  • Testimonials
  • Privacy Policy

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