sysaux big
select snap_id,
to_char(begin_interval_time, 'YYYY-MM-DD'),
to_char(end_interval_time, 'YYYY-MM-DD')
from dba_hist_snapshot
order by snap_id;
wrh$_active_session_history
alter table WRH$_ACTIVE_SESSION_HISTORY shrink space;
select snap_id,
to_char(begin_interval_time, 'YYYY-MM-DD'),
to_char(end_interval_time, 'YYYY-MM-DD')
from dba_hist_snapshot
order by snap_id;
1. Check how many partitions do exist for the offending table
select table_name,partition_name from dba_tab_partitions
where table_name = 'WRH$_ACTIVE_SESSION_HISTORY';
2. Try to force the creation of multiple partitions by splitting any current oversized partitions:
alter session set "_swrf_test_action" = 72;
3. Now that we have more partitions and less data per partition for a more unique period of time
Drop snapshots manually using a small[er] range.
DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE(
low_snap_id IN NUMBER,
high_snap_id IN NUMBER
dbid IN NUMBER DEFAULT NULL);
- or -
exec dbms_stats.purge_stats(sysdate-&days);
4. If the drop snapshot did not finish or consume for UNDO space. Terminate the session and wait for a day or two the default auto purge job should automatically drop the old snapshots
DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE(1,9516,1499186110)
Manually Purge the Optimizer Statistics & AWR Snaphots to Reduce Space Usage of SYSAUX Tablespace (文件 ID 1965061.1)
WRH$_ACTIVE_SESSION_HISTORY Does Not Get Purged Based Upon the Retention Policy (文件 ID 387914.1)
NOTE:387914.1 - WRH$_ACTIVE_SESSION_HISTORY Does Not Get Purged Based Upon the Retention Policy
Suggestions if Your SYSAUX Tablespace Grows Rapidly or Too Large (文件 ID 1292724.
Some notes may help with your case:
SYSAUX Grows Because Optimizer Stats History is Not Purged (Doc ID 1055547.1)
Automatic Purge Job Fails with ORA-14758 After Dropping P_PERMANENT Partition Causing SYSAUX Tablespace Growth (Doc ID 1905788.1)
Bug 8553944 - SYSAUX tablespace grows (Doc ID 8553944.8)
NOTE:790039.1 - How to Drop Plans from the SQL Plan Management (SPM) Repository
NOTE:287679.1 - How to Address Issues Where AWR Data Uses Significant Space in the SYSAUX Tablespace
NOTE:387914.1 - WRH$_ACTIVE_SESSION_HISTORY Does Not Get Purged Based Upon the Retention Policy
NOTE:255452.1 - Values for init.ora parameter STATISTICS_LEVEL
NOTE:957630.1 - Health Check Alert: Automatic statistics collection is excessive
NOTE:1369591.1 - Master Note: Optimizer Statistics
NOTE:790039.1 - How to Drop Plans from the SQL Plan Management (SPM) Repository
NOTE:287679.1 - How to Address Issues Where AWR Data Uses Significant Space in the SYSAUX Tablespace
NOTE:387914.1 - WRH$_ACTIVE_SESSION_HISTORY Does Not Get Purged Based Upon the Retention Policy
NOTE:255452.1 - Values for init.ora parameter STATISTICS_LEVEL
to_char(begin_interval_time, 'YYYY-MM-DD'),
to_char(end_interval_time, 'YYYY-MM-DD')
from dba_hist_snapshot
order by snap_id;
wrh$_active_session_history
alter table WRH$_ACTIVE_SESSION_HISTORY shrink space;
select snap_id,
to_char(begin_interval_time, 'YYYY-MM-DD'),
to_char(end_interval_time, 'YYYY-MM-DD')
from dba_hist_snapshot
order by snap_id;
1. Check how many partitions do exist for the offending table
select table_name,partition_name from dba_tab_partitions
where table_name = 'WRH$_ACTIVE_SESSION_HISTORY';
2. Try to force the creation of multiple partitions by splitting any current oversized partitions:
alter session set "_swrf_test_action" = 72;
3. Now that we have more partitions and less data per partition for a more unique period of time
Drop snapshots manually using a small[er] range.
DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE(
low_snap_id IN NUMBER,
high_snap_id IN NUMBER
dbid IN NUMBER DEFAULT NULL);
- or -
exec dbms_stats.purge_stats(sysdate-&days);
4. If the drop snapshot did not finish or consume for UNDO space. Terminate the session and wait for a day or two the default auto purge job should automatically drop the old snapshots
DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE(1,9516,1499186110)
Manually Purge the Optimizer Statistics & AWR Snaphots to Reduce Space Usage of SYSAUX Tablespace (文件 ID 1965061.1)
WRH$_ACTIVE_SESSION_HISTORY Does Not Get Purged Based Upon the Retention Policy (文件 ID 387914.1)
NOTE:387914.1 - WRH$_ACTIVE_SESSION_HISTORY Does Not Get Purged Based Upon the Retention Policy
Suggestions if Your SYSAUX Tablespace Grows Rapidly or Too Large (文件 ID 1292724.
Some notes may help with your case:
SYSAUX Grows Because Optimizer Stats History is Not Purged (Doc ID 1055547.1)
Automatic Purge Job Fails with ORA-14758 After Dropping P_PERMANENT Partition Causing SYSAUX Tablespace Growth (Doc ID 1905788.1)
Bug 8553944 - SYSAUX tablespace grows (Doc ID 8553944.8)
NOTE:790039.1 - How to Drop Plans from the SQL Plan Management (SPM) Repository
NOTE:287679.1 - How to Address Issues Where AWR Data Uses Significant Space in the SYSAUX Tablespace
NOTE:387914.1 - WRH$_ACTIVE_SESSION_HISTORY Does Not Get Purged Based Upon the Retention Policy
NOTE:255452.1 - Values for init.ora parameter STATISTICS_LEVEL
NOTE:957630.1 - Health Check Alert: Automatic statistics collection is excessive
NOTE:1369591.1 - Master Note: Optimizer Statistics
NOTE:790039.1 - How to Drop Plans from the SQL Plan Management (SPM) Repository
NOTE:287679.1 - How to Address Issues Where AWR Data Uses Significant Space in the SYSAUX Tablespace
NOTE:387914.1 - WRH$_ACTIVE_SESSION_HISTORY Does Not Get Purged Based Upon the Retention Policy
NOTE:255452.1 - Values for init.ora parameter STATISTICS_LEVEL
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20747382/viewspace-2130420/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SYSAUX 說明UX
- The SYSAUX Tablespace (40)UX
- 計算sysaux中各主件對sysaux空間的使用!UX
- 32、SYSAUX表空間UX
- Oracle清理SYSAUX表空間OracleUX
- ORACLE的SYSAUX 表空間OracleUX
- Creating the SYSAUX Tablespace (72)UX
- 轉 SYSAUX tablespace 100% fullUX
- 2.5.4.1 關於SYSAUX表空間UX
- Clean WRH$_ACTIVE_SESSION_HISTORY in SYSAUXSessionUX
- 認識 SYSAUX 表空間(zt)UX
- SYSAUX表空間清理之SM/OPTSTATUX
- AWR佔用sysaux表空間太大UX
- oracle之 SYSAUX表空間維護OracleUX
- sysaux和system不支援重新命名!UX
- SYSAUX表空間管理及恢復UX
- 4.2.1.7 規劃 SYSTEM 和 SYSAUX 表空間UX
- sysaux 表空間爆滿處理方法UX
- sysaux 表空間不足問題處理UX
- 修復受損的SYSAUX表空間UX
- Big and Little Endian
- 想要升級Big Sur?你的Mac與Big Sur相容嗎?Mac
- C# split big file into small files as, and merge the small files into big oneC#
- 10G 新特性系列: SYSAUX 表空間UX
- macos big sur正式版釋出,macos big sur安裝教程Mac
- aix lvm big vgAILVM
- macOS Big Sur應用圖示替換教程︳big sur圖示包Mac
- oracle sysaux表空間滿了處理辦法OracleUX
- 【AWR】Suggestions if Your SYSAUX Tablespace Grows Rapidly or Too LargeUXAPI
- macOS Big Sur 11.1更新了!蘋果macOS Big Sur 11.1正式釋出Mac蘋果
- MacOS Big Sur開HiDPIMac
- Go 語言 big.IntGo
- css best practice for big team and projectCSSProject
- Little Endian & Big Endian
- AWR不自動刪除導致SYSAUX表空間滿UX
- 記一次sysaux表空間壞塊修復UX
- sysaux表空間檔案損壞的處理(zt)UX
- SYSAUX表空間使用率高問題處理UX