oracle备库收集awr,Oracle 12.2 physical standby备库收集AWR报告

SQL> @?/rdbms/admin/awrrpti.sql

Specify the Report Type

~~~~~~~~~~~~~~~~~~~~~~~

AWR reports can be generated in the   following formats.  Please enter the

name of the format at the prompt. Default   value is 'html'.

'html'          HTML format   (default)

'text'          Text format

'active-html'   Includes   Performance Hub active report

Enter value for report_type: html

Type Specified: html

Instances in this Workload Repository   schema

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

DB Id      Inst Num   DB Name      Instance     Host

------------ ---------- ---------    ----------   ------

524737559      1        LTACTEST     LTACTEST     ORADB-53154.

* 4166033225     1      LTACTEST     LTACTEST     ORADB-53163.

Enter value for dbid: 524737559

Using 524737559 for database Id

Enter value for inst_num: 1

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 without

specifying a number lists all completed   snapshots.

Enter value for num_days: 1

Listing the last day's Completed   Snapshots

Instance     DB Name      Snap Id       Snap Started    Snap Level

------------ ------------ ----------   ------------------ ----------

LTACTEST     LTACTEST             1  04 Sep 2019 15:41    1

2  04 Sep 2019 15:42    1

Specify the Begin and End Snapshot Ids

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Enter value for begin_snap: 1

Begin Snapshot Id specified: 1

Enter value for end_snap: 2

End     Snapshot Id specified: 2

Specify the Report Name

~~~~~~~~~~~~~~~~~~~~~~~

The default report file name is   awrrpt_1_1_2.html.  To use this name,

press to continue,   otherwise enter an alternative.

Enter value for report_name:

Using the report name awrrpt_1_1_2.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值