解决ORA-04031:unable to allocate 56bytes of shared memory
登录PL/SQL Developer出现ORA-04031错误。
解决方式:
- 用oracle账号登录linux服务器
- 进入sqlplus
sqlplus / as sysdba - 查看sga大小
show parameter sga;
![image]()
- 扩大sga空间
alter system set sga_max_size=10G scope=spfile;
alter system set sga_target=10G scope=spfile; - 关机重启
shutdown normal
startup


浙公网安备 33010602011771号