Oracle 11g参数调优(建议)

news/2024/8/22 10:18:28 标签: oracle, 数据库, 前端

系统参数

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


http://www.niftyadmin.cn/n/5556324.html

相关文章

网络协同新纪元:Eureka引领分布式网络管理革命

网络协同新纪元:Eureka引领分布式网络管理革命 在微服务架构的浪潮中,服务的分布式网络管理成为了确保系统稳定性和可扩展性的关键。Eureka,作为Netflix开源的服务发现框架,提供了服务注册与发现的核心功能,为分布式网…

Redis的计数功能

Redis的学习专栏:http://t.csdnimg.cn/a8cvV 许多应用都会使用Redis作为计数的基本工具,可以实现快速计数、查询缓存的功能,同时数据也可以异步处理。例如:博客浏览,用户每查看一次,就会增加一次的访问量&a…

wps批量删除空白单元格

目录 原始数据1.按ctrlg键2.选择“空值”,点击“定位”3. 右击,删除单元格修改后的数据 原始数据 1.按ctrlg键 2.选择“空值”,点击“定位” 如图所示,空值已被选中 3. 右击,删除单元格 修改后的数据

XML 解析异常问题解决

问题描述 The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK. 在运行 Java 应用程序时,出现了 XML 解析异常。具体表现为: 报错信息显示无法创建 StAX(S…

Macbook pro插移动硬盘没反应,Macbook pro移动硬盘读不了怎么办 macbook插移动硬盘后无法使用

为了弥补Macbook pro硬盘容量的缺失,我们有时候会使用到外接硬盘或移动硬盘。一般来说,这些硬盘都是即插即用的,可能部分要安装插件。不过,在一些特殊情况下,也会遇到插硬盘没反应等问题。本文会给大家解答Macbook pro…

Python应用—车辆统计(Opencv)

import cv2import numpy as np# 1. 加载视频# 2.形态学操作# 3.查找路轮廓(识别)# 4.统计结果(如何画线,在哪画线,如何基数)# 矩形中心点过线# 打开视频cap = cv2.VideoCapture(./1.mp4)# 创建mog图像(背景黑移动白)# 消除背景色mog = cv2.createBackgroundSubtractorMO…

Linux 网络配置与连接

一、网络配置 1.1 ifconfig 网卡配置查询 ifconfig #查看所有启动的网络接口信息 ifconfig 指定的网卡 #查看指定网络接口信息 1.2 修改网络配置文件 vim /etc/sysconfig/network-scripts/ifcfg-ens33 #ens33网络配置文…

WebSocket、服务器推送技术

WebSocket 是一种在单个 TCP 连接上进行 全双工 通信的协议,它可以让客户端和服务器之间进行实时的双向通信,且不存在同源策略限制 WebSocket 使用一个长连接,在客户端和服务器之间保持持久的连接,从而可以实时地发送和接收数据…