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 small red boat ferrying a few crates at a time from a big heap on one quay to a pile across the water

Deleting Millions of Rows in Batches Without Filling the Log

August 9, 2016
Pinal Dave
SQL Performance
Batch, SQL Delete, SQL Server, Transaction Log

Plan deleting millions of rows with bounded commits, an indexed cutoff, log reuse checks, and a clear choice of retention method.

Read More
A grounded blue kite with a new cord and an old detached cord

How to Attach MDF Data File Without LDF Log File – Interview Question of the Week #078

July 3, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server, SQL Server Management Studio, Transaction Log

Lost or corrupted your log file? Learn how to attach an MDF data file without the LDF log file, using T-SQL or SQL Server Management Studio.

Read More
A hand scooping a red goldfish from a cracked fishbowl into a jug of clean water with a small net.

Tail-Log Backup: Saving the Last Transactions Before a Restore

June 28, 2016
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Server, Transaction Log

Take a tail-log backup before an approved restore, understand NORECOVERY and damaged-database options, and rehearse the full recovery chain.

Read More
SQL SERVER - Huge Transaction Log in Snapshot Replication!

SQL SERVER – Huge Transaction Log in Snapshot Replication!

April 7, 2016
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, Transaction Log

The log kept growing and sys.databases showed REPLICATION as the reuse wait. Here is how I found why the transaction log in snapshot replication was not reused.

Read More
SQL SERVER – Huge Transaction Log (LDF) for Database in Availability Group

SQL SERVER – Huge Transaction Log (LDF) for Database in Availability Group

February 12, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, Transaction Log

A reader’s database in an AlwaysOn availability group grew a Huge Transaction Log of 230 GB with error 9002, AVAILABILITY_REPLICA. Here is what to check.

Read More
SQL SERVER - Basic architecture of Transaction Logs

SQL SERVER – Basic architecture of Transaction Logs

September 28, 2015
Pinal Dave
SQL Tips and Tricks
Transaction Log

The SQL Server transaction log works like a string of log records, each with an LSN. My simple notes on the basic architecture of transaction logs.

Read More
Truncate Log File

SQL SERVER – Understanding the Basics of Write Ahead Logging (WAL) Protocol

August 12, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server, Transaction Log

Doing the basics right matters. Here is a simple, story-driven explanation of the Write Ahead Logging (WAL) protocol that keeps SQL Server transactions safe.

Read More
Previous 1 … 5 6 7 8 9 10 11 12 Next
  • Books
  • Testimonials
  • Privacy Policy

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