Oracle 11g 手工跑AWR報告
[root@test ~]# su - oracle
[oracle@test ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Tue Oct 17 21:28:22 2017
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> @?/rdbms/admin/awrrpt.sql;
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
----------- ------------ -------- ------------
879502600 SCPRD 2 SCPRD2
Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Would you like an HTML report, or a plain text report?
Enter 'html' for an HTML report, or 'text' for plain text
Defaults to 'html'
Enter value for report_type:
Type Specified: html
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
------------ -------- ------------ ------------ ------------
* 879502600 2 SCPRD SCPRD2 wmsbjdb2
879502600 1 SCPRD SCPRD1 wmsbjdb1
Using 879502600 for database Id
Using 2 for instance number
Specify the number of days of snapshots to choose from
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entering the number of days (n) will result in the most recent
(n) days of snapshots being listed. Pressing <return> without
specifying a number lists all completed snapshots.
Enter value for num_days: 1
Listing the last day's Completed Snapshots
Snap
Instance DB Name Snap Id Snap Started Level
------------ ------------ --------- ------------------ -----
SCPRD2 SCPRD 11337 17 Oct 2017 00:00 1
11338 17 Oct 2017 01:00 1
11339 17 Oct 2017 02:00 1
11340 17 Oct 2017 03:00 1
11341 17 Oct 2017 04:00 1
11342 17 Oct 2017 05:00 1
11343 17 Oct 2017 06:00 1
11344 17 Oct 2017 07:00 1
11345 17 Oct 2017 08:00 1
11346 17 Oct 2017 09:00 1
11347 17 Oct 2017 10:00 1
11348 17 Oct 2017 11:00 1
11349 17 Oct 2017 12:00 1
11350 17 Oct 2017 13:00 1
11351 17 Oct 2017 14:00 1
11352 17 Oct 2017 15:00 1
11353 17 Oct 2017 16:00 1
11354 17 Oct 2017 17:00 1
11355 17 Oct 2017 18:00 1
11356 17 Oct 2017 19:00 1
11357 17 Oct 2017 20:00 1
11358 17 Oct 2017 21:00 1
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 11346
Begin Snapshot Id specified: 11346
Enter value for end_snap: 11347
End Snapshot Id specified: 11347
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_2_11346_11347.html. To use this name,
press <return> to continue, otherwise enter an alternative.
Enter value for report_name:
Using the report name awrrpt_2_11346_11347.html
......
<p />
End of Report
</body></html>
Report written to awrrpt_2_11346_11347.html
生成的AWR的html檔案在當前目錄下。
[oracle@test ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Tue Oct 17 21:28:22 2017
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> @?/rdbms/admin/awrrpt.sql;
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
----------- ------------ -------- ------------
879502600 SCPRD 2 SCPRD2
Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Would you like an HTML report, or a plain text report?
Enter 'html' for an HTML report, or 'text' for plain text
Defaults to 'html'
Enter value for report_type:
Type Specified: html
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
------------ -------- ------------ ------------ ------------
* 879502600 2 SCPRD SCPRD2 wmsbjdb2
879502600 1 SCPRD SCPRD1 wmsbjdb1
Using 879502600 for database Id
Using 2 for instance number
Specify the number of days of snapshots to choose from
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entering the number of days (n) will result in the most recent
(n) days of snapshots being listed. Pressing <return> without
specifying a number lists all completed snapshots.
Enter value for num_days: 1
Listing the last day's Completed Snapshots
Snap
Instance DB Name Snap Id Snap Started Level
------------ ------------ --------- ------------------ -----
SCPRD2 SCPRD 11337 17 Oct 2017 00:00 1
11338 17 Oct 2017 01:00 1
11339 17 Oct 2017 02:00 1
11340 17 Oct 2017 03:00 1
11341 17 Oct 2017 04:00 1
11342 17 Oct 2017 05:00 1
11343 17 Oct 2017 06:00 1
11344 17 Oct 2017 07:00 1
11345 17 Oct 2017 08:00 1
11346 17 Oct 2017 09:00 1
11347 17 Oct 2017 10:00 1
11348 17 Oct 2017 11:00 1
11349 17 Oct 2017 12:00 1
11350 17 Oct 2017 13:00 1
11351 17 Oct 2017 14:00 1
11352 17 Oct 2017 15:00 1
11353 17 Oct 2017 16:00 1
11354 17 Oct 2017 17:00 1
11355 17 Oct 2017 18:00 1
11356 17 Oct 2017 19:00 1
11357 17 Oct 2017 20:00 1
11358 17 Oct 2017 21:00 1
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 11346
Begin Snapshot Id specified: 11346
Enter value for end_snap: 11347
End Snapshot Id specified: 11347
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_2_11346_11347.html. To use this name,
press <return> to continue, otherwise enter an alternative.
Enter value for report_name:
Using the report name awrrpt_2_11346_11347.html
......
<p />
End of Report
</body></html>
Report written to awrrpt_2_11346_11347.html
生成的AWR的html檔案在當前目錄下。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22996654/viewspace-2146079/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 11g 手工跑ASH報告Oracle
- 手工生成AWR分析報告
- ORACLE 11G生成AWR報告Oracle
- Oracle 11g RAC 如何生成AWR報告?Oracle
- Oracle 11g RAC生成 AWR 報告方法Oracle
- Oracle生成awr報告Oracle
- Oracle 生成awr報告Oracle
- oracle效能awr報告Oracle
- 手工生成AWR執行期對比報告記錄
- 【AWR】Oracle批量生成awr報告指令碼Oracle指令碼
- Oracle AWR報告大綱Oracle
- oracle 產生awr 報告Oracle
- oracle AWR報告提取分析Oracle
- ORACLE AWR報告詳細分析Oracle
- oracle特性之AWR報告2Oracle
- Oracle AWR報告詳細解讀Oracle
- Oracle AWR報告分析之–SQL ordered byOracleSQL
- Oracle 10g AWR 報告分析Oracle 10g
- ORACLE AWR效能報告和ASH效能報告的解讀Oracle
- Oracle AWR與ASH效能報告深入解析Oracle
- Oracle11.2新增GLOBAL AWR報告Oracle
- oracle 10g awr報告的收集Oracle 10g
- Oracle的AWR報告分析(簡潔版)Oracle
- Oracle_AWR報告分析指南(經典版)Oracle
- 獲取Oracle資料庫awr報告方法Oracle資料庫
- oracle 10g以上版本,awr報告使用Oracle 10g
- 使用shell自動傳送Oracle AWR報告Oracle
- AWR解析報告分析
- mysql-awr報告MySql
- Oracle 11g AWR 系列六:使用 AWR 檢視Oracle
- oracle 11g手工建庫Oracle
- Oracle 12.2 physical standby備庫收集AWR報告Oracle
- 【效能調優】Oracle AWR報告指標全解析Oracle指標
- Oracle的AWR報告分析(經典串聯版)Oracle
- Oracle AWR 介紹及報告分析(2) finalOracle
- Oracle AWR 介紹及報告分析(1) finalOracle
- AWR報告基礎操作
- oracle實用sql(9)--批量生成一天的ash報告或awr報告OracleSQL