Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Why am I running out of space in TEMPDB for a DBCC CHECKDB command?

$
0
0

I'm running "dbcc checkdb" on a 10g database. DBCC CHECKDB WITH ESTIMATEONLY says I should only need 20m for CHECKALLOC and 16m for CHECK TABLES. My tempdb is 3g with 2.9g unallocated. Why would it be running out of space?

Executing the query "DBCC CHECKDB  WITH NO_INFOMSGS failed with the following error:

Could not allocate space for object 'dbo.SORT temporary run storage:  140936423407616' in database 'tempdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.


Chuck


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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