Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to freeup space in SYSAUX caused by AWR?

Beauty_and_dBestJan 2 2019 — edited Jan 15 2019

11g

OL6

Hi ALL,

Happy New Year to ALL!!!

We have issues of ever increasing SYSAUX tablespace caused by AWR data.

pastedImage_0.png

Based on the report the object that eats a lot of space in AWR is SM/OPTSTAT and SM/ADVISOR.

pastedImage_1.png

How do I purge the two biggest space users above? Or how to drop and recreate them?

Which are their counterpart segments using the query below? or how to map them?

pastedImage_0.png

I already tried to drop and recreate the AWR metadata using:

SQL> connect / as sysdba
SQL> @?/rdbms/admin/catnoawr.sql
SQL> @?/rdbms/admin/catawrtb.sql

SQL> select dbid,min(snap_id),max(snap_id) from DBA_HIST_SNAPSHOT group by dbid;

no rows selected

But still the two objects (opstat & advisor) occupying large space in SYSAUX were not recreated and still hugging the space

Do all TABLESPACES have V$OCCUPANTS dictionary view like SYSAUX?

Please help....

Kind regards,

This post has been answered by AJ on Jan 2 2019
Jump to Answer
Comments
Post Details
Added on Jan 2 2019
38 comments
12,963 views