12-10-04 10:54 PM
How you find out your database size? Did you add log file usage as part of
your database size?
Assume all numbers is correct, it is still possible that a database could
have 30 GB and only use 2GB of its space is used. In this case, you can run
DBCC SHRINKDATABASE to reclaim unused space.
You could also use DBCC UPDATEUSAGE to correct space usage information in
each table (if you suspect that some table has wrong space usage information
stored in the system table).
--
Stephen Jiang
Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"write2manish" <write2manish.1h0tp6@mail.webservertalk.com> wrote in message
news:write2manish.1h0tp6@mail.webservertalk.com...
>
> Hi,
>
> I am trying to solve a little puzzle. My database size is like 30 GB
> and i used sp_spaceused to find out which table in my database is the
> one using the max. size. After looking at all the table sizes using
> sp_spaceused the total came out to be only 2GB??? I am not sure who is
> using the other 28GB... Anyone any suggestions????
>
> Thanks in advance,
> Manish
>
>
>
> --
> write2manish
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message629190.html
>
[ Post a follow-up to this message ]
|