SGA related init params
来源:互联网 发布:网络剧发行方式 编辑:程序博客网 时间:2024/06/04 18:25
SGA related init params
Auto tuned SGA parameters
- db_cache_size
- shared_pool_size
- large_pool_size
- java_pool_size
These parameters are called auto tuned because automatic shared memory managment can dynamically change the sizes of these pools if it is enabled.
DB_CACHE_SIZE
The value of this parameter affects the size of the SGA: It sets the size of the default buffer pool.
According to metalink note 223299.1, this is one of the top parameters affecting performance.
With Oracle 10g, one can turn on Automatic Shared Memory Management which distributes shared memory as required. See alsosga_target.
JAVA_POOL_SIZE
The value of this parameter affects the size of the SGA.
With Oracle 10g, one can turn on Automatic Shared Memory Management which distributes shared memory as required. See alsosga_target.
SHARED_POOL_SIZE
The value of this parameter affects the size of the SGA or more appropriately the size of the shared pool within the SGA.
Apparently, when installing JServer, this parameter must at least be set to 24M.
LARGE_POOL_SIZE
With Oracle 10g, one can turn on Automatic Shared Memory Management which distributes shared memory as required. See alsosga_target.
Manual SGA parameters
- db_keep_cache_size
- db_recycle_cache_size
- db_NNk_cache_size
NN being one of 2, 4, 8, 16, 32 - log_buffer
- streams_pool_size
DB_KEEP_CACHE_SIZE
According to metalink note 223299.1, this is one of the top parameters affecting performance.
DB_RECYCLE_CACHE_SIZE
According to metalink note 223299.1, this is one of the top parameters affecting performance.
LOG_BUFFER
Up to 9i
The value of this parameter defines the size of the redo log buffer. As the redo log buffer is part of the SGA, it affects the size of the SGA as well.
Setting this value to anything greater than 3M is useless as thelog buffer is flushed anyway when it is filled up to 1M or when it is reaches one third of its capacity, whichever comes first. (Thanks toWilliam White who notified me of an error here).
10g
From 10g onwards, there is a lot more to do about the initialization parameterlog_buffer. Also, Metalink note 351857.1 states that the size of the log buffer cannot be changed with this paramter from 10gR2, instead, the size will be set by Oracle.
STREAMS_POOL_SIZE
Other parameters
See also other init parameters.
DB_BLOCK_BUFFERS
The value of this parameter affects the size of the SGA, or more precisely, the size of the buffer cache. This parameter is deprecated since 9i, db_cache_size should be used instead.
With Oracle 10g, one can turn on Automatic Shared Memory Management which distributes shared memory (of which the buffer cache is part) as required. See alsosga_target.
DB_BLOCK_CHECKSUM
See checking block integrity before writing to disk.
DB_BLOCK_SIZE
Determines the size of a database blocks.
SGA_MAX_SIZE
sga_max_size sets the maximum value for sga_target
If sga_max_size is less than the sum of db_cache_size + log_buffer + shared_pool_size + large_pool_size at initialization time, then the value of sga_max_size is ignored.
According to metalink note 223299.1, this is one of the top parameters affecting performance.
SGA_TARGET
This parameter is new with Oracle 10g. It specifies the total amaount of SGA memory available to an instance. Setting this parameter makes Oracle distribute the available memory among various components - such asshared pool (for SQL and PL/SQL),Java pool, large_pool and buffer cache - as required.
This new feature is called Automatic Shared Memory Management. With ASMM, the parameters java_pool_size, shared_pool_size, large_pool_size and db_cache_size need not be specified explicitely anymore.
sga_target cannot be higher than sga_max_size.
Thanks
Thanks to Guy Lambregts who helped me improving this page (sectionlog_buffer and a typo).
- SGA related init params
- context-params与init-params
- context-params与init-params
- Android 修改init.rc (related to ramdisk.img)
- SGA
- SGA
- SGA
- params
- OC中: Init methods must return a type related to the receiver type
- iOS报错--Init methods must return a type related to the receiver type
- init文件中SGA区设置太大,导致内存不够用,数据库和系统都挂死
- CString related
- CString related
- CString related
- DW related.
- Servlet Related
- WinDbg related ...
- Form Related
- java 计时器timer
- HAProxy---HAProxy简介
- MARS老师安卓开发学习_view
- Android有效解决加载大图片时内存溢出的问题详解
- Java乔晓松-Struts2中文件上传和多文件上传以及获取HttpServletRequest / HttpSession / ServletContext / HttpServletRespon
- SGA related init params
- 【Leetcode】Construct Binary Tree from Inorder and Postorder Traversal
- U盘安装ghost版本xp系统
- HAProxy---官网地址
- meituan笔试
- java图标设置
- JobTracker健康监控测试作业
- 根据先序中序求后序的递归算法
- ios屏幕尺寸