用docker启动的oracle,重启后数据库访问失败
昨天更改了oracle数据库的最大连接数,然后手动重启了docker,以为数据库就直接启动了,没想到报错了
报错类似于一下文章
https://blog.****.net/h106140873/article/details/103251534
SQL> startup ORA-00821: Specified value of sga_target 980M is too small, needs to be at least 1164M ORA-01078: failure in processing system parameters
我是通过更给'/u01/app/oracle/product/12.1.0/xe/dbs/initxe.ora' 下的参数,sga_target,然后
startup pfile='/u01/app/oracle/product/12.1.0/xe/dbs/initxe.ora'
重新启动就可以了