March 5, 2012 at 8:23 am
Monday greeted me with a lovely message from a production cluster:
DBCC CHECKDB ([master]) WITH NO_INFOMSGS, ALL_ERRORMSGS, DATA_PURITY
Msg 2570, Level 16, State 2, Line 1
Page (1:450), slot 51 in object ID 58, index ID 1, partition ID
281474980511744, alloc unit ID 281474980511744
(type "In-row data"). Column "name" value is out of range for data
type "nvarchar". Update column to a legal value.
CHECKDB found 0 allocation errors and 1 consistency errors in table
'sys.sysbinobjs' (object ID 58).
CHECKDB found 0 allocation errors and 1 consistency errors in database 'master'.
This is in a system table. Is there a way to fix the value of the field or otherwise resolve without going to the trouble of restoring master from backup?
Thanks!
March 5, 2012 at 8:26 am
I would recommend restore from a clean backup.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 5, 2012 at 8:34 am
GilaMonster (3/5/2012)
I would recommend restore from a clean backup.
That is my thought as well ... it is just a pain to get downtime for this system,
particularly if no users are experiencing a problem.
March 5, 2012 at 8:38 am
Restore of master should be very fast (practice on a dev machine so you know how it works), also this likely isn't absolutely critical to fix if there's not much done to master (new DBs, new logins, etc), but sooner rather than later. If master goes suspect the entire instance goes down, so don't leave it too long.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 6, 2012 at 3:08 am
This was removed by the editor as SPAM
March 6, 2012 at 5:05 am
prettsons (3/6/2012)
If this is the case, you will have to clean the database to remove the inconsistencies and then attempt to execute the DBCC command again.
Except this is a system table that can't be updated. Hence the recommendation to restore from a clean backup.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 6, 2012 at 6:55 am
prettsons (3/6/2012)
Check this article: http://support.microsoft.com/kb/923247%5B/quote%5D
Thanks!
I did try to investigate this sort of solution, but sadly the data purity issue is in a table that I am not able to modify. We used to be albe to edit system tables but no more.
I'm going to script all the logins, just in case, and hit this next time I get a window for down time. No user complaints being generated so it might be a little while.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply