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 single incense coil burns at one tip while its long unburned continuation remains intact

Why a Second Log File Does Not Make Anything Faster

March 20, 2012
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL DMV, Transaction Log, VLF

Adding a second log file feels like a speed fix, but it is only a spare room. Here is how to watch it work and how to retire it.

Read More
Two hourglasses on a desk by a window, one tied with a red ribbon, beside a loose coil of rope.

Accelerated Database Recovery Quiz: Why Did the Rollback Finish at Once?

January 24, 2012
Pinal Dave
SQL Puzzle
SQL Performance, SQL Server 2019, SQL Transactions, Transaction Log

This Accelerated Database Recovery Quiz asks how long a rollback takes when ADR is on. The answer is almost no time, and a tested script measures the same rollback with ADR off and on. It also shows what ADR costs.

Read More
A slate board on an easel, partly wiped clean, with a sponge resting on the ledge.

CHECKPOINT Behavior Quiz: What Lets the Log Be Reused?

January 17, 2012
Pinal Dave
SQL Puzzle
SQL Backup and Restore, SQL Log, SQL Server Configuration, Transaction Log

This CHECKPOINT Behavior Quiz asks what lets SQL Server reuse transaction log space under the SIMPLE and FULL recovery models. The answers differ, and a tested script shows both. It also shows how one open transaction keeps the log from being reused.

Read More
A line of footprints in fresh snow crossing a courtyard to a closed door, with no one in sight.

Reading the Transaction Log With fn_dblog

September 29, 2011
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Backup and Restore, SQL Server, Transaction Log, Undocumented SQL

fn_dblog can expose transaction-log records during a narrow investigation, but retention and missing user context make it a last resort.

Read More
SQL SERVER - A Funny Cartoon on Index

Index Write Cost: What Each New Index Adds to an INSERT

January 17, 2011
Pinal Dave
SQL Performance
SQL Index, SQL Performance, Transaction Log

Index write cost is the part of the create-an-index advice that the cartoon leaves out. This test inserts the same 20,000 rows with no extra index, one and three, and measures the log written each time. It also shows what the index saved on a lookup, so you can weigh both sides.

Read More
A kitchen pot rack tilting because every heavy pan hangs from one end, the other end's hooks empty.

Data, Log and tempdb File Placement: Checking Where Everything Lives

September 2, 2010
Pinal Dave
SQL Tips and Tricks
DBA, Disk, SQL Data Storage, SQL TempDB, Transaction Log

Check file placement for data, logs, and tempdb, inspect volume free space, and plan a Windows file move with a verified recovery path.

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
Previous 1 … 9 10 11 12 13 14 15 Next
  • Books
  • Testimonials
  • Privacy Policy

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