SQL Server Storage Engine

And an example corrupt 2000 database to play with

As promised in my earlier post of an example corrupt 2005 database, here's one I've just created for SQL Server 2000.

The attached WinZip file contains a backup of a simple 2000 database called 'broken' . It has a simple table called 'brokentable' (c1 int, c2 varchar(7000)) with one row in it. The table has a single data page with page ID (1:75) that I've corrupted so the page header is corrupt. When you try selecting from the table, you should get a 605 error that kills the connection. See the previous post for instructions on restoring it etc.

Have fun!

Published Friday, April 20, 2007 3:54 PM by Paul Randal - MSFT
Filed under:

Attachment(s): broken80.zip

Comments

 

AdrianWeetman said:

Thanks Paul.

April 23, 2007 6:44 AM
 

Kevin3NF said:

Thanks Paul...looking forward to digging deeper :)

April 26, 2007 11:30 AM
 

Shahed Khan (MVP C#) said:

Quick Links Security - Platforms - Internet - SQL Server - Exchange - Manageability Security News...

May 1, 2007 12:01 AM
 

SSQA- Users & SQL tools said:

Have you ever wondered you can recover a corrupted database when you have optimum backup & restore

May 6, 2007 5:58 AM
Anonymous comments are disabled

About Paul Randal - MSFT

Paul started in the industry in 1994 working for DEC on the VMS file system and check/repair tools. In 1999 he moved to Microsoft to work on SQL Server, specifically on DBCC. For SQL Server 2000, he concentrated on index fragmentation (writing DBCC INDEXDEFRAG and DBCC SHOWCONTIG) plus various algorithms in DBCC CHECKDB. During SQL Server 2005 development Paul was the lead developer/manager of one the core dev teams in the Storage Engine, responsible for data access and storage (DBCC, allocation, indexes & heaps, pages/records, text/LOB storage, snapshot isolation, etc). He also spent several years rewriting DBCC CHECKDB and repair. For SQL Server 2008, Paul managed the Program Management team for the core Storage Engine to become more focused on customer/partner engagement and feature set definition. In 2007, after 8.5 years on the SQL Server team, Paul left Microsoft to join his wife, Kimberly Tripp, running SQLskills.com and pursuing his passion for presenting and consulting. Paul regularly presents at conferences and user groups around the world on high-availability, disaster recovery and Storage Engine internals. His popular blog is at http://www.sqlskills.com/blogs/paul/.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker