Pages in Buffer Cache
Hey folks -While I was discussing the concept of SQL Server loading the data into Buffer for modification, a doubt troubled me -Knowing that based on WHERE predicate of UPDATE, the Storage Engine loads...
View ArticleDBCC CHECKDB
hello all.I checked my Db with DBCC CHECKDB('DBName') WITH NO_INFOMSGS, ALL_ERRORMSGSand I got this errors:Table error: Object ID 0, index ID -1, partition ID 0, alloc unit ID 0 (type Unknown), page ID...
View ArticleSeems like my SQL database is corrupted
I restarted my VPS box ( manually/hard restart ) and ever since, mysql fails to start for whatever reason. Can provide (if necessary) the error log. (It’s too large)So please tell me how to recover my...
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 ArticleCan someone explain some Indexing questions?
When I rebuild indexes, I expected some of the smaller ones to fully defragment, but it seems that they are left untouched. Why is that? This is more of a semantic question, since I know they will...
View ArticleCHECKDB fails, then succeeds after restore to another instance
HiOccasionally (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 troubleshoot...
View ArticleCHECKDB reported consistency errors, but second run is clean
I ran dbcc checkdb with no_infomsgs, all_errormsgs from a scheduled job and got this in the Stack Dump file:DBCC RESULTS--------------------<DbccResults> <Dbcc ID="0" Error="8928"...
View Article823 Error but DBCC clean
This morning on one of our virtual servers I saw that the differential backup job failed. The job does an integrity check and then backs up databases. There were no reindexing or other jobs running at...
View ArticleDBCC CHECKDB Returns Different Consistency Errors on Subsequent Runs
We have restored a database to SAN storage as part of a migration. A scheduled run of DBCC CHECKDB failed after the restore. Repeated runs of DBCC CHECKDB are returning different results. Each run...
View ArticleDTSX Changes Certain Datetime Values
We have a 2008 DTSX that takes a client XLS file and loads it. The file and our environments use non-US day-month format, ie: DD-MM-YYYY.Our Dev/Test environments are physical servers in our computer...
View Article823 Error
I got an 823 error. I restored the last full backup to a new DB and am running Checkdb on it now.This database is 150gb and contains just one table. All the errors are in the same non-clustered...
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 824SQL Server detected a logical consistency-based I/O error: incorrect pageid (expected 1:2412; actual...
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 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 this...
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 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 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 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 Article