Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

torn page question
According to BOL 2000:

If a torn page is detected, an I/O error is raised and the connection is
killed. If the torn page is detected during recovery, the database is also
marked suspect. The database backup should be restored, and any transaction
log backups applied, because it is physically inconsistent.

By default, TORN_PAGE_DETECTION is ON.

The current setting of this option can be determined by examining the
 IsTornPageDetectionE
nabled property of DATABASEPROPERTYEX.



I dont want my DB to automatically go into a Suspect state. Will this only
occur if Torn Page Detection is enabled, or just in general.



TIA, ChrisR



Report this thread to moderator Post Follow-up to this message
Old Post
ChrisR
04-30-05 04:23 PM


Re: torn page question
Hi

Not only then. If during DB startup, an inconsistencies are detected in the
GAM or other system structures in the DB, it will be marked suspect. If a
file that belongs to the DB can not be opened, it will be marked as suspect.

Put it this way, if SQL Server finds a problem, it is a very bad idea to
allow further work to be done in the DB. You might end up loosing it all.

At the first hint of corruption, the DB should be taken offline and you
should investigate the problem.

Regards
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland

IM: mike@epprecht.net

MVP Program: http://www.microsoft.com/mvp

Blog: http://www.msmvps.com/epprecht/

"ChrisR" <noemail@bla.com> wrote in message
news:%23dtU6zZTFHA.2908@TK2MSFTNGP10.phx.gbl...
> According to BOL 2000:
>
> If a torn page is detected, an I/O error is raised and the connection is
> killed. If the torn page is detected during recovery, the database is also
> marked suspect. The database backup should be restored, and any
> transaction log backups applied, because it is physically inconsistent.
>
> By default, TORN_PAGE_DETECTION is ON.
>
> The current setting of this option can be determined by examining the
>  IsTornPageDetectionE
nabled property of DATABASEPROPERTYEX.
>
>
>
> I dont want my DB to automatically go into a Suspect state. Will this only
> occur if Torn Page Detection is enabled, or just in general.
>
>
>
> TIA, ChrisR
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Mike Epprecht \(SQL MVP\)
04-30-05 04:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 11:42 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006