SQL Database Troubleshooting

SQL Database Troubleshooting This page is dedicated to all SQL database corruption problems and their solutions. Like this page to get all the updates.

Your CHECKDB timestamp is lying to youAnd you don’t even know itMost DBAs trust one field:dbi_dbccLastKnownGoodProblem?I...
01/06/2026

Your CHECKDB timestamp is lying to you
And you don’t even know it

Most DBAs trust one field:
dbi_dbccLastKnownGood

Problem?

It often lags behind reality.

Especially when you manage:

Read-only databases

Availability Group secondaries

Filegroup level checks

Takeaway

Don’t rely on an inconsistent indicator to prove database health.

Better Framework

If you’re on 2016 SP2+:

Use: DATABASEPROPERTYEX('dbname','LastGoodCheckDbTime')

Query from any replica

Build alerts around this SUPPORTED property

Log results in a custom table

Supported beats undocumented. Always. https://www.stellarinfo.com/blog/how-to-repair-sql-database-using-dbcc-checkdb-command/

Address

West New York, NJ
08840

Alerts

Be the first to know and let us send you an email when SQL Database Troubleshooting posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Shortcuts

Share