Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

sp_spaceused on 2005
I executed sp_spaceused against every table in my database.  There were two
tables out of 30 over 1 MB -- both were under 10 MB.  However, when I right
click on the database in Management Studio, choose properties, and then view
the "Size" of 165 MB and "Space Available" of 4 MB, I'm confused.  How are
my 30 tables (plus various other light weight procedures, system tables,
etc) possibly consuming 165 MB of Space?

Suggestions?  Thanks in advance.

Mark



Report this thread to moderator Post Follow-up to this message
Old Post
Mark
04-08-06 01:23 AM


RE: sp_spaceused on 2005
did you tried the option @updateusage = N'TRUE'?

exec sp_spaceused @updateusage = N'TRUE'

or run DBCC UPDATEUSAGE

"Mark" wrote:

> I executed sp_spaceused against every table in my database.  There were tw
o
> tables out of 30 over 1 MB -- both were under 10 MB.  However, when I righ
t
> click on the database in Management Studio, choose properties, and then vi
ew
> the "Size" of 165 MB and "Space Available" of 4 MB, I'm confused.  How are
> my 30 tables (plus various other light weight procedures, system tables,
> etc) possibly consuming 165 MB of Space?
>
> Suggestions?  Thanks in advance.
>
> Mark
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Edgardo Valdez, MCSD, MCDBA
04-08-06 01:23 AM


Re: sp_spaceused on 2005
use the option to update the usage or run DBCC UPDATEUSAGE and try again.

--
Andrew J. Kelly  SQL MVP


"Mark" <markfield88@nospam.nospam> wrote in message
news:ejALXjoWGHA.1564@TK2MSFTNGP03.phx.gbl...
>I executed sp_spaceused against every table in my database.  There were two
>tables out of 30 over 1 MB -- both were under 10 MB.  However, when I right
>click on the database in Management Studio, choose properties, and then
>view the "Size" of 165 MB and "Space Available" of 4 MB, I'm confused.  How
>are my 30 tables (plus various other light weight procedures, system
>tables, etc) possibly consuming 165 MB of Space?
>
> Suggestions?  Thanks in advance.
>
> Mark
>



Report this thread to moderator Post Follow-up to this message
Old Post
Andrew J. Kelly
04-08-06 01:23 AM


Re: sp_spaceused on 2005
Lest us know if DBCC UPDATEUSAGE changes this. sp_spaceused draw the informa
tion from the system
tables, and these are supposed to be accurate in 2005. Also, let us know if 
you upgraded the
database from an earlier version.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/
Blog: http:// solidqualitylearning
.com/blogs/tibor/


"Mark" <markfield88@nospam.nospam> wrote in message news:ejALXjoWGHA.1564@TK2MSFTNGP03.phx.
gbl...
>I executed sp_spaceused against every table in my database.  There were two
 tables out of 30 over 1
>MB -- both were under 10 MB.  However, when I right click on the database i
n Management Studio,
>choose properties, and then view the "Size" of 165 MB and "Space Available"
 of 4 MB, I'm confused.
>How are my 30 tables (plus various other light weight procedures, system ta
bles, etc) possibly
>consuming 165 MB of Space?
>
> Suggestions?  Thanks in advance.
>
> Mark
>


Report this thread to moderator Post Follow-up to this message
Old Post
Tibor Karaszi
04-08-06 12:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 08:42 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006