Knowledge Base

BUG: SEM: Incorrect Space Used/Available in Graphical Display

Article ID: 135300

Article Last Modified on 2/22/2005


APPLIES TO


This article was previously published under Q135300
BUG# NT: 10248 (6.00)
         17145 (6.50)
		

SYMPTOMS

SQL Enterprise Manager can sometimes show an incorrect amount of space used and/or available for a given database in the Manage Databases dialog. The error is more obvious in a database containing several large non-clustered indexes.

CAUSE

The query used to determine the amount of space used in the database is double-counting the used pages for non-clustered indexes.

WORKAROUND

Use the sp_spaceused stored procedure to determine the amount of space used and/or available in a given database.

STATUS

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

Additional query words: sql6

Keywords: kbbug kbprogramming KB135300