Urgent.News

What's breaking now, across thousands of outlets.

Tech

DBCC CHECKDB: How to Detect and Handle SQL Server Database Corruption

Originally published at SQL & Cloud Lab . Database corruption is rare, but when it happens, the difference between a five-minute fix and a lost weekend is how early you find it. SQL Server will happily keep running on a damaged database until a query touches the bad page. DBCC CHECKDB is the tool that finds damage before your users do, and knowing how to run it and what to do with the results is…

Database corruption can be a rare but devastating issue. SQL Server detects it when a read operation fails and raises errors 823, 824, or 825. These errors should trigger alerts to quickly identify the issue. To check database consistency, use the DBCC CHECKDB command. For large databases, a physical-only scan may be faster and still catch most storage problems.

If corruption occurs, first check the summary output for repair level recommendations. Common fixes include rebuilding nonclustered indexes or restoring from backup, depending on the extent of the damage. The last resort is repair_allow_data_loss, which should only be used when no backups are available. To prevent recurrence, monitor for corruption errors and address hardware or driver issues promptly.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I'd stopped reviewing the basics, so I built a small site to practice them

Hi Devs 👋 This is my first post here! I use AI tools every day for coding (as the workplace keeps asking for faster and better results every day!), and somewhere along the way I stopped reviewing the…

  • Created Repaso site for interview prep in English and Spanish
  • Contains 897 questions across 17 topics with Leitner system
  • Offers random, misses-only, and timed exam modes offline

I Resurrected Malaysia's Buku 555 Debt Notebook with Kiro

This post is part of my entry for the Kiroween 2026 hackathon. #KiroweenHackathon26 The problem Walk through any Malaysian pasar and you'll see it: the red-and-blue Buku 555 notebook.

  • Malaysia's Buku 555 debt notebook resurrected as Buku 555 Berhantu
  • Trader inputs entries in Bahasa Melayu with honorifics and Malay numbers
  • Friendly ghost accompanies overdue customers, exorcised by marking debt as paid

De 80 000 échantillons UK Biobank à la VR moléculaire : mon voyage du terminal au casque Quest Il y a trois semaines, en…

De 80 000 échantillons UK Biobank à la VR moléculaire : mon voyage du terminal au casque Quest Il y a trois semaines, en lisant le communiqué Alamar Biosciences × Nightingale Health — quantification…

  • 80,000 samples from UK Biobank explored in VR molecular environment
  • NexoPeek tool enables comprehensive protein structure analysis in VR
  • Collaborative, immersive protien exploration revolutionizes population-level proteomics

My logo heals itself. Then I erased it into a stick.

This week I erased my own logo down to a thin strip and waited for it to heal. It thought about it for a while. Then it turned into a stick. Not a G, not an R.

  • Logo heals itself through neural cellular automaton
  • Author erased logo into a thin horizontal stick
  • Supervisor monitors logo health and restarts if needed

More from Sunday 8 November →