dbTalk Databases Forums  

Storage used by a table

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Storage used by a table in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sashi
 
Posts: n/a

Default Storage used by a table - 10-08-2009 , 08:59 AM






Hi all, I have a table that has about 8 million rows and I'd like to
be able to find the space used by the table.
Is there a quick and easy way of doing that?
How do I also calculate space used by all the indexes of the table?

TIA,
Sashi

Reply With Quote
  #2  
Old   
Michel Cadot
 
Posts: n/a

Default Re: Storage used by a table - 10-08-2009 , 10:04 AM






"Sashi" <smalladi (AT) gmail (DOT) com> a écrit dans le message de news: 4698cdc6-02cf-4ffa-a732-b062dea36ed1...oglegroups.com...
Quote:
Hi all, I have a table that has about 8 million rows and I'd like to
be able to find the space used by the table.
Is there a quick and easy way of doing that?
How do I also calculate space used by all the indexes of the table?

TIA,
Sashi
dba_segments

Regards
Michel

Reply With Quote
  #3  
Old   
joel garry
 
Posts: n/a

Default Re: Storage used by a table - 10-08-2009 , 12:11 PM



On Oct 8, 6:59*am, Sashi <small... (AT) gmail (DOT) com> wrote:
Quote:
Hi all, I have a table that has about 8 million rows and I'd like to
be able to find the space used by the table.
Is there a quick and easy way of doing that?
How do I also calculate space used by all the indexes of the table?

TIA,
Sashi
OEM or EM are the easiest, if you have them running.

For EM go to administration, tables, put in the table and table name
to get some information. For space information, tablespaces, pick
your tablespace, show tablespace contents (shows size and extents),
expand extent map, click on a segment, hover over it to see table.
There may be other ways, too. Of course, this is all just a display
of what Michel said, but I've found it useful. It certainly helps to
understand the tables or views underneath.

jg
--
@home.com is bogus.
Germany has more Muslims than Lebanon.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.