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
Gouache painting of a tall wooden spool wound with cream thread, one short stretch of the thread tied in a vermilion knot

Backup Detected Log Corruption: Context Is Bad Middle Sector

March 31, 2018
Pinal Dave
SQL Tips and Tricks
Database Corruption, SQL Backup and Restore, SQL Error Messages, Transaction Log, VLF

Backup detected log corruption in a client’s database, and every full backup failed at exactly 60 percent. Instead of rebuilding the log, we checked the VLFs and found a log waiting on REPLICATION. Removing the leftover replication fixed the backup.

Read More
Gouache painting of an old wooden card catalog drawer pulled open, rows of blank cream cards, with one crooked card tinted vermilion

CPerIndexMetaQS::ErrorAbort: Too Many Dumps From Index Corruption

December 19, 2017
Pinal Dave
SQL Tips and Tricks
Database Corruption, SQL Error Messages, SQL Index, SQL Server, SQL Server DBCC

CPerIndexMetaQS::ErrorAbort in a stack dump points to index corruption in one of your databases. A reader had too many dumps, and the ERRORLOG and DBCC CHECKTABLE showed which index was bad. Here are the two repair options and why backups matter.

Read More
SQL SERVER - Msg 0, Level 11 - A Severe Error Occurred on the Current Command. The results, if Any, Should be Discarded

SQL SERVER – Msg 0, Level 11 – A Severe Error Occurred on the Current Command. The results, if Any, Should be Discarded

November 2, 2017
Pinal Dave
SQL Tips and Tricks
Database Corruption, SQL Error Messages, SQL Scripts, SQL Server, SQL Server DBCC

Msg 0, Level 11 says a severe error occurred but gives no clue how to fix it. Here is my checklist, starting with DBCC CHECKDB on the database and table.

Read More
Illustrated cover: 5 Don'ts After Corruption

SQL SERVER – 5 Don’ts When Database Corruption is Detected

October 11, 2017
Pinal Dave
SQL Tips and Tricks
Database Corruption, SQL Backup and Restore, SQL Scripts, SQL Server

Here is an email I received about database corruption and that has lead me to write this quick blog post about database corruption. 

Read More
ghost

SQL SERVER – Running CHECKDB with Minimum Repair Level

July 10, 2017
Pinal Dave
SQL Tips and Tricks
Database Corruption, SQL Scripts, SQL Server, SQL Server DBCC

CHECKDB found 39 consistency errors and said repair_allow_data_loss is the Minimum Repair Level, but the reader could not finish the repair. Here is my reply.

Read More
Gouache painting of a wooden window frame with one cracked pane and a spare pane edged in vermilion leaning against the sill

Error 9003: Log Scan Number in master Is Not Valid

January 13, 2017
Pinal Dave
SQL Tips and Tricks
Database Corruption, SQL Error Messages, SQL Server, Starting SQL, System Database

Error 9003 on the master database means SQL Server cannot recover master and will not start. The master files were corrupt. We rebuilt the system databases, started the instance in single user mode and restored master from a backup.

Read More
A red windsock stretched straight in a strong wind as a dark storm builds over sunny hills

SQL Agent Alerts for Severity 17 to 25 and Errors 823, 824, 825

January 20, 2015
Pinal Dave
SQL Tips and Tricks
Database Corruption, Database Mail, DBA, SQL Error Messages, SQL Server Agent

Configure Agent alerts for serious severities and errors 823, 824 and 825, connect an operator to Database Mail, and test response delays.

Read More
Previous 1 2 3 Next
  • Books
  • Testimonials
  • Privacy Policy

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