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

来源:这里教程网 时间:2026-03-03 19:18:55 作者:
参数名 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='*';

相关推荐