码迷,mamicode.com
首页 > 数据库 > 详细

Oracle无法生成awr报告 ORA-20200错误

时间:2020-01-12 00:05:57      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:awr   strong   启用   数据   starting   isa   started   RoCE   返回   

生成awr报告的过程中,发生awr报告没有快照,并返回ORA-20200错误。

查看dba_hist_active_session_history发现有数据,判断mmon和mmnl后台进程的问题,故需要重新启动mmon和mmnl后台进程

 

方法一:

重启数据库

 

方法二:

启用restricted模式,再立马禁用:

alter system enable restricted session;
alter system disable restricted session;  

 

alter日志

Stopping background process MMNL
Sat Jan 11 22:07:07 2020
Stopping background process MMON
Sat Jan 11 22:07:39 2020
Background process MMON not dead after 30 seconds
Sat Jan 11 22:07:39 2020
Killing background process MMON
Sat Jan 11 22:08:15 2020
Starting background process MMON
MMON started with pid=19, OS id=2957544
Sat Jan 11 22:08:15 2020
Starting background process MMNL
MMNL started with pid=55, OS id=4960290
Sat Jan 11 22:08:15 2020
ALTER SYSTEM enable restricted session;
Sat Jan 11 22:08:15 2020
ALTER SYSTEM disable restricted session;

Oracle无法生成awr报告 ORA-20200错误

标签:awr   strong   启用   数据   starting   isa   started   RoCE   返回   

原文地址:https://www.cnblogs.com/hanglinux/p/12181549.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!