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 magnifying glass highlights a crack in one ceramic cup among intact cups

What Part of the SQLDump Suggest Database Corruption? – Interview Question of the Week #188

August 26, 2018
Pinal Dave
SQL Interview Questions and Answers
Database Corruption, SQL Error Messages, SQL Server, SQL Server DBCC, Transaction Log

What part of the SQLDump suggest database corruption? A reader asked, and I show the DbccResults tag in the SQLDump text file that confirms it.

Read More
Gouache painting of a giant vermilion pumpkin squeezed onto a small pantry shelf among little jars

Huge Transaction Log File in SQL Server: Find the Cause

August 17, 2018
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL DMV, SQL Scripts, Transaction Log

A huge transaction log file has a named reason in log_reuse_wait_desc. This post builds a small demo database, reads that reason, backs up the log and finds the open transaction that holds it. It ends with a one time shrink and a safe growth step.

Read More
A missing file in an archive leaves a trail to an audit record

How to Enable Files & Folders Level Auditing in SQL Server? – Interview Question of the Week #176

May 31, 2018
Pinal Dave
SQL Interview Questions and Answers
Policy Management, SQL Audit, SQL Error Messages, SQL Server, SQL Server Security, Transaction Log

Files kept vanishing from a client’s SQL Server Binn folder. SQL Server cannot track that, so here is how to enable Files and Folders Level Auditing in Windows.

Read More
Gouache painting of a train siding with a long loaded flatcar blocking a waiting vermilion wagon

How an Open Transaction Uses Free Log Space

May 18, 2018
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, Transaction Log

An open transaction holds free log space hostage. This post runs one transaction in a SIMPLE recovery database and reads the log after the load and after the commit. It explains why the log grows before COMMIT, what ACTIVE_TRANSACTION means, and why a new FULL recovery database behaves like SIMPLE until its first full backup.

Read More
Gouache painting of dents in a hallway rug with muddy boot prints and a vermilion-handled magnifying glass

Find Who Dropped a Table by Reading the Transaction Log

May 17, 2018
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Scripts, SQL Server, Transaction Log

To find who dropped a table, read the transaction log for the DROPOBJ transaction and look up the login behind its security ID. This post runs that search on a demo database, shows the default trace as a second source when the log has been truncated, and explains what to do when everyone shares one login.

Read More
SQL SERVER - FIX: Msg 22004 - The Log File is Not Using Unicode Format

SQL SERVER – FIX: Msg 22004 – The Log File is Not Using Unicode Format

May 14, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Agent, Transaction Log

The SQL Server Agent log would not open in SSMS and showed Msg 22004, the log file is not using Unicode format. Here is the setting that fixed it.

Read More
errorole

SQL SERVER – DPM Backup Failure – E_COORD_LOG_CHAIN_BROKEN – The Backup Failed Because of a Gap in The LSN the Log Files

May 12, 2018
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server, SQL Server Security, Transaction Log

SQL SERVER – DPM Backup Failure – E_COORD_LOG_CHAIN_BROKEN – The Backup Failed Because of a Gap in The LSN the Log Files

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

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