how to find fastest growing object [message #379061] |
Sun, 04 January 2009 05:12 |
oradbaexp
Messages: 16 Registered: January 2009
|
Junior Member |
|
|
Hi
How can we find the object (table/indexes etc) which is causing the tablespace growth? or in other words How to find the fastest growing segment/segments in a tablespace?
The case:(though hypothetical, but close to Real)
Db size : around 1 TB
Tablespace size: 200 GB
In two days we added 10 datafiles of aroung 1.5 GB each because of space shortage.
We found the largest segments from dba_segments and dba_data_files, but the question is :just the largest segment may not be the segment/segments that are consuming spaces.There can be many small sized objects which are getting created and consuming space.
Thanks.. in advance.
Regards...
|
|
|
|
Re: how to find fastest growing object [message #379067 is a reply to message #379062] |
Sun, 04 January 2009 06:33 |
oradbaexp
Messages: 16 Registered: January 2009
|
Junior Member |
|
|
thanks...
But i said that we found. But when there is constant eating away of space by some segemnts/processes which we dont know,people cannot wait to compare data for 2 -3 days.
Is there any other way?
Like any tool, query, procedure?
Thanks..
Regards..
|
|
|
|
|
|
Re: how to find fastest growing object [message #380982 is a reply to message #379281] |
Wed, 14 January 2009 11:58 |
JRowbottom
Messages: 5933 Registered: June 2006 Location: Sunny North Yorkshire, ho...
|
Senior Member |
|
|
Can you not look at Dba_data_files to get the file_id's of the files that you've added, and then look at DBA_EXTENTS to see which Segments have the most extents in those files?
|
|
|