1 SGA以granules为单位占用或释放空间。SGA<=1G时,granules为4M;>1G时通常为16M。若设置某部分时不是granules的整数倍,向上找齐。
2 查询SGA信息,v$sgainfo
SQL> select * from v$sgainfo;
NAME BYTES RES
-------------------------------- ---------- ---
Fixed SGA Size 1273516 No
Redo Buffers 2920448 No
Buffer Cache Size 239075328 Yes
Shared Pool Size 75497472 Yes
Large Pool Size 4194304 Yes
Java Pool Size 4194304 Yes
Streams Pool Size 0 Yes
Granule Size 4194304 No
Maximum SGA Size 327155712 No
Startup overhead in Shared Pool 37748736 No
Free SGA Memory Available 0
11 rows selected.
3 SGA的最大值由sga_max_size确定,是静态参数。
4 设置自动管理:sga_target不为0;statistics_level为typical或all;相关部分参数为0。
2 查询SGA信息,v$sgainfo
SQL> select * from v$sgainfo;
NAME BYTES RES
-------------------------------- ---------- ---
Fixed SGA Size 1273516 No
Redo Buffers 2920448 No
Buffer Cache Size 239075328 Yes
Shared Pool Size 75497472 Yes
Large Pool Size 4194304 Yes
Java Pool Size 4194304 Yes
Streams Pool Size 0 Yes
Granule Size 4194304 No
Maximum SGA Size 327155712 No
Startup overhead in Shared Pool 37748736 No
Free SGA Memory Available 0
11 rows selected.
3 SGA的最大值由sga_max_size确定,是静态参数。
4 设置自动管理:sga_target不为0;statistics_level为typical或all;相关部分参数为0。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11946422/viewspace-666506/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/11946422/viewspace-666506/