Oracle 周末 报错ORA-04031

Posted luhp1991

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle 周末 报错ORA-04031相关的知识,希望对你有一定的参考价值。

早上打开电脑,CRT满屏 4031,脑袋都炸了

Mon Mar 19 05:55:25 CST 2018
Errors in file /u01/app/oracle/admin/OMS10G/bdump/oms10g_cjq0_23214.trc:
ORA-00604: error occurred at recursive SQL level ORA-00604: error occurred at recursive SQL level 2
ORA-04031: unable to allocate 32 bytes of shared memory ("shared pool","select timestamp, flags from...","sql area","tmp")

使用pl/sql查看数据库,报同样的错,无法登录

登录数据库服务器sqlplus / as sysdba ,可以登录,执行sql报同样的错,shutdown immediate,不能正常执行。

为了能够使测试正常运行,使出了最大的杀手锏

ps -ef|grep ora_smon

kill -9

最后sqlplus / as sysdba

startup

重启APP,正常运行。现在该去检查错误去了……




以上是关于Oracle 周末 报错ORA-04031的主要内容,如果未能解决你的问题,请参考以下文章

ORA-04031: Unable To Allocate 32 Bytes Of Shared Memory

[oracle]ORA-04031: unable to allocate bytes of shared memory ("shared pool","unknown

ORA-04031错误导致shared_pool问题

ORA-04031

ORA-04031:unable to allocate 4120 bytes of shared memory ‘obj stat mem’故障解决

oracle数据库sql递归错误