继续 设置sga_target非正常值导致ORA-00093

设置sga_target非正常值导致ORA-00093

新装了一台oracle服务器

装好后修改参数,结果一不小心

SQL> alter system set sga_target = 1320 scope = spfile;

System altered

sga_target漏了内存单位M

结果shutdown immediate再startup

SQL> startup;
ORA-00093: _shared_pool_reserved_min_alloc must be between 4000 and 0

解决办法

SQL> create pfile = '/oracle/tmp_init.ora' from spfile;

File created.

SQL> !echo '*.sga_target=200m' >> '/oracle/tmp_init.ora';

SQL> create spfile from pfile = '/oracle/tmp_init.ora';

File created.

SQL> startup;
ORA-00093: _shared_pool_reserved_min_alloc must be between 4000 and 0
SQL> startup
ORA-00093: _shared_pool_reserved_min_alloc must be between 4000 and 0
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
[oracle@CallCenter-Data tmp]$ sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Oct 24 23:44:51 2008

Copyright (c) 1982, 2005, Oracle. All rights reserved.

SQL> startup
ORA-01031: insufficient privileges
SQL> connect sys / as sysdba
Enter password: 
Connected to an idle instance.
SQL> startup
ORACLE instance started.

Total System Global Area 1610612736 bytes
Fixed Size          2021152 bytes
Variable Size    1543506144 bytes
Database Buffers           50331648 bytes
Redo Buffers       14753792 bytes
Database mounted.
Database opened.

转载于:https://my.oschina.net/nishenvip/blog/145876

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值