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
Illustrated cover: Instant Rollback

SQL SERVER – Getting Started with Accelerated Database Recovery – Instant Rollback

May 13, 2019
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Server 2019, SQL Transactions, Transaction Log

Killing a long transaction used to mean a rollback that took forever. SQL Server 2019 fixes that with Accelerated Database Recovery and its instant rollback.

Read More
A wooden log flume on a hillside with logs queued at the top and a red log stuck midway.

WRITELOG Waits: Finding What Slows Transaction Log Writes

February 4, 2019
Pinal Dave
SQL Performance
SQL Performance, SQL Server, SQL Wait Stats, Transaction Log

Diagnose WRITELOG waits with log-file latency, commit patterns, and measured choices for batching, storage, and durability.

Read More
A handcart carries a millstone from a crowded workshop to a roomier adjacent space

How to Move Log File or MDF File in SQL Server? – Interview Question of the Week #208

January 13, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Performance, SQL Scripts, SQL Server, Transaction Log

Question: How to Move Log File or MDF File in SQL Server? Here are the steps I use to move a busy LDF or MDF file to a quieter drive.

Read More
Cannot Shrink Log File.

SQL SERVER – Cannot Shrink Log File 2 (SQLAuthorityDB_log) Because the Logical Log File Located at the End of the File is in Use

January 2, 2019
Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Scripts, SQL Server, Transaction Log

From my shrink series: Cannot shrink log file because the logical log file located at the end of the file is in use. Here is what it means and what to do.

Read More
Title card: Logical Log Files Cannot Be Fewer Than 2

SQL SERVER – Cannot Shrink Log File Because Total Number of Logical Log Files

December 19, 2018
Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Error Messages, SQL Scripts, SQL Server, Transaction Log

Cannot shrink log file because the total number of logical log files cannot be fewer than 2. Here is what the message means.

Read More
Diagram of servers and database clusters.

SQL SERVER – How to Fix log_reuse_wait_desc – AVAILABILITY_REPLICA?

September 18, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Replication, SQL Scripts, SQL Server, Transaction Log

A client’s database always showed AVAILABILITY_REPLICA in log_reuse_wait_desc of sys.databases. After quick research, here is what it means and how to fix it.

Read More
Rising bread dough pressed flat against the shelf above it in a cramped cupboard, a red tea towel on the door

SQL SERVER – Rebuild Index Job Failed – Error: 9002 – The Transaction Log for Database ‘PinalDB’ is Full Due to ‘LOG_BACKUP’

September 10, 2018
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Index, SQL Server, Transaction Log

A rebuild index job kept failing with error 9002: The transaction log for database ‘PinalDB’ is full due to ‘LOG_BACKUP’. Here is how I found the real cause.

Read More
Previous 1 2 3 4 5 6 7 … 14 Next
  • Books
  • Testimonials
  • Privacy Policy

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