memory_target、sga_target、pga_target的設定
---memory_target設定為非0時
SQL> show parameter target
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
archive_lag_target integer 0
db_flashback_retention_target integer 1440
fast_start_io_target integer 0
fast_start_mttr_target integer 0
memory_max_target big integer 800M
memory_target big integer 800M
parallel_servers_target integer 8
pga_aggregate_target big integer 600M
sga_target big integer 152M
SQL> alter system set pga_aggregate_target=100m scope=both;
System altered.
SQL> alter system set sga_target=100m scope=both;
System altered.
SQL> show parameter target
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
archive_lag_target integer 0
db_flashback_retention_target integer 1440
fast_start_io_target integer 0
fast_start_mttr_target integer 0
memory_max_target big integer 800M
memory_target big integer 800M
parallel_servers_target integer 8
pga_aggregate_target big integer 100M
sga_target big integer 100M
從spfile建立pfile,內容:
mbs.__db_cache_size=29360128
mbs.__java_pool_size=4194304
mbs.__large_pool_size=4194304
mbs.__oracle_base='/home/db/oracle'#ORACLE_BASE set from environment
mbs.__pga_aggregate_target=629145600
mbs.__sga_target=209715200
mbs.__shared_io_pool_size=0
mbs.__shared_pool_size=159383552
mbs.__streams_pool_size=4194304
---memory target 設定為0時
SQL> show parameter target
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
archive_lag_target integer 0
db_flashback_retention_target integer 1440
fast_start_io_target integer 0
fast_start_mttr_target integer 0
memory_max_target big integer 0
memory_target big integer 0
parallel_servers_target integer 8
pga_aggregate_target big integer 100M
sga_target big integer 152M
mbs.__db_cache_size=16777216
mbs.__java_pool_size=4194304
mbs.__large_pool_size=4194304
mbs.__oracle_base='/home/db/oracle'#ORACLE_BASE set from environment
mbs.__pga_aggregate_target=104857600
mbs.__sga_target=159383552
mbs.__shared_io_pool_size=0
mbs.__shared_pool_size=121634816
mbs.__streams_pool_size=4194304
結論:
memory_target設定為非0時,sga_target及pga_aggregate_target設定無效。
memory_target設定為0時,sga_target及pga_aggregate_target設定有效。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10972173/viewspace-748859/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle 重設定sga_targetOracle
- 關於memory_max_target,memory_target,sga_max_size,sga_target
- memory_max_target,memory_target,pga_aggregate_target,sga_target
- 【例項】之memory_target、sga_target,pga_aggregate_target關係
- memory_target設定不當導致資料庫無法啟動的問題資料庫
- 解決memory_target設定過小導致不能啟動資料庫的問題資料庫
- [20190104]sga_target 的設定和ORA-04031錯誤.txt
- 10g中同時設定了SGA_TARGET和SHARED_POOL_SIZE的問題
- memory_max_target/memory_target設定過大報ORA-00845錯誤
- [20190507]sga_target=0注意修改_kghdsidx_count設定.txt
- 設定MEMORY_TARGET會導致RESULT_CACHE_MAX_SIZE在重啟後歸零
- sga_target設定大於100G遇到的一個bug ORA-00064: object is too largeObject
- SGA_TARGET Advice
- 改sga_target的注意事項
- MEMORY_TARGET not supported on this system
- sga_target大小調整
- The SGA_TARGET Initialization Parameter (74)
- 10g中的sga_target引數
- Dynamic Modification of SGA_TARGET (103)
- oracle11g要求在作業系統層設定共享記憶體/dev/shm,且大於MEMORY_TARGETOracle作業系統記憶體dev
- Oracle10g修改SGA_TARGETOracle
- sga_target與sga_max_size
- SGA_MAX_SIZE與SGA_TARGET
- sga_target與max_sga_size
- ORA-00845: MEMORY_TARGET
- SGA PGA MEMORY_TARGET 關係
- MEMORY_TARGET not supported on this system for linuxLinux
- 【原創】設定memory_target引數,通過 v$memory_target_advice分析資料庫最佳記憶體大小資料庫記憶體
- statistics_level與SGA_TARGET衝突
- 【轉】SGA_MAX_SIZE與SGA_TARGET
- ORA-00845 MEMORY_TARGET not supported
- Oracle11g修改MEMORY_TARGETOracle
- cookie的設定Cookie
- 代理的設定
- 修改sga_target引起的ora-27100 bug嗎
- 11g的MEMORY_TARGET和MEMORY_MAX_TARGET
- Oracle Rac 修改SGA_TARGET值無變化Oracle
- ORA-00845 MEMORY_TARGET not supported on this system