Quantcast
Channel: SCN : Discussion List - SAP on Oracle
Viewing all articles
Browse latest Browse all 1892

SYSAUX Tablespace growing rapidly

$
0
0

Hi,

 

In one of the production system SYSAUX tablespace is growing rapidly,the statistics retention period for 31 days, but the  statistics exists since last year. Optimizer Statistics History size is 77GB.Oracle version is 11.2.0.2.0.

 

SQL> select trunc(SAVTIME),count(1) from WRI$_OPTSTAT_HISTHEAD_HISTORY group by  trunc(SAVTIME) order by 1;

 

26-JUL-13        93263
27-JUL-13       109740
28-JUL-13        77648

 

559 rows selected.

The data exists  since last year

SQL> select occupant_desc, space_usage_kbytes  from v$sysaux_occupants  where space_usage_kbytes > 0 order by space_usage_kbytes desc   ;

 

OCCUPANT_DESC                                                    SPACE_USAGE_KBYTES

---------------------------------------------------------------- ------------------

Server Manageability - Optimizer Statistics History                        81431168

Server Manageability - Automatic Workload Repository                        7363072

Server Manageability - Advisor Framework                                      44288

LogMiner                                                                      12544

Server Manageability - Other Components                                        8896

Transaction Layer - SCN to TIME mapping                                        3328

SQL Management Base Schema                                                     1728

PL/SQL Identifier Collection                                                   1600

Analytical Workspace Object Table                                              1536

OLAP API History Tables                                                        1536

Logical Standby                                                                1408

Oracle Streams                                                                 1024

Enterprise Manager Monitoring User                                              896

Unified Job Scheduler                                                           384

Automated Maintenance Tasks                                                     320

 

15 rows selected.

 

If we execute the command exec dbms_stats.purge_stats(sysdate-31);

It will delete the statistics older than 31 days.

 

Please suggest after deleting the old statistics which actions required.

 

Regards

Chandrashekar


Viewing all articles
Browse latest Browse all 1892

Trending Articles