ORA-00381 错误解决
2008-05-07 16:56
176 查看
数据库启动时报错
ORA-00381 cannot use both new and old parameters for buffer cache size specification
查oracle官方文档
Cause: User specified one or more of {DB_CACHE_SIZE, DB_RECYCLE_CACHE_SIZE, DB_KEEP_CACHE_SIZE, DB_nK_CACHE_SIZE (where n is one of {2, 4, 8, 16, 32}) AND one or more of {DB_BLOCK_BUFFERS, BUFFER_POOL_KEEP, BUFFER_POOL_RECYCLE}. This is illegal.
Action: Use EITHER the old (pre-Oracle 9.0.0) parameters OR the new ones. Don't specify both. If old size parameters are specified in the parameter file, you may want to replace them with new parameters since the new parameters can be modified dynamically and allow you to configure additional caches for additional block sizes.
打开initBWP.ora文件发现,参数文件中同时存在*.db_cache_size=5452595200和*.db_block_buffers=0两个参数,而这个参数在oracle 9i中是不允许同时存在的。删除*.db_block_buffers=0这一行后重新启动数据库正常,
orabwp> sqlplus /nolog
SQL*Plus: Release 9.2.0.5.0 - Production on Sat Apr 12 01:02:17 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup pfile=/oracle/BWP/920_64/dbs/initBWP.ora nomount
ORACLE instance started.
Total System Global Area 6410965696 bytes
Fixed Size 746176 bytes
Variable Size 956301312 bytes
Database Buffers 5452595200 bytes
Redo Buffers 1323008 bytes
SQL> alter database mount;
Database altered.
SQL> alter database open;
Database altered.
SQL> select open_mode from v$database;
OPEN_MODE
----------
READ WRITE
ORA-00381 cannot use both new and old parameters for buffer cache size specification
查oracle官方文档
Cause: User specified one or more of {DB_CACHE_SIZE, DB_RECYCLE_CACHE_SIZE, DB_KEEP_CACHE_SIZE, DB_nK_CACHE_SIZE (where n is one of {2, 4, 8, 16, 32}) AND one or more of {DB_BLOCK_BUFFERS, BUFFER_POOL_KEEP, BUFFER_POOL_RECYCLE}. This is illegal.
Action: Use EITHER the old (pre-Oracle 9.0.0) parameters OR the new ones. Don't specify both. If old size parameters are specified in the parameter file, you may want to replace them with new parameters since the new parameters can be modified dynamically and allow you to configure additional caches for additional block sizes.
打开initBWP.ora文件发现,参数文件中同时存在*.db_cache_size=5452595200和*.db_block_buffers=0两个参数,而这个参数在oracle 9i中是不允许同时存在的。删除*.db_block_buffers=0这一行后重新启动数据库正常,
orabwp> sqlplus /nolog
SQL*Plus: Release 9.2.0.5.0 - Production on Sat Apr 12 01:02:17 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup pfile=/oracle/BWP/920_64/dbs/initBWP.ora nomount
ORACLE instance started.
Total System Global Area 6410965696 bytes
Fixed Size 746176 bytes
Variable Size 956301312 bytes
Database Buffers 5452595200 bytes
Redo Buffers 1323008 bytes
SQL> alter database mount;
Database altered.
SQL> alter database open;
Database altered.
SQL> select open_mode from v$database;
OPEN_MODE
----------
READ WRITE
相关文章推荐
- oracle 11g错误ora-01033:oracle initialization or shutdown in progress解决办法
- ORA-01031: insufficient privileges 错误解决
- ORA-14452错误解决方法
- ORA-00845错误原因及解决办法
- ORA-600(17069)错误的解决过程
- 在软件开发中遇到ORA-06413错误的解决方法
- ora-00257:归档程序错误,在释放之前仅限于内部链接如何解决
- oracle plsql修改数据时ORA-01480: STR 绑定值的结尾 Null 字符缺失 的错误解决办法。
- 连接Oracle 10g时ORA-12514: TNS: 监听进程不能解析在连接描述符中给出的 SERVICE_NAME 错误的解决
- 10gR1中ora-00201,ora-01103错误的解决办法
- 解决升级oracle10g中出现ora-01092错误的办法
- ORA-01078: 和 LRM-00109 :错误 解决方法
- 诊断并解决ORA-04031 错误
- ORA-01033:ORACLE initialization or shutdown 错误解决方法
- 解决超出打开游标的最大数异常ORA-01000 递归SQL 级别1 出现错误 最全方案-最全方案
- 错误编码:ORA-01033 的解析及解决
- ORA-00257错误诊断及解决方法
- 如何解决ORA-04031 错误
- ORA-04031错误的解决思路
- 触发器中ORA-04091 变异表错误原因和一般解决方法