oracle 重設定sga_target
SQL> alter system set sga_target=330M scope=both;
alter system set sga_target=330M scope=both
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00823: Specified value of sga_target greater than sga_max_size
SQL> alter system set sga_target=330M scope=spfile;
System altered
SQL> shutdown immediate
SQL> startup
SQL> show parameter sga
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 332M
sga_target big integer 332M
SQL> show parameter sga
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 272M
sga_target big integer 272M
SQL> alter system set sga_max_size=300M scope=spfile;
System altered.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 314572800 bytes
Fixed Size 1219184 bytes
Variable Size 142607760 bytes
Database Buffers 163577856 bytes
Redo Buffers 7168000 bytes
Database mounted.
Database opened.
SQL> show parameter sga
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 300M
sga_target big integer 272M
SQL> alter system set sga_target=300M scope=both;
System altered.
SQL> show parameter sga
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 300M
sga_target big integer 300M
/u03/oradata/sgspcdb1
/u02/oradata/sgspcdb1
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15187685/viewspace-734173/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- memory_target、sga_target、pga_target的設定
- oracle 線上重定義Oracle
- Oracle線上重定義Oracle
- Oracle10g修改SGA_TARGETOracle
- oracle 表線上重定義Oracle
- oracle表線上重定義Oracle
- 【Oracle】線上重定義表Oracle
- Oracle的線上重定義(轉)Oracle
- DISPLAY 尚未設定。請設定 DISPLAY 後重試。
- Oracle Rac 修改SGA_TARGET值無變化Oracle
- Oracle EBR 基於版本重定義Oracle
- Oracle表的線上重定義(一)Oracle
- oracle線上重定義表步驟Oracle
- ORACLE rman設定Oracle
- [20190507]sga_target=0注意修改_kghdsidx_count設定.txt
- Oracle線上重定義之DBMS_REDEFINITIONOracle
- Oracle中重建表的線上重定義Oracle
- 線上重定義表ORACLE 11GOracle
- oracle 歸檔設定Oracle
- 設定 oracle event traceOracle
- oracle設定supplemental logOracle
- CSS設定背景圖片水平重複和垂直重複CSS
- Oracle Online Redefinition線上重定義(上)Oracle
- Oracle Online Redefinition線上重定義(中)Oracle
- Oracle Online Redefinition線上重定義(下)Oracle
- 【TABLE】oracle表線上重定義注意事項Oracle
- oracle實驗記錄 (線上重定義表)Oracle
- [20190104]sga_target 的設定和ORA-04031錯誤.txt
- 10g中同時設定了SGA_TARGET和SHARED_POOL_SIZE的問題
- SGA_TARGET Advice
- Oracle的NLS_DATE_FORMAT設定(日期格式設定)OracleORM
- Oracle CSS的引數設定 心跳時間設定OracleCSS
- oracle資料庫設定Oracle資料庫
- ORACLE RAC 設定歸檔Oracle
- Oracle 設定指定DBIDOracle
- oracle Database Event trace 設定OracleDatabase
- Oracle穿越防火牆設定Oracle防火牆
- 在oracle 9i下線上重定義表Oracle