BUG: Space Used Not Accurate After Text/Image Inserts

ID: Q150892


The information in this article applies to:

BUG#: 13412 (6.00)

SYMPTOMS

The space usage reported by sp_spaceused or the graphical utilities for SQL Server is inaccurate for some tables with text or image columns.


WORKAROUND

Regularly run DBCC UPDATEUSAGE on these tables.


CAUSE

The sysindexes used and reserved columns are not kept current with image inserts using dbwritetext() in a DB-Lib program. This is true for both indid 0 and indid 255. This can lead to sp_spaceused and GUI utilities reporting incorrect values for space used and reserved.


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

This problem does not occur in version 6.5.

Additional query words: sql6 sp_spaceused image dbwritetext


Keywords          : kbtool SSrvAdmin kbbug6.00 
Version           : 6.0
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: March 25, 1999