Hi Srinivas
Sorry to be a bit blunt:
select count (*) from (select segment_name, (sum(bytes)/(1024*1024*1024) ) from dba_extents --- or dba_segments group by segment_name having (sum(bytes)/(1024*1024*1024)) >1 );
Kresimir Fabijanic Kommareddy, Srinivas (MED, Wissen Infotech) wrote:
Hi All,
Can somebody give a simple query to find
the count(*) of objects which have size >1 Gig
its not this.
select segment_name, round(sum(bytes)/1024/1024/1024) from dba_segmnets
group by segment_name
having round(sum(bytes)/1024/1024/1024) >1;
Need just count(*) of objects in the db > 1Gig size
Tx and Regards,
Srinivas