天天看点

1.4.1 收集awr报表 5

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