[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Accurate size of Index

Posted on 2004-11-19
2
Medium Priority
?
1,472 Views
Last Modified: 2006-11-17
On Oracle 9i or 10g,

After creating an index, either normal or bitmap:
How can you see its accurate size?
I don't mean the amount of extents taken from the free space.
I'm looking for something like the BLOCKS column from USER_TABLES view after performing an ANALYZE operation.

Thanks
0
Comment
Question by:peledc
2 Comments
 
LVL 1

Accepted Solution

by:
fadeshadow earned 1000 total points
ID: 12629149
select sum(bytes/1024) Ks
from dba_segments
where owner='<owner>'
and segment_name = '<index_name>'


hope it helps

0
 
LVL 1

Author Comment

by:peledc
ID: 12633090
Thanks,

There is also the way of SELECT LEAF_BLOCKS from ind where index_name= '<Index_name>';
and they both produce the same answers.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question