暂无图片
分享
卢春龙
2019-07-24
AWR没有生成是什么原因

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


   DB Id     Inst Num DB Name      Instance     Host

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

  1396446622        1 ORCL         orcl         YL-XMK3DB2-D

                                                EV

* 4157808399        1 K3DBSIT      k3dbsit      YL-XMK3DB2-D

                                                EV

  1396446622        2 ORCL         orcl2        yl-xmk3db2


Using 4157808399 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.



Enter value for num_days: 1


Listing the last day's Completed Snapshots



Specify the Begin and End Snapshot Ids

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

Enter value for begin_snap: 


收藏
分享
3条回答
默认
最新
卢春龙

SYS@k3dbsit>select * from dba_hist_wr_control;


   DB Id    SNAP_INTERVAL        RETENTION            TOPNSQL

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

 4157808399 +00000 01:00:00.0    +00008 00:00:00.0    DEFAULT

 1396446622 +00000 01:00:00.0    +00008 00:00:00.0    DEFAULT

为什么没有AWR生成呢

暂无图片 评论
暂无图片 有用 0
lastwinner
查dba_hist_snapshot,看最大的snap_id对应的时间是什么时候的
暂无图片 评论
暂无图片 有用 0
卢春龙
问题已关闭: 问题已经得到解决
暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏