ORA-00824: cannot set sga_target due to existing internal settings
2011-08-13 18:28
525 查看
前线数据库,说是有问题,让我看看。
我上去看了下,觉得SGA给的太小气了,于是调整sga_target到sga_max_size的值。
突然莫名其妙的数据库停止了。很是神奇。
看了下alter,没发现异常居然,于是startup,坏了,报错: ORA-00824: cannot set sga_target due to existing internal settings
怀疑可能是我修改的参数值最后各个组件的和大于sga_target了,于是一一修改,但是还是不行。
google了下,
原来是oracle的问题。
当时重现的话,默认安装后,一直有人使用oem的bs版本管理,然后我create pfile form spfile之后,数据库当掉。
检查pfile,其中有一段:
db_block_buffers=13332
哦,想起来了,一个oracle的问题。
找了下,果然。
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2 to 10.2
This problem can occur on any platform.
Symptoms
Startup of 10g Database Instance fails with ORA-00824 Error
SQL> connect / as sysdba
Connected to an idle instance.
SQL> startup
ORA-00824: cannot set sga_target due to existing internal settings
Cause
If you enable automatic SGA Management by setting SGA_TARGET >0 and also have db_block_buffers(Obsolete parameter) in your parameter file (pfile/spfile)
Startup of Database fails with ORA-00824 Error
Solution
A) Either you need to disable the Automatic SGA Mangement by setting SGA_Target=0
==OR==
B) Replace the db_block_buffers parameter with db_cache_size parameter
STEPS TO RESOLVE
1. Make an OS copy of the spfile if you do not have a pfile for this database
2. Edit the copy of the spfile to remove the binary stuff before the first parameter
3. Remove the binary stuff after the last parameter.
4. Edit parameters needed to be changed.
5. Save the file and note name and location.
6. Start sqlplus and connect / as sysdba
7. Issue startup pfile = '<full path and file name of file just updated>'
8. Create spfile from pfile.
Errors
ORA-824cannot set sga_target due to existing internal settings
于是删除这个参数,startup。
我上去看了下,觉得SGA给的太小气了,于是调整sga_target到sga_max_size的值。
突然莫名其妙的数据库停止了。很是神奇。
看了下alter,没发现异常居然,于是startup,坏了,报错: ORA-00824: cannot set sga_target due to existing internal settings
怀疑可能是我修改的参数值最后各个组件的和大于sga_target了,于是一一修改,但是还是不行。
google了下,
原来是oracle的问题。
当时重现的话,默认安装后,一直有人使用oem的bs版本管理,然后我create pfile form spfile之后,数据库当掉。
检查pfile,其中有一段:
db_block_buffers=13332
哦,想起来了,一个oracle的问题。
找了下,果然。
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2 to 10.2
This problem can occur on any platform.
Symptoms
Startup of 10g Database Instance fails with ORA-00824 Error
SQL> connect / as sysdba
Connected to an idle instance.
SQL> startup
ORA-00824: cannot set sga_target due to existing internal settings
Cause
If you enable automatic SGA Management by setting SGA_TARGET >0 and also have db_block_buffers(Obsolete parameter) in your parameter file (pfile/spfile)
Startup of Database fails with ORA-00824 Error
Solution
A) Either you need to disable the Automatic SGA Mangement by setting SGA_Target=0
==OR==
B) Replace the db_block_buffers parameter with db_cache_size parameter
STEPS TO RESOLVE
1. Make an OS copy of the spfile if you do not have a pfile for this database
2. Edit the copy of the spfile to remove the binary stuff before the first parameter
3. Remove the binary stuff after the last parameter.
4. Edit parameters needed to be changed.
5. Save the file and note name and location.
6. Start sqlplus and connect / as sysdba
7. Issue startup pfile = '<full path and file name of file just updated>'
8. Create spfile from pfile.
Errors
ORA-824cannot set sga_target due to existing internal settings
于是删除这个参数,startup。
相关文章推荐
- ORA-00824: cannot set SGA_TARGET or MEMORY_TARGET due to existing internal settings, see alert log f
- ORA-00824: cannot set sga_target due to existing internal settings, see alert log for more information
- can not startup. ORA-00824: cannot set sga_target due to existing internal settings
- 手工建库启动实例时一个小错误:ORA-00824: cannot set sga_target due to existing internal settings
- 解决ORA-00824: cannot set sga_target due to existing
- ORA-00849: SGA_TARGET 8589934592 cannot be set to more than MEMORY_MAX_TARGET 0.
- ORA-00851:SGA_MAX_SIZE 1577058304 cannot be set to more than MEMORY_TARGET 855638016 (816M)
- ORA-00847: MEMORY_TARGET/MEMORY_MAX_TARGET and LOCK_SGA cannot be set together
- ORA-00847: MEMORY_TARGET/MEMORY_MAX_TARGET and LOCK_SGA cannot be set together
- Cannot insert explicit value for identity column in table 'settings' when IDENTITY_INSERT is set to OFF.
- Cannot insert explicit value for identity column in table 'settings' when IDENTITY_INSERT is set to OFF.
- ORA-00821: Specified value of sga_target 3072M is too small, needs to be at least 12896M
- Cannot start the session due to some internal error
- AddFieldAsXml cannot be used to set the InternalName correctly
- org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction cannot be cast to javax.transaction.T
- 在Ubuntu安装完成后更改默认的语言LANG,出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- [笔记].怎样解决MDK中的警告:Warning: L6305W: Image does not have an entry point. (Not specified or not set due to multiple choices.)
- *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid
- Cannot expand the COM+ list in the Component Services UI due to MSDTC service permission issue
- 使用Eclipse开发Android报错:Project has no target set. Edit the project properties to set one.