SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 3月 18 09:33:44 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect /as sysdba
已连接。
SQL> @awrrpt
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
----------- ------------ -------- ------------
1986166942 KMS 1 kms
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'
输入 report_type 的值: text
Type Specified: text
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
------------ -------- ------------ ------------ ------------
* 1986166942 1 KMS kms testserver
Using 1986166942 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.
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
输入 begin_snap 的值:
6634
Begin Snapshot Id specified: 6634
输入 end_snap 的值: 6681
End Snapshot Id specified: 6681
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_1_6634_6681.txt. To use this name,
press <return> to continue, otherwise enter an alternative.
输入 report_name 的值:
<此部分内容为生成的awrrpt报告的内容>
End of Report
Report written to awrrpt_1_6682_6739.txt