Oracle 11g参数调优(建议)

系统参数

alter system set result_cache_max_size=0 scope=spfile sid='*';

alter system set standby_file_management='AUTO' scope=spfile sid='*';

alter system set archive_lag_target=1800 scope=spfile sid='*';

alter system set control_file_record_keep_time=30 scope=spfile sid='*';

alter system set session_cached_cursors=300 scope=spfile sid='*';

alter system set open_cursors=1500 scope=spfile sid='*';

alter system set undo_retention=10800 scope=spfile sid='*';

alter system set remote_login_passwordfile='EXCLUSIVE' scope=spfile sid='*';

alter system set resource_manager_plan='' scope=spfile sid='*';

alter system set statistics_level='TYPICAL' scope=spfile sid='*';

alter system set timed_statistics=TRUE scope=spfile sid='*';

alter system set undo_management='AUTO' scope=spfile sid='*';

alter system set db_cache_advice='OFF' scope=spfile sid='*';

alter system set audit_trail='NONE' scope=spfile sid='*';

alter system set audit_sys_operations=false scope=spfile sid='*';

alter system set "_ash_size"=104857600 scope=spfile sid='*';

alter system set max_dump_file_size='4096M' scope=spfile sid='*';

alter system set deferred_segment_creation=false scope=spfile sid='*';

禁用基数反馈和日志自适应切换

alter system set "_optimizer_use_feedback"=FALSE scope=spfile sid='*';

alter system set "_use_adaptive_log_file_sync"=false scope=spfile sid='*';

禁用drm特性

alter system set "_gc_policy_time"=0 scope=spfile sid='*';

alter system set "_gc_undo_affinity"=false scope=spfile sid='*';

禁用并发统计信息收集功能

exec dbms_stats.set_global_prefs('CONCURRENT','FALSE');

禁用sql tuning advisor功能

exec dbms_auto_task_admin.disable(client_name=>'sql tuning advisor',operation=>NULL,window_name=>NULL);

相关推荐
东风破137几秒前
DM达梦数据库安全、审计功能学习记录
数据库·学习·oracle·dm达梦数据库
KaMeidebaby4 分钟前
卡梅德生物技术快报|适配体筛选技术架构演进:SPARK-seq 高通量平台原理与技术流程解析
大数据·前端·其他·百度·架构·spark·新浪微博
JAVA学习通6 分钟前
《大营销平台系统设计实现》 - 营销服务 第10节:不超卖库存规则实现
java·数据库·oracle·责任链模式·codex
ZC跨境爬虫15 分钟前
跟着 MDN 学CSS day_7:(层叠优先级与继承)
前端·css·数据库·ui·html
YOU OU19 分钟前
MyBatis 操作数据库(入门)
数据库·mybatis
Shadow(⊙o⊙)20 分钟前
qt信号和槽链接的接入与断开
开发语言·前端·c++·qt·学习
慕斯fuafua21 分钟前
JS——DOM操作
前端·javascript·html
忆林52023 分钟前
Jenkins前端打包构建老项目拯救指南
运维·前端·jenkins
微祎_29 分钟前
写给新手的 triton-inference-server-ge-backend:昇腾Triton推理服务后端到底是啥?
前端·人工智能·cann
电商API_1800790524731 分钟前
反向海淘是什么?现状如何?未来趋势如何?
数据库·人工智能·笔记·性能优化·数据挖掘·网络爬虫