oracle 更改启动内存,Oracle 11gR2修改内存参数后无法启动问题
Microsoft Windows [版本 6.1.7600]
版權所有 (c) 2009 Microsoft Corporation。保留所有權利。
C:\windows\system32>net start oracleserviceorcl
OracleServiceORCL 服務正在啟動 ......
OracleServiceORCL 服務已經啟動成功。
C:\windows\system32>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on 星期三 6月 23 15:08:47 2010
Copyright (c) 1982, 2010, Oracle.? All rights reserved.
連接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show sga
Total System Global Area? 535662592 bytes
Fixed Size????????????????? 1375792 bytes
Variable Size???????????? 260047312 bytes
Database Buffers????????? 268435456 bytes
Redo Buffers??????????????? 5804032 bytes
SQL> alter session set sga_max_size=761647104 scope=spfile;
alter session set sga_max_size=761647104 scope=spfile
*
第 1 行出現錯誤:
ORA-02095: 無法修改指定的初始化參數
SQL> alter system set sga_max_size=761647104 scope=spfile;
系統已更改。
SQL> shutdown immediate
數據庫已經關閉。
已經卸載數據庫。
ORACLE 例程已經關閉。
SQL> startup
ORA-00844: Parameter not taking MEMORY_TARGET into account
ORA-00851: SGA_MAX_SIZE 763363328 cannot be set to more than MEMORY_TARGET 750780416.
SQL> startup nomount
ORA-00844: Parameter not taking MEMORY_TARGET into account
ORA-00851: SGA_MAX_SIZE 763363328 cannot be set to more than MEMORY_TARGET 750780416.
SQL> exit
從 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 斷開
C:\windows\system32>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on 星期三 6月 23 15:27:53 2010
Copyright (c) 1982, 2010, Oracle.? All rights reserved.
已連接到空閑例程。
SQL> create pfile 'd:\pfile.txt' from spfile;
create pfile 'd:\pfile.txt' from spfile
*
第 1 行出現錯誤:
ORA-00923: FROM keyword not found where expected
修改導出的pfile文件. SQL> create pfile='d:\pfile.txt' from spfile; 文件已創建。 SQL> exit 已斷開連接 C:\windows\system32>notepad d:\pfile.txt C:\windows\system32>sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on 星期三 6月 23 15:29:33 2010 Copyright (c) 1982, 2010, Oracle.? All rights reserved. 已連接到空閑例程。 SQL> create spfile from pfile='d:\pfile.txt'; 文件已創建。 SQL> startup ORACLE 例程已經啟動。 Total System Global Area? 761647104 bytes Fixed Size????????????????? 1377304 bytes Variable Size???????????? 486542312 bytes Database Buffers????????? 268435456 bytes Redo Buffers??????????????? 5292032 bytes 數據庫裝載完畢。 數據庫已經打開。 SQL>
總結
以上是生活随笔為你收集整理的oracle 更改启动内存,Oracle 11gR2修改内存参数后无法启动问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: oracle 老白,老白学编程 - Ne
- 下一篇: oracle删除实体,oracle 按条