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 crowd of firefighters fills every page of Pat's notepad faster than Pat can copy them into the order book, leaving Quinn nowhere to write. In the last panel Kit and Ace haul in a notepad as tall as a door and Casey waves it off: "It fills too, five minutes later. The book is the slow part."

LOGBUFFER Wait Stats: When the Log Buffer Fills

February 18, 2011
Pinal Dave
SQL Performance
SQL DMV, SQL Log, SQL Transactions, SQL Wait Stats

LOGBUFFER wait stats mean a task is waiting for free space in the log buffer before it can write a log record. On Night 18 at the Clipboard Diner, Pat’s notepad fills up faster than Pat can copy it into the order book. Then two queries show whether your log can keep up, and the fixes in order.

Read More
Plates stall at the pass while Pat writes six one-coffee tickets with a slow, blotting fountain pen. In the last panel Pat has a ballpoint, the truckers hold up one shared ticket, and the limp fries stand back up at attention: "A faster pen, and one ticket for the whole counter."

WRITELOG Wait Stats: Transaction Log Flush Waits

February 17, 2011
Pinal Dave
SQL Performance
SQL DMV, SQL Log, SQL Transactions, SQL Wait Stats

WRITELOG wait stats measure the time a commit waits for its log records to reach the disk. On Night 17 at the Clipboard Diner, Pat’s pen slows down and plates pile up at the pass. Then two queries show your log write latency, and a short script shows why many tiny commits hurt.

Read More
A garden hose made of many short pieces joined by brass couplings lies coiled beside one smooth hose on a shed wall.

Monitoring Log Growth and VLF Counts

August 29, 2010
Pinal Dave
SQL Tips and Tricks
DBA, SQL Log, Transaction Log, VLF

Monitor VLF counts and transaction log growth with SQL Server DMVs, then choose file growth settings that keep recovery and maintenance predictable.

Read More
A barge unloading grain sacks at a quay, with a weighing scale and sorting table set before the storehouse.

Loading Large Files Fast With BULK INSERT

March 14, 2010
Pinal Dave
SQL Tips and Tricks
CSV, File format, SQL Log, SQL Server

BULK INSERT loads large SQL Server files through a tested format, accessible path, staging table, measured batches, and final validation.

Read More
A dump truck tipping a whole load of gravel onto a driveway at once

Minimal Logging for Bulk Loads

February 17, 2010
Pinal Dave
SQL Tips and Tricks
CSV, SQL Backup and Restore, SQL Log, SQL Server, Transaction Log

Minimal logging for Bulk Loads depends on recovery model, table shape, and locking; learn the prerequisites, tradeoffs, and how to verify a load.

Read More
A seismograph drum with a calm ink line and one sharp spike, a fingertip pausing beside the spike

Reading the Error Log With T-SQL

December 1, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Error Messages, SQL Log, SQL Scripts

Reading the error log with T-SQL helps you search current and archived SQL Server messages, then set a useful log cycle schedule.

Read More
A pond covered in lily pads with one red koi showing in a gap

Stopping Backup Success Messages From Flooding the Error Log

June 25, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Log, TraceFlags

Reduce backup success messages in the SQL Server error log with trace flag 3226, verify msdb history, and cycle logs safely.

Read More
Previous 1 … 9 10 11 12 13 Next
  • Books
  • Testimonials
  • Privacy Policy

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