x
login about faq Site discussion (meta-askssc)

table size

good day,

is there any way/command to identify the perticular table size occupied on the disk?

I have many tables under database,is there any command to understandy the table which is occupying maximum space or the space occupied by all the tables individually?

rgds

more ▼

asked Mar 15 '11 at 03:16 AM in Default

pits gravatar image

pits
830 43 74 83

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

sp_spaceused - that procedure takes a parameter for the name of the table you're interested in.

more ▼

answered Mar 15 '11 at 03:16 AM

ThomasRushton gravatar image

ThomasRushton ♦
29.4k 6 9 36

thaks Thomas,

I have many tables under database,is there any command to understandy the table which is occupying maximum space or the space occupied by all the tables individually?

rgds,

Mar 15 '11 at 03:28 AM pits
Mar 15 '11 at 03:42 AM ThomasRushton ♦

(In case you're not convinced - it is free. Really. And I've used it myself...)

Mar 15 '11 at 04:04 PM ThomasRushton ♦
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x76
x12

asked: Mar 15 '11 at 03:16 AM

Seen: 553 times

Last Updated: Mar 15 '11 at 03:27 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.