如果你在Oracle 10g 自動SGA管理的實際操作中,你對Oracle 10g 自動SGA管理有不解之處時,你可以通過以下的文章對其的實際應用與功能有所了解,以下是文章的具體介紹,望你浏覽完以下的內容會有所收獲。
Java代碼Java代碼
Oracle 10g 自動SGA管理中自動共享內存管理示例配置
例配置
SGA_TARGET(控制SGA的總大小) 設置為非零值
SGA
shared_pool_size = 0
large_pool_size = 0
Java_pool_size = 0
db_cache_size = 0
Java代碼
- SQL> select pool, sum(bytes)/1024/1024 Mbytes from
v$sgastat group by pool;- POOL MBYTES
- ------------ ----------
- 303.996315
- Java pool 4
- shared pool 102.490440
- large pool 12
- DB_CACHE_SIZE
- SQL> select current_size from v$buffer_pool;
- CURRENT_SIZE
- ------------
- 296
- SQL> select pool, sum(bytes)/1024/1024 Mbytes from
v$sgastat group by pool;- POOL MBYTES
- ------------ ----------
- 303.996315
- Java pool 4
- shared pool 102.490440
- large pool 12
- DB_CACHE_SIZE
- SQL> select current_size from v$buffer_pool;
- CURRENT_SIZE
- ------------
- 296
Java代碼
關閉自動大小調整
- SGA_TARGET = 0