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);

相关推荐
杨云龙UP2 分钟前
【MySQL迁移】MySQL数据库迁移实战(利用mysqldump从Windows 5.7迁至Linux 8.0)
linux·运维·数据库·mysql·mssql
l1t5 分钟前
利用DeepSeek辅助修改luadbi-duckdb读取DuckDB decimal数据类型
c语言·数据库·单元测试·lua·duckdb
西洼工作室5 分钟前
高效管理搜索历史:Vue持久化实践
前端·javascript·vue.js
安当加密11 分钟前
Nacos配置安全治理:把数据库密码从YAML里请出去
数据库·安全
广州华水科技13 分钟前
北斗形变监测传感器在水库安全中的应用及技术优势分析
前端
开发者如是说36 分钟前
Compose 开发桌面程序的一些问题
前端·架构
ColderYY1 小时前
Python连接MySQL数据库
数据库·python·mysql
旺代1 小时前
Token 存储与安全防护
前端
GW_Cheng1 小时前
达梦数据库适配遇到的一些问题
数据库·国产化·达梦数据库
robin_suli1 小时前
数据库之多版本控制MVCC
java·数据库