本機生成遠端資料庫AWR報告
1、本機命令列連線oracle資料庫
sqlplus /nolog
SQL> conn system/oracle@98149
2、執行生成AWR報告命令
SQL> @?/rdbms/admin/awrrpt.sql
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
----------- ------------ -------- ------------
1244647887 ORAL 1 oral
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'
-----------------------------------------------------------------此處輸入html
輸入 report_type 的值: html
Type Specified: html
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
------------ -------- ------------ ------------ ------------
* 1244647887 1 ORAL oral s11ora11
Using 1244647887 for database Id
Using 1 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.
-----------------------------------------------------------------此處輸入需要檢視報告的天數
輸入 num_days 的值: 1
Listing the last day's Completed Snapshots
Snap
Instance DB Name Snap Id Snap Started Level
------------ ------------ --------- ------------------ -----
oral ORAL 17512 23 3月 2018 00:00 1
17513 23 3月 2018 00:30 1
17514 23 3月 2018 01:00 1
17515 23 3月 2018 01:30 1
17516 23 3月 2018 02:00 1
17517 23 3月 2018 02:30 1
17518 23 3月 2018 03:00 1
17519 23 3月 2018 03:30 1
17520 23 3月 2018 04:00 1
17521 23 3月 2018 04:30 1
17522 23 3月 2018 05:00 1
17523 23 3月 2018 05:30 1
17524 23 3月 2018 06:00 1
17525 23 3月 2018 06:30 1
17526 23 3月 2018 07:00 1
17527 23 3月 2018 07:30 1
17528 23 3月 2018 08:00 1
17529 23 3月 2018 08:30 1
17530 23 3月 2018 09:00 1
-----------------------------------------------------------------輸入對應時間的snap_id
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
輸入 begin_snap 的值: 17529
Begin Snapshot Id specified: 17529
輸入 end_snap 的值: 17530
End Snapshot Id specified: 17530
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_1_17529_17530.html. To use this name,
press <return> to continue, otherwise enter an alternative.
-----------------------------------------------------------------直接回車,在命令列啟動目錄路徑下生成報告
輸入 report_name 的值:
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29519108/viewspace-2152152/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 達夢資料庫如何來配置並生成AWR報告資料庫
- plsql本機不安裝資料庫連線遠端資料庫SQL資料庫
- 本機資料庫資料庫鏈無法訪問遠端資料庫資料庫
- Oracle生成awr報告Oracle
- Oracle 生成awr報告Oracle
- 遠端資料庫AWR 匯入到本地分析資料庫
- 獲取Oracle資料庫awr報告方法Oracle資料庫
- 手工生成AWR分析報告
- 【AWR】Oracle批量生成awr報告指令碼Oracle指令碼
- 生成awr報告的指令碼指令碼
- 自動生成AWR HTML報告HTML
- 【AWR】自動生成AWR報告指令碼以及用法指令碼
- 達夢資料庫AWR報告日常管理方法資料庫
- 定時自動生成awr報告
- 指令碼:定時生成awr報告指令碼
- ORACLE 11G生成AWR報告Oracle
- AWR報告自動生成指令碼指令碼
- 自動生成awr報告指令碼指令碼
- 如何在12.2版本ADG備庫生成AWR報告
- awr報告每天自動生成指令碼指令碼
- 轉貼:批量生成awr報告指令碼指令碼
- 如何使用AWR報告來診斷資料庫效能問題資料庫
- Oracle 11g RAC 如何生成AWR報告?Oracle
- Oracle 11g RAC生成 AWR 報告方法Oracle
- 【SchemaSpy】使用SchemaSpy開源工具生成資料庫報告開源工具資料庫
- shell指令碼實現自動生成awr報告指令碼
- 手工生成AWR執行期對比報告記錄
- 遠端資料庫恢復資料庫
- Oracle資料庫(單機)巡檢報告Oracle資料庫
- 【AWR】Oracle資料庫匯出效能報告幾個指令碼的小說明Oracle資料庫指令碼
- 一個自動生成awr報告的shell指令碼指令碼
- 遠端連線mysql資料庫MySql資料庫
- DUPLICATE遠端複製資料庫資料庫
- IMPDP匯入遠端資料庫資料庫
- oracle實用sql(9)--批量生成一天的ash報告或awr報告OracleSQL
- 【AWR】Oracle資料庫建立awr基線Oracle資料庫
- AWR解析報告分析
- mysql-awr報告MySql