計算sysaux中各主件對sysaux空間的使用!
透過$ORACLE_HOME/rdbm/admin/utlsyxsz.sql指令碼可以估算當前sysaux中各主件對空間的使用情況.
[@more@]SQL> @ E:oracleproduct10.2.0db_1RDBMSADMINutlsyxsz.sql
This script estimates the space required for the SYSAUX tablespace.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Specify the Report File Name
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is utlsyxsz.txt. To use this name,
press
Enter value for report_name: c:aa.txt
Using the report name c:aa.txt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SYSAUX Size Estimation Report
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Estimated at
14:35:55 on 8月 31, 2008 ( 日曜日 ) in Timezone +08:00
DB_NAME HOST_PLATFORM INST STARTUP_TIME PAR
----------- ---------------------------------------- ----- ----------------- ---
* ORCL XYS - Microsoft Windows IA (32-bit) 1 14:25:35 (08/31) NO
~~~~~~~~~~~~~~~~~~~~
Current SYSAUX usage
~~~~~~~~~~~~~~~~~~~~
| Total SYSAUX size: 141.1 MB
|
| Total size of SM/AWR 31.9 MB ( 22.6% of SYSAUX )
| Total size of SM/OPTSTAT 24.3 MB ( 17.2% of SYSAUX )
| Total size of EM 49.6 MB ( 35.2% of SYSAUX )
| Total size of WM 6.9 MB ( 4.9% of SYSAUX )
| Total size of LOGMNR 5.9 MB ( 4.2% of SYSAUX )
| Total size of SM/ADVISOR 5.7 MB ( 4.0% of SYSAUX )
| Total size of SM/OTHER 4.9 MB ( 3.5% of SYSAUX )
| Total size of EM_MONITORING_USER 1.6 MB ( 1.1% of SYSAUX )
| Total size of LOGSTDBY 0.9 MB ( 0.6% of SYSAUX )
| Total size of AO 0.8 MB ( 0.5% of SYSAUX )
| Total size of XSOQHIST 0.8 MB ( 0.5% of SYSAUX )
| Total size of STREAMS 0.5 MB ( 0.4% of SYSAUX )
| Total size of JOB_SCHEDULER 0.4 MB ( 0.3% of SYSAUX )
| Total size of TSM 0.3 MB ( 0.2% of SYSAUX )
| Total size of Others 6.9 MB ( 4.9% of SYSAUX )
|
~~~~~~~~~~~~~~~~~~~~
AWR Space Estimation
~~~~~~~~~~~~~~~~~~~~
| To estimate the size of the Automatic Workload Repository (AWR)
| in SYSAUX, we need the following values:
|
| - Interval Setting (minutes)
| - Retention Setting (days)
| - Number of Instances
| - Average Number of Active Sessions
| - Number of Datafiles
|
| For 'Interval Setting',
| Press
| otherwise enter an alternative
|
Enter value for interval:
** Value for 'Interval Setting': 60
|
| For 'Retention Setting',
| Press
| otherwise enter an alternative
|
Enter value for retention:
** Value for 'Retention Setting': 7
|
| For 'Number of Instances',
| Press
| otherwise enter an alternative
|
Enter value for num_instances:
** Value for 'Number of Instances': 1
|
| For 'Average Number of Active Sessions',
| Press
| otherwise enter an alternative
|
Enter value for active_sessions:
** Value for 'Average Number of Active Sessions': 3.05
| ***************************************************
| Estimated size of AWR: 125.9 MB
|
| The AWR estimate was computed using
| the following values:
|
| Interval - 60 minutes
| Retention - 7.00 days
| Num Instances - 1
| Active Sessions - 3.05
| Datafiles - 5
| ***************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Optimizer Stat History Space Estimation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| To estimate the size of the Optimizer Statistics History
| we need the following values:
|
| - Number of Tables in the Database
| - Number of Partitions in the Database
| - Statistics Retention Period (days)
| - DML Activity in the Database (level)
|
| For 'Number of Tables',
| Press
| otherwise enter an alternative
|
Enter value for number_of_tables:
** Value for 'Number of Tables': 48
|
| For 'Number of Partitions',
| Press
| otherwise enter an alternative
|
Enter value for number_of_partitions:
** Value for 'Number of Partitions': 0
|
| For 'Statistics Retention',
| Press
| otherwise enter an alternative
|
Enter value for stats_retention:
** Value for 'Statistics Retention': 31
|
| For 'DML Activity',
| Press
| otherwise enter an alternative <1=low, 2=medium, 3=high>
|
Enter value for dml_activity:
** Value for 'DML Activity': 2
| ***************************************************
| Estimated size of Stats history 16.7 MB
|
| The space for Optimizer Statistics history was
| estimated using the following values:
|
| Tables - 48
| Indexes - 149
| Columns - 486
| Partitions - 0
| Indexes on Partitions - 0
| Columns in Partitions - 0
| Stats Retention in Days - 31
| Level of DML Activity - Medium
| ***************************************************
~~~~~~~~~~~~~~~~~~~~~~
Estimated SYSAUX usage
~~~~~~~~~~~~~~~~~~~~~~
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Estimated size of AWR: 125.9 MB
|
| The AWR estimate was computed using
| the following values:
|
| Interval - 60 minutes
| Retention - 7.00 days
| Num Instances - 1
| Active Sessions - 3.05
| Datafiles - 5
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Estimated size of Stats history 16.7 MB
|
| The space for Optimizer Statistics history was
| estimated using the following values:
|
| Tables - 48
| Indexes - 149
| Columns - 486
| Partitions - 0
| Indexes on Partitions - 0
| Columns in Partitions - 0
| Stats Retention in Days - 31
| Level of DML Activity - Medium
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| For all the other components, the estimate
| is equal to the current space usage of
| the component.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
| ***************************************************
| Summary of SYSAUX Space Estimation
| ***************************************************
| Est size of EM 49.6 MB
| Est size of WM 6.9 MB
| Est size of LOGMNR 5.9 MB
| Est size of SM/ADVISOR 5.7 MB
| Est size of SM/OTHER 4.9 MB
| Est size of EM_MONITORING_USER 1.6 MB
| Est size of LOGSTDBY 0.9 MB
| Est size of AO 0.8 MB
| Est size of XSOQHIST 0.8 MB
| Est size of STREAMS 0.5 MB
| Est size of JOB_SCHEDULER 0.4 MB
| Est size of TSM 0.3 MB
| Est size of Others 6.9 MB
| Est size of SM/AWR 125.9 MB
| Est size of SM/OPTSTAT 16.7 MB
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Total Estimated SYSAUX size: 227.6 MB
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ***************************************************
End of Report
SQL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19602/viewspace-1009880/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE的SYSAUX 表空間OracleUX
- 32、SYSAUX表空間UX
- Oracle清理SYSAUX表空間OracleUX
- 2.5.4.1 關於SYSAUX表空間UX
- 認識 SYSAUX 表空間(zt)UX
- 修復受損的SYSAUX表空間UX
- SYSAUX表空間清理之SM/OPTSTATUX
- AWR佔用sysaux表空間太大UX
- oracle之 SYSAUX表空間維護OracleUX
- SYSAUX表空間管理及恢復UX
- 4.2.1.7 規劃 SYSTEM 和 SYSAUX 表空間UX
- sysaux 表空間爆滿處理方法UX
- sysaux 表空間不足問題處理UX
- SYSAUX表空間使用率高問題處理UX
- 10G 新特性系列: SYSAUX 表空間UX
- SYSAUX 表空間歷史統計資料過大purgeUX
- Oracle SYSAUX表空間使用率超過警戒閥值OracleUX
- oracle10g的sysaux空間暴增與空間回收-轉載OracleUX
- SYSAUX表空間滿對資料庫的影響以及解決措施UX資料庫
- sysaux表空間檔案損壞的處理(zt)UX
- Oracle SYSAUX 表空間使用率100% 導致的DB 故障OracleUX
- oracle sysaux表空間滿了處理辦法OracleUX
- 從system/sysaux空間轉移TABLE&Index到其它表空間UXIndex
- AWR不自動刪除導致SYSAUX表空間滿UX
- 記一次sysaux表空間壞塊修復UX
- 10g ORACLE_HOME空間滿導致SYSAUX表空間離線OracleUX
- Oracle10g以上sysaux表空間的維護和清理OracleUX
- Oracle案例08——xx.xx.xx.xx,表空間 SYSAUX 使用率>95%%OracleUX
- 2.5.4 為 SYSAUX 表空間指定資料檔案屬性UX
- 【AWR】該怎樣清理SYSAUX表空間相關資料UX
- oracle 11g sysaux表空間使用率非常高的問題解決OracleUX
- sysaux bigUX
- SYSAUX 說明UX
- The SYSAUX Tablespace (40)UX
- AWR資料導致SYSAUX表空間一直增長的問題UX
- OGG相關的CPATURE導致SYSAUX表空間異常暴增處理UX
- SYSAUX表空間佔用過大情況下的處理(AWR資訊過多)UX
- 【AWR】清理SYSAUX表空間資料(第三季非暴力不合作)UX