Database DataWarehousing (MOSC)

MOSC Banner

Query to find size of partition in oracle(it has subpartitions too)

edited May 15, 2019 5:01AM in Database DataWarehousing (MOSC) 4 commentsAnswered

Hi All,

I want to query the size of a particular partition which has got sub partitions too. I am running the following query but not getting any output.

So request to please let me know how can i get the size of a particular partition in oracle.

SQL> SELECT partition_name, bytes/1024/1024 "MB" FROM dba_segments WHERE segment_name = '& TABLE_NAME'  AND segment_type = 'TABLE PARTITION' ;

no rows selected

Regards

Siva

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center