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)
 How can I see the space that a DB ocuppy

Author  Topic 

shifis
Posting Yak Master

157 Posts

Posted - 2003-08-28 : 12:40:21
I do the next, right click on the db name, then properties and then data files tab.
This is the total space of my db or is the spaces that is fill??
If is not, how can I know the space that my db is using righ now?

(Hope you understand my english)

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-08-28 : 12:41:37
sp_spaceused

The data could be messed up, so run sp_spaceused @UPDATEUSAGE = TRUE to get accurate results. See sp_spaceused in SQL Server Books Online.

Tara
Go to Top of Page

ValterBorges
Master Smack Fu Yak Hacker

1429 Posts

Posted - 2003-08-28 : 19:54:18
DBCC SQLPERF ( LOGSPACE )

Might also be usefull
Go to Top of Page
   

- Advertisement -