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

来源:这里教程网 时间:2026-03-03 19:18:53 作者:
参数名 19c默认值 标准参考值 参数相关参考文档 COMMAND
_PX_use_large_pool false TRUE 让并行会话改为使用large pool,并行会话默认使用的是shard pool用于并行执行时候消息缓冲区,并行过多时候容易造成shared pool不足, 使数据库报错ORA-4031错误,将这个参数设置为true,使得并行会话改为使用large pool。 alter system set "_px_use_large_pool"=TRUE scope=spfile sid='*';
_report_capture_cycle_time 60 0 避免mmon_slave的SQL消耗过多CPU资源,默认值60,建议修改为0 alter system set "_report_capture_cycle_time"=0 scope=spfile sid='*';
_smu_debug_mode 0 134217728 会disable storage index,Exadata不能设置。 还会disable cleanout optimization 在19C没有看到需要设置为134217728。 建议有问题再设置 默认为0,部分性能故障及BUG需要设置"_smu_debug_mode" = 134217728来避免,避免MMON 进程消耗较高的CPU资源堵塞SMON进程 alter system set "_smu_debug_mode"=134217728 scope=spfile sid='*';
_undo_autotune TRUE FALSE 控制 undo retention 自动调整功能,推荐值为 false ,取消自动调整 alter system set "_undo_autotune"=FALSE scope=spfile sid='*';
_use_adaptive_log_file_sync TRUE FALSE 控制LGWR响应用户commit操作刷新redo的机制,推荐值为false,强制使用POST/WAIT机制,而不切换到POLLING模式 Doc ID 1541136.1:Adaptive Log File Sync Optimization alter system set "_use_adaptive_log_file_sync"=FALSE scope=spfile sid='*';
_use_single_log_writer ADAPTIVE TRUE 12c的新特性中lgwr是多个进程,该新特性容易导致lgwr进程夯住,而当lgwr进程夯住时,仅有的解决方法是重启数据库实例。为例避免lgwr夯住,通过设置参数_use_single_log_writer='TRUE'来禁用该功能。设置之后就变成一个lgwr进程了。 Doc ID 2354255.1 Doc ID 27686599.8 alter system set "_use_single_log_writer"=TRUE scope=spfile sid='*';
_sys_logon_delay 1 0 Bug 18044182 : REMOVE EVENT 28401 event 28401 被废弃,使用 _sys_logon_delay=0 替代

相关推荐