ITPub博客

首页 > 数据库 > Oracle > Oracle 19C 数据库参数推荐(二)

Oracle 19C 数据库参数推荐(二)

原创 Oracle 作者:jason_yehua 时间:2024-01-25 09:11:01 0 删除 编辑
参数名 19c默认值 标准参考值 参数相关参考文档 COMMAND
fast_start_mttr_target 0 300 FAST_START_MTTR_TARGET enables you to specify the number of seconds the database takes to perform crash recovery of a single instance. alter system set fast_start_mttr_target=300 scope=spfile sid='*';
filesystemio_options none Buffered I/O    asynch
Direct I/O    setall
SETALL,仅对AIX操作系统,数据文件在文件系统的数据库进行特别设定
SETALL不支持 Linux against 4kb native sector disks
对于ASM,该参数被忽略
alter system set filesystemio_options=asynch scope=spfile sid='*';
large_pool_size 0 最小512M,通常设置为SGA的5%;sga=128G,设置为6GB; sga=256G,设置为12GB; sga>=512G,设置为16GB;
具体按需设置
大池,rman备份恢复、程序并行执行会使用大池,推荐值至少为256M; alter system set large_pool_size=待定 scope=spfile sid='*';
memory_max_target 0 0 控制SGA和PGA内存动态分配,推荐不设置,取消SGA和PGA内存动态分配功能 alter system set memory_max_target=0
 scope=spfile sid='*';
memory_target 0 0 控制SGA和PGA内存动态分配,推荐设置为0或不设置,取消SGA和PGA内存动态分配功能 alter system set memory_target=0
 scope=spfile sid='*';
open_cursors 300 1000 Doc ID 208857.1:SCRIPT - to Set the 'SESSION_CACHED_CURSORS' and 'OPEN_CURSORS' Parameters Based on Usage alter system set open_cursors=1000 scope=spfile sid='*';
optimizer_adaptive_plans TRUE FALSE 禁用掉了SQL自适应查询优化特性
(Doc ID 2187449.1) controls whether the optimizer creates adaptive plans and defaults to TRUE
alter system set optimizer_adaptive_plans=FALSE scope=spfile sid='*';
parallel_execution_message_size 16384 32768 默认值对大多数应用来说是足够的。值越大,要求共享池越大。较大的值会带来较好的性能,但会消耗较多的内存。 alter system set parallel_execution_message_size=32768 scope=spfile sid='*';
parallel_force_local FALSE TRUE
使用inmemory按需设置
控制并行进程是否可以跨RAC节点,推荐值为true,不让跨节点执行并行SQL alter system set parallel_force_local=TRUE scope=spfile sid='*';
parallel_max_servers 80 不能默认值/按需设置 推荐值cpu_count的1/2,或者根据实际情况设置,最大不要超过cpu_count alter system set parallel_max_servers=待定 scope=spfile sid='*';
parallel_min_servers 8 不能默认值/按需设置 PARALLEL_MIN_SERVERS is the number of parallel execution processes Oracle creates when the instance is started. These processes will be kept alive
 to service parallel statements.
alter system set parallel_min_servers=0 scope=spfile sid='*';


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31547506/viewspace-3005042/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-05-22

  • 博文量
    122
  • 访问量
    99627