手工建庫啟動例項時一個小錯誤:ORA-00824: cannot set sga_target due to existing internal settings
資料庫版本:10G 10.2.0.1 錯誤:ORA-00824: cannot set sga_target due to existing internal settings, see alert log for more information
引數檔案如下:
[oracle@ocm1 dbs]$ lsinitdw.ora initocm1.ora init.ora orapwocm1
[oracle@ocm1 dbs]$ cat initocm1.ora
db_name=ocm1
db_files = 80 # SMALL
db_file_multiblock_read_count = 8 # SMALL
db_block_buffers = 100 # SMALL
shared_pool_size = 3500000 # SMALL
log_checkpoint_interval = 10000
processes = 250 # SMALL
sessions = 300
parallel_max_servers = 5 # SMALL
log_buffer = 32768 # SMALL
max_dump_file_size = 10240 # limit trace file size to 5 Meg each
global_names = TRUE
control_files = ('/u01/oradata/bys3/control01.ctl', '/u01/oradata/bys3/control02.ctl','/u01/oradata/bys3/control03.ctl')
sga_max_size = 400m
sga_target = 300m
undo_management = auto
啟動例項報錯如下:
oracle@ocm1 dbs]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Nov 24 14:13:41 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup nomount;
ORA-00824: cannot set sga_target due to existing internal settings, see alert log for more information
SQL> exit
報錯原因 :
Cause SGA_TARGET >0又設定了db_block_buffers引數。db_block_buffers已經是廢棄的了。
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
解決方法:
A)設定SGA_Target=0,關閉Automatic SGA Mangement自動記憶體管理
B) 刪除 db_block_buffers parameter
C) 使用db_cache_size parameter替換db_block_buffers
我這裡刪除了db_cache_size引數:
[oracle@ocm1 dbs]$ cat initocm1.ora
db_name=ocm1
db_files = 80 # SMALL
db_file_multiblock_read_count = 8 # SMALL
log_checkpoint_interval = 10000
processes = 250 # SMALL
sessions = 300
parallel_max_servers = 5 # SMALL
log_buffer = 32768 # SMALL
max_dump_file_size = 10240 # limit trace file size to 5 Meg each
global_names = TRUE
control_files = ('/u01/oradata/bys3/control01.ctl', '/u01/oradata/bys3/control02.ctl','/u01/oradata/bys3/control03.ctl')
sga_max_size = 400m
sga_target = 300m
undo_management = auto
[oracle@ocm1 dbs]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Nov 24 14:14:59 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
重啟例項成功:
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 419430400 bytes
Fixed Size 1219784 bytes
Variable Size 201327416 bytes
Database Buffers 213909504 bytes
Redo Buffers 2973696 bytes
相關文章
- ORA-00824:cannot set sga_target due to existing internal setting --SOLUTION
- 手動建庫時一個錯誤:Error accessing PRODUCT_USER_PROFILEError
- 一臺MySQL資料庫啟動多個例項MySql資料庫
- 手工建庫成功後用其他使用者登入報的一個錯誤
- 啟動資料庫的其中一個錯誤資料庫
- 啟動ASM例項出現ORA-29701錯誤ASM
- 啟動ASM 例項報錯ASM
- 手動建庫時一個小錯誤:ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
- OUI啟動時的小錯誤PRVF-0002UI
- Oracle Restart啟動資料庫例項故障一例OracleREST資料庫
- RAC資料庫啟用、禁用一個例項資料庫
- 手動建庫過程錯誤
- jafka安裝配置和啟動一個自帶例項和手寫一個例項
- 又一例SPFILE設定錯誤導致資料庫無法啟動資料庫
- oracle多個例項啟動方法Oracle
- 手工建庫
- 單例項資料庫手工轉化多例項資料庫單例資料庫
- 【故障處理】使用GC調整資料庫為SGA自動管理後導致例項無法啟動(ORA-00824)GC資料庫
- windows下啟動服務時不啟動oracle例項WindowsOracle
- 資料庫啟動時遇到ORA-01578錯誤資料庫
- 手工建庫與dbca建庫
- C# 只啟動一個例項完全解決方案C#
- 3.1.5.4 啟動例項並mount 資料庫資料庫
- 3.1.5.1 關於啟動資料庫例項資料庫
- 【oracle手工建庫】Oracle
- oracle手工建庫Oracle
- dubbo啟動報錯,反射例項化問題反射
- 啟動PHP時提示初始化錯誤PHP
- vmware server啟動時503錯誤解決Server
- SQL SERVER恢復資料錯誤解決:The backup set holds a backup of a database other than the existingSQLServerDatabase
- mysqld_multi啟動多個mysql例項MySql
- 啟動PL/SQL Developer 報字元編碼不一致錯誤,Database character setSQLDeveloper字元Database
- mysql 啟動錯誤MySql
- Oracle資料庫例項啟動步驟分析Oracle資料庫
- oracle 10 手工建庫Oracle
- Oracle 9 手工建庫Oracle
- Oracle手工建庫指南Oracle
- oracle例項啟動異常慢案例一Oracle