Q

Determining the physical space occupied by database tables

How is the easiest way to know how much physical storage the tables in my database occupy ? I ask this because if I see the space used in the properties of the database (with Enterprise Manager), I see much more than than what I see using "sp_spaceused <table>" which I think doesn't say the truth. My database has about 400Gb allocated and 360Gb used. Can you tell me what is the right way to have the space occupied for each table in my database without having surprises when I go to see the REAL space occupied (which is always much more)?

Open up the stored procedure sp_spaceused. It will give you more than enough information to answer your question.

 

For More Information

This was first published in July 2002

Dig deeper on Microsoft SQL Server Installation

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchBusinessAnalytics

SearchDataCenter

SearchDataManagement

SearchAWS

SearchOracle

SearchContentManagement

SearchWindowsServer

Close