• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1011
  • Last Modified:

How to correct error in Sql Server: An inconsistency was detected during an internal operation in database 'Nawada'(ID:6) on page (1:14194556). Please contact technical support. Reference number 4.

I have a database Nawada, and Table name is txndependents
for which i am not able to fetch record because of above error.
The output of dbcc checkdb is as follows: This has stuck my work, Please help, so that i can correct the error.

DBCC results for 'TxnDependents'.
Msg 8928, Level 16, State 1, Line 1
Object ID 1093578934, index ID 1, partition ID 72057594040614912, alloc unit ID 72057594045071360 (type In-row data): Page (1:14194556) could not be processed.  See other errors for details.
Msg 8944, Level 16, State 18, Line 1
Table error: Object ID 1093578934, index ID 1, partition ID 72057594040614912, alloc unit ID 72057594045071360 (type In-row data), page (1:14194556), row 0. Test (columnOffsets->offTbl [varColumnNumber] >= priorOffset) failed. Values are 25 and 67.
Msg 8944, Level 16, State 18, Line 1
Table error: Object ID 1093578934, index ID 1, partition ID 72057594040614912, alloc unit ID 72057594045071360 (type In-row data), page (1:14194556), row 0. Test (columnOffsets->offTbl [varColumnNumber] >= priorOffset) failed. Values are 25 and 67.
There are 24621219 rows in 320099 pages for object "TxnDependents".
CHECKDB found 0 allocation errors and 3 consistency errors in table 'TxnDependents' (object ID 1093578934).
0
searchsanjaysharma
Asked:
searchsanjaysharma
  • 5
  • 3
  • 2
1 Solution
 
Raja Jegan RSQL Server DBA & ArchitectCommented:
Rebuild your Primary key or Clustered key in txndependents table which should ideally fix consistency issues.
0
 
EvilPostItCommented:
Can you check to see if you have full & transaction log backups?

DONT RESTORE YET, this is a check.
0
 
EvilPostItCommented:
@rrjegan if you have a corrupted clustered index you cannot just rebuild it as this is the leaf level data! Although i do agree that you can rebuild non-clustered indexes.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
EvilPostItCommented:
searchsanjeysharma,

Could you tell me if anything has happened recently to the system? Disk failure / Power Failure etc?
0
 
Raja Jegan RSQL Server DBA & ArchitectCommented:
>> @rrjegan if you have a corrupted clustered index you cannot just rebuild it

Yes, if rebuilding can't be done, then we need to do

DBCC CHECKTABLE (TxnDependents, REPAIR_REBUILD );

and if it is not fixed, then we need to do (This might cause some loss in corrupted data.)

DBCC CHECKTABLE (TxnDependents, REPAIR_ALLOW_DATA_LOSS );
0
 
EvilPostItCommented:
As you say replair allow data loss could loose data so the better option would be to do a tail log backup to ensure you have to most recent transactions and take the database offline so nothing more can go into the database. Then.....

restore full backup in norecovery
apply all the transaction log backups including the tail log backup which has been taken.

This will mean there is no data loss. But obviously this is dependant upon if the backups are available. Thus the original response.
0
 
Raja Jegan RSQL Server DBA & ArchitectCommented:
If there is any data loss, then you can try restoring from the available backups as mentioned by you..
0
 
EvilPostItCommented:
Repair will not cause data loss? It depends. If you have to use REPAIR_ALLOW_DATA_LOSS, then you're going to lose data. That's why the option is named that - seriously

Quote from Paul Randall
http://www.sqlskills.com/aboutpaulsrandal.asp
0
 
searchsanjaysharmaAuthor Commented:
ok
0
 
searchsanjaysharmaAuthor Commented:
ok
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 5
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now