Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

dbcc Checktable insufficient hard disk space

$
0
0

Hi All,

I recently noticed a few speed issues with our database and ran dbcc checkdb and found our "Audit" table with quite a lot of errors on it. Examples below,

Table error:table 'Audit' (ID 1509580416). Index row in index 'iLevel' (ID 2) does notmatch any data row. Possible extra or invalid keys for:Msg 8956,Level 16, State 1, Line 1

Index row(1:1168104:3) with values (VenueID = 1 and Level = 4 and AuditID = 5498744)

pointing to the data row identified by (AuditID = 5498744).Msg 8952,Level 16, State 1, Line 1

I tried to rebuild indexes and after another dbcc checkdb the errors remained.

I am now trying to run aDBCC CHECKTABLE( 'Audit', REPAIR_REBUILD). I have noticed that the tempdb is growing to from appox 4mb to 165gb and then the check table command errors out due to lack of hard disk space.

Msg 1105, Level 17, State 2, Line 5

Could not...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>