Size of SYSAUX tablespace (from 11.2.0.1 to 11.2.0.4)
SYSAUX tablespace has grown to a size of 55G. Please see below space usage by component from awrinfo report.
SYSAUX occupants space usage:
SM/OPTSTAT SYS 42,114.8 MB
SM/AWR SYS 12,418.3 MB
I believe it is due a known issue of system not being able to purge records. Tables SYS.WRI$_OPTSTAT_HISTHEAD_HISTORY and SYS.WRI$_OPTSTAT_HISTGRM_HISTORY are of size 3.7 and 9.7G respectively with million of records.
I recently upgraded database from 11.2.0.1 to 11.2.0.4.
In another database of same version, above two tables are partitioned and reasonably sized. Do i need to run any SQL script or perform any changes to database so that partitions are created and data is purged properly. Isn't it supposed to take care of this issue as soon as database is upgraded? Is it still an issue in 11.2.0.4 version as well? Please share your valuable input if anyone experiencing a same issue and know a solution.