Oracle version 11.1.0.7.0. SYSAUX tablespace is constantly growing. Here are the occupants which are taking up space.
OCCUPANT_NAME Space (M)
---------------------------------------------------------------- -----------
SM/AWR 4,031.00
SM/OPTSTAT 1,250.00
I was able to take care of SM/OPTSTAT but I am having issues with SM/AWR. It grows everyday but I see only 3 snapshots even though retention period for snapshots is 8. I don't understand why the tables are so big when there are few snapshots and they keep growing. How should I go about this problem. I am new to Oracle and come from a DB2 background. what am I missing.
select SNAP_ID,begin_interval_time,end_interval_time from WRM$_SNAPSHOT;
SNAP_ID BEGIN_INTERVAL_TIME END_INTERVAL_TIME
------- ------------------------- -------------------------
23363 31-JUL-12 03.22.44.202 AM 31-JUL-12 03.54.58.684 AM
23365 01-AUG-12 03.23.33.122 AM 01-AUG-12 03.52.52.998 AM
23364 31-JUL-12 03.54.58.684 AM 01-AUG-12 03.23.33.122 AM
But select * from dba_hist_snapshot gives no rows.
Here are the sizes of the tables and all these tables have rows with Snapshots dating back to last year but the dba_history_snapshot has no info and returns 0 rows.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Thanks for the reply. The retention period is set to 8 days. But a select on dba_hist_snapshot view returns 0 rows. But it the WRH$ tables I see snap_id going back to last year. Do you want to delete using dbms_workload_repository.drop_snapshot_range procedure. Please let me know.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Bookmarks