Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 dbcc

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-26 : 09:09:46
Wolfgang writes "I have a problem in a database, do you know, how can I fix that?
It seems, that the table sysindexes is defect, but the message tells, it was fixed.

(Windows 2000 / MS SQL 7.0)

DBCC CHECKTABLE (sysindexes, REPAIR_ALLOW_DATA_LOSS )

Server: Nachr.-Nr. 8966, Schweregrad 16, Status 1, Zeile 1
Could not read and latch page (1:13450) with latch type SH. sysindexes failed.
Server: Nachr.-Nr. 2598, Schweregrad 16, Status 1, Zeile 1
Gruppierte Indizes für sysobjects und sysindexes können nicht neu erstellt werden.
Server: Nachr.-Nr. 8944, Schweregrad 16, Status 1, Zeile 1
Table Corrupt: Object ID 2, index ID 0, page (1:13450), row 18. Test (!(hdr->r_tagA & (VERSION_MASK | RECTAG_RESV_A | RECTAG_RESV_B))) failed. Values are 96 and 193.
Server: Nachr.-Nr. 8945, Schweregrad 16, Status 1, Zeile 1
Tabelle beschädigt: Objekt-ID 2, Index-ID 1 wird neu aufgebaut.
Der Fehler wurde behoben.
Der Fehler wurde behoben.
Clustered-Index für Objekt 'dbo.sysindexes' in Datenbank 'Reutlinger' erfolgreich wiederhergestellt.
CHECKTABLE hat 0 Reservierungsfehler und 1 Konsistenzfehler in Tabelle 'sysindexes' gefunden (Objekt-ID 2).
CHECKTABLE hat 0 Reservierungsfehler und 1 Konsistenzfehler in Tabelle 'sysindexes' behoben (Objekt-ID 2).
DBCC-Ausführung abgeschlossen. Falls DBCC Fehlermeldungen ausgegeben hat, wenden Sie sich an den Systemadministrator.


DBCC CHECKDB ('Reutlinger' , REPAIR_ALLOW_DATA_LOSS )

Server: Nachr.-Nr. 8966, Schweregrad 16, Status 1, Zeile 1
Could not read and latch page (1:13450) with latch type SH. sysindexes failed.
Server: Nachr.-Nr. 8944, Schweregrad 16, Status 1, Zeile 1
Table Corrupt: Object ID 2, index ID 0, page (1:13450), row 18. Test (!(hdr->r_tagA & (VERSION_MASK | RECTAG_RESV_A | RECTAG_RESV_B))) failed. Values are 96 and 193.
DBCC-Ergebnis für 'Reutlinger'.
CHECKDB hat 0 Reservierungsfehler und 1 Konsistenzfehler in Tabelle 'sysindexes' gefunden (Objekt-ID 2).
CHECKDB hat 0 Reservierungsfehler und 1 Konsistenzfehler in Datenbank 'Reutlinger' gefunden.
repair_allow_data_loss ist die minimale REPAIR-Stufe für die von DBCC CHECKDB (Reutlinger repair_allow_data_loss) gefundenen Fehler.
DBCC-Ausführung abgeschlossen. Falls DBCC Fehlermeldungen ausgegeben hat, wenden Sie sich an den Systemadministrator."

Jay99

468 Posts

Posted - 2002-03-26 : 09:43:38
HAHAHAHAHAHA!!!!

Können Sie Ihre Fehlermeldung ins Englische bitte übersetzen?

DBCC CheckTable mit REPAIR_ALLOW_DATA_LOSS sollte Ihre Probleme regeln. Wenn es zurückkommt, müssen Sie darstellen aus, was Ihre Datenbank currupting.

This is so fun!!

Jay
<O>
Go to Top of Page

sandesh_moghe
Constraint Violating Yak Guru

310 Posts

Posted - 2002-03-27 : 02:35:53
Brunnen Getanes JAY!!!!
Jetzt erhalten Sie definitly Antwort auf sein Fragen!!!!!
ZAKKAS!!!


Sandesh - Das Messanger
Go to Top of Page

chadmat
The Chadinator

1974 Posts

Posted - 2002-03-27 : 12:38:54
Anrufmicrosoftunterstützung. Korruption ist ein sehr ernstes Problem, und wenn die Daten zu Ihnen wichtig sind, sollten Sie Unterstützung benennen, also können sie Ihnen helfen, sie SO BALD WIE MÖGLICH zu reparieren.

-Chad

Go to Top of Page

Jay99

468 Posts

Posted - 2002-03-27 : 13:06:10
I wonder if Wolfgang actually speaks German?

Jay
<O>
Go to Top of Page

Wolfgang
Starting Member

2 Posts

Posted - 2002-04-02 : 02:42:23
I am from Germany, but understand the English Language.
The message I copied from the queryanalyzer, because I can not translate all the words exactly.
The problem is not very hard, because I restored a backup from one of our cliends. I thougt, I made something wrong with the dbcc - command:

DBCC CHECKDB ('pps' , REPAIR_ALLOW_DATA_LOSS )

Thanks for all messages.

Wolfgang
Go to Top of Page
   

- Advertisement -