新裝了一臺oracle服務器 sql
裝好後修改參數,結果一不當心 服務器
SQL> alter system set sga_target = 1320 scope = spfile; oracle
System altered spa
sga_target漏了內存單位M 內存
結果shutdown immediate再startup ci
SQL> startup;
ORA-00093: _shared_pool_reserved_min_alloc must be between 4000 and 0 get
解決辦法 it
SQL> create pfile = '/oracle/tmp_init.ora' from spfile; io
File created. file
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.