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>
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值