User database corruption - "No catalog entry found for partition X in...
This has been a nightmare scenario trying to fix up a VLDB after it went suspect and failed DBCC CHECKDB. There were backups but it had been two weeks since the last successfull CHECKDB; business lines...
View ArticleString or binary data would be truncated. Error when inserting empty table...
Has someone ran into something strange like this where no data is being inserted but this error happens.Msg 8152, Level 16, State 14, Line 1String or binary data would be truncated.In our production...
View ArticleWHAT TO DO WHEN DBCC CHECKDB(REPAIR_ALLOW_DATA_LOSS) FAILS
Hello, our server hard disk crashed due to power failure and all the backups were on the hard disk. Before just before it did we had managed to copy the mdf file but power failed while copying the log...
View Articlehow to correctly restore page ERROR (data-corruption)
hi All, i executed dbcc checkdb ('yout_Database') andresult is as following:Msg 2533, Level 16, State 2, Line 1Table error: page (1:11760) allocated to object ID 1637580872, index ID 1, partition ID...
View ArticleDBCC CHECKALLOC returns errors
When I run DBCC CHECKALLOC on a database I get the following errorDBCC results for 'MYDB'.Msg 8906, Level 16, State 1, Line 1Page (1:3621975) in database ID 8 is allocated in the SGAM (1:3578625) and...
View ArticleCorrupted innodb table crashing mysql instance how to recover table?
Hello,Running a simple query against corrupted innodb table is crashing mysql instance .[code="plain"]table test.xyz got corrupt during crash and truncate table command was in progressing when mysql...
View Articlepage corruption found when enabling TDE, but DBCC CHECKDB ahows no errors
I need help with fixing corrupted page.I've got into this trouble yesterday , when it was required to enable TDE on one of the DB copies. The TDE encryption hanged with encryption_state=2 and...
View ArticleDatabase Corruption
When I run DBCC CheckDB i get erroros. the thing that i saw is corruption in sys.sysobjvalues in addition to other tables. attached is the result of DBCC CheckDbDBCC CheckDB ('medmas') WITH...
View ArticleDBCC CHECKDB('MSDB') returns errors
DBCC CHECKDB('MSDB') returns errorsthe following is the errorMsg 8906, Level 16, State 1, Line 1Page (1:2333) in database ID 4 is allocated in the SGAM (1:3) and PFS (1:1), but was not allocated in any...
View ArticleRestore database from SQL Server 2012 to SQL Server 2008 R2
Hi, I initially took backup from SQL Server 2012 (database compatibility mode was set to SQL Server 2008 (100)) but when I try to restore that backup on SQL Server 2008 R2 it is giving me error as...
View ArticleCHECKDB fails, then succeeds after restore to another instance
Hi Occasionally (once every 3 months or so) CHECKDB fails on our busiest database on our VMware management SQL Server instance (this is a VM itself 10.0.5775). No other VMs give problems. To...
View ArticleErrors automatically fixed by other process?
The other morning an automated Integrity Check job produced the following message: DBCC CHECKDB (DBName) executed by TBECU\sqlservice found 2 errors and repaired 0 errors. Elapsed time: 0 hours 0...
View ArticleRebuild Master database behaving a bit strange
I cant find anything that relates to the issue I am experiencing, and I am hoping I am not alone on this. Scenario: I have cloned a production database, but only the C:\ drive where the binaries exist....
View ArticleSQL Server detected a logical consistency-based I/O error
[b]First, when I run this sql : select * from mydatabase.dbo.mytable, I got this [u][/u][/b] Msg 824 SQL Server detected a logical consistency-based I/O error: incorrect pageid (expected 1:2412; actual...
View ArticleBackup detected error - Checkdb returns errors
Last night's backup failed - message BACKUP detected an error on page (1:1337093). I ran Checkdb and got some errors. First this right at the top: DBCC results for 'NCVLive'. Service Broker Msg 9675,...
View Articlelog file does not match primary file
Hi, I have a question regarding the error "log file does not match primary file". last month, one of our 2005 databases ( lets call DB1 (simple mode) ) was moved to a 2008 R2 RTM x64 server. One of two...
View ArticleSQL 2005 to 2008 r2- Check data consistency
Hi Team, We are migrating our database from 2005 to 2008 r2. We are asked how are we making sure to check the data correctness post restoration. My thought is if the DB has been restored successfully,...
View ArticleIncorrect checksum error information describes a correct checksum?
I've been hitting a problem where a CREATE INDEX is failing. The debug error exception shows the error is invalid because expected and actual are a match, not a miss-match. This is killing me. I've...
View ArticleSQL Error 37000: Active Save Point
Hi Hopefully someone can help, I have a piece of software which is returning a SQL Error: 37000: Cannot Promote the transaction to a distributed transaction because there is an active save point in...
View ArticleRestore from SQL2005 to SQL2008R2 results in DBCC Inconsistencies
Hi, fairly new to SQL, and being tasked with copying an SQL2005 DB to an SQL2008R2 Server. We are running daily full backups through SSMS on the SQL2005 server (OS is still Windows 2003), and I thought...
View Article