創(chuàng)新互聯(lián)專注于全椒企業(yè)網(wǎng)站建設,
成都響應式網(wǎng)站建設,
商城網(wǎng)站建設。全椒網(wǎng)站建設公司,為全椒等地區(qū)提供建站服務。全流程按需求定制網(wǎng)站,專業(yè)設計,全程項目跟蹤,
創(chuàng)新互聯(lián)專業(yè)和態(tài)度為您提供的服務/>1、本機命令行連接oracle數(shù)據(jù)庫
sqlplus /nolog
SQL> conn system/oracle@98149
2、執(zhí)行生成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.
-----------------------------------------------------------------此處輸入需要查看報告的天數(shù)
輸入 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 的值:
網(wǎng)頁標題:本機生成遠程數(shù)據(jù)庫AWR報告-創(chuàng)新互聯(lián)
分享網(wǎng)址:http://jinyejixie.com/article32/jeipc.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供App開發(fā)、響應式網(wǎng)站、域名注冊、微信公眾號、網(wǎng)站排名、建站公司
廣告
聲明:本網(wǎng)站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經(jīng)允許不得轉載,或轉載時需注明來源:
創(chuàng)新互聯(lián)