Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Find out the top 20 biggest tables

Re: Find out the top 20 biggest tables

From: kirtan <kirtan.acharya_at_gmail.com>
Date: 18 Mar 2005 02:07:49 -0800
Message-ID: <1111140469.594939.290050@z14g2000cwz.googlegroups.com>

Ralf Bender wrote:
> Hi
>
> has anyone a script to find out the top 20 biggest tables in a
tablespace?
>
> regards
> ralf

select * from (
select segment_name from user_segments where segment_type='TABLE' and tablespace_name='<tablespacename>' order by bytes desc ) where rownum <=20 Received on Fri Mar 18 2005 - 04:07:49 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US