日期:2014-05-16  浏览次数:20463 次

ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool","BEGIN

?EXP-00008: ORACLE error 4031 encountered

?ORA-04031: unable to allocate 4096 bytes of shared memory

?("shared pool","BEGIN :EXEC_STR := SYS.DBMS...","PL/SQL MPCODE","BAMIMA: Bam Buffe

??

? 二、错误原因:

? 共享内存太小,存在一定碎片,没有有效的利用保留区,造成无法分配合适的共享区。

??

? 三、解决步骤:

? 1.查看当前环境

? SQL> ?show sga

??

? Total System Global Area 566812832 bytes

? Fixed Size ? ? ? ? ?73888 bytes

? Variable Size ? ? ? 28811264 bytes

? Database Buffers ? ? 536870912 bytes

? Redo Buffers ? ? ? ?1056768 bytes

??

? show parameter shared_pool

? NAME ? ? ? ? ? ? ? ? TYPE ?VALUE

? ------------------------------------ ------- -----

? shared_pool