1. 輸入起始snap Id和結束snap Id,收集兩個時刻間段的資料庫性能資料。
起始snap Id和結束snap Id這兩個時間段之間,不能關閉或啟動資料庫,否則會報錯。
注意:
例如輸入起始snap Id為3166,結束snap Id為3168,傳回資訊如下:
Specify the Begin and End Snapshot Ids
Enter value for begin_snap: 3166
Begin Snapshot Id specified: 3166
Enter value for end_snap: 3168
End Snapshot Id specified: 3168
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_1_3166_3168.html. To use this name,
press <return> to continue, otherwise enter an alternative.
Enter value for report_name:
2. 輸入報表名
預設以snap Id命名,可以不輸入。
如下所示為生成的AWR報表樣例:
Report written to awrrpt_1_3166_3168.html