SYSAUX Tablespace [message #515912] |
Thu, 14 July 2011 03:22 |
|
gxeon
Messages: 53 Registered: January 2011 Location: Mumbai
|
Member |
|
|
Hello Sir
In my Production Database,the SYSAUX tablespace is 80% full now and i want to make some more free space by removing old snapshots by using the fallowing statement.
BEGIN dbms_workload_repository.drop_snapshot_range(low_snap_id => X, high_snap_id=>Y);
END;
Is it the correct way to free up SYSAUX tablespace and if i do it will be affect some other part of Database.
please Help
I am new to Oracle DBA.
GG
|
|
|
|
Re: SYSAUX Tablespace [message #516117 is a reply to message #515946] |
Fri, 15 July 2011 02:49 |
raj9999
Messages: 49 Registered: June 2011
|
Member |
|
|
Hi gxeon,
Try to find the objects which are taking large amount of space in SYSAUX tablespace through below queries. once done, post the output.
col Mb form 9,999,999
col SEGMENT_NAME form a40
col SEGMENT_TYPE form a6
set lines 120
select sum(bytes/1024/1024) Mb, segment_name,segment_type from dba_segments
where tablespace_name = 'SYSAUX'
and segment_name like 'WRI$_OPTSTAT%'
and segment_type='TABLE'
group by segment_name,segment_type order by 1 asc
/
col Mb form 9,999,999
col SEGMENT_NAME form a40
col SEGMENT_TYPE form a6
set lines 120
select sum(bytes/1024/1024) Mb, segment_name,segment_type from dba_segments
where tablespace_name = 'SYSAUX'
and segment_name like '%OPT%'
and segment_type='INDEX'
group by segment_name,segment_type order by 1 asc
/
|
|
|
Re: SYSAUX Tablespace [message #516124 is a reply to message #516117] |
Fri, 15 July 2011 03:06 |
|
Michel Cadot
Messages: 68716 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
And then what will you do with the result?
Why "segment_name like 'WRI$_OPTSTAT%'" and "segment_name like '%OPT%'"?
regards
Michel
|
|
|