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 long wooden boat hull in a yard with a vermilion-handled hammer on a plank

DBCC CHECKDB Running Slow? Check the MAXDOP Option

May 10, 2018
Pinal Dave
SQL Performance
MAXDOP, SQL Scripts, SQL Server, SQL Server DBCC

DBCC CHECKDB running slow can trace back to the MAXDOP option. A CHECKDB with no MAXDOP option uses the server’s max degree of parallelism, and one with its own option overrides it. This post times CHECKDB on a 2 GB database with four settings, adds PHYSICAL_ONLY, and lists the other causes to rule out.

Read More
Seven cloth bundles of silverware on a sideboard, one opened and freshly polished beside a red tin.

Splitting DBCC CHECKDB Across the Week for a Large Database

May 2, 2018
Pinal Dave
SQL Tips and Tricks
Database Corruption, DBA, SQL Server, SQL Server DBCC

Keep a large database under regular integrity checks by splitting DBCC CHECKDB work across seven nights and auditing coverage.

Read More
Gouache painting of a tidy wooden tray of identical cream envelopes with one crumpled envelope set apart in a small vermilion dish

Error 5511: FILESTREAM File System Log Record Is Corrupted

April 9, 2018
Pinal Dave
SQL Tips and Tricks
Filestream, SQL Error Messages, SQL Server, SQL Server DBCC, Starting SQL

Error 5511 kept a production database offline after a SQL Server restart, because a FILESTREAM log record under the log folder was corrupted. We moved the corrupted file to another folder and the database came online. CHECKDB came out clean and the client saw no problems for weeks.

Read More
Failed to retrieve data error.

SQL SERVER – Database Attach Failure – Msg 2571 – User ‘guest’ Does Not Have Permission to Run DBCC Checkprimaryfile.

March 14, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Scripts, SQL Server, SQL Server DBCC, SQL Server Security

Attaching MDF and LDF files after a disaster failed with Msg 2571: user guest does not have permission to run DBCC checkprimaryfile. Here is the fix.

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
Previous 1 … 3 4 5 6 7 8 9 … 16 Next
  • Books
  • Testimonials
  • Privacy Policy

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