系统参数
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);