Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 database size discrepancy

Author  Topic 

rb1373
Yak Posting Veteran

93 Posts

Posted - 2005-04-25 : 10:58:29
sp_helpdb reports my database is 155831.63 MB while Windows Explorer shows my database mdf is 173,656,512 KB. Windows Explorer is shows the ldf as 5,120 KB. I assume Windows is incorrect. Is there anyway to correct Windows Explorer? This is a development server running SS2k SP3 on Windows 2000 SP4.

Thanks,
Ray

Luis Martin
Yak Posting Veteran

54 Posts

Posted - 2005-04-25 : 13:35:02
Run:
USE YourDababase
sp_spaceused @updateusage = 'TRUE'

and compare again.
Go to Top of Page

rb1373
Yak Posting Veteran

93 Posts

Posted - 2005-04-25 : 13:44:19
Actually I ran 'DBCC UPDATEUSAGE('MyDB')' earlier but I swore Windows wasn't reporting the correct size. Now it is. Oh well. Thanks for your help.
Go to Top of Page
   

- Advertisement -