oracle ADDM
来源:互联网 发布:csgo网络优化参数 编辑:程序博客网 时间:2024/05/21 04:26
addm干的活:
1分析awr数据
2诊断性能问题根源
3提供修正问题建议
4标识系统非问题区
addm提供下面的好处:
1默认每小时自动生成性能诊断报告
2吹嘘诊断有经验,活好
3能标识问题根源
4对系统影响小
分析的目的是降低db time,db time包含等待时间和非空闲会话的cpu时间。
感觉这个工具在做完压测后,可以参考下,看看有哪些问题。
安装:
addm默认情况下是启用的,受control_management_pack_access和statistics_level初始化参数控制。
在数据库模式下运行,这个会分析数据库所有的实例,需要执行如下的存储过程:
BEGIN
DBMS_ADDM.ANALYZE_DB (
task_name IN OUT VARCHAR2,
begin_snapshot IN NUMBER,
end_snapshot IN NUMBER,
db_id IN NUMBER := NULL);
END;
/
在实例级别运行:
BEGIN
DBMS_ADDM.ANALYZE_INST (
task_name IN OUT VARCHAR2,
begin_snapshot IN NUMBER,
end_snapshot IN NUMBER,
instance_number IN NUMBER := NULL,
db_id IN NUMBER := NULL);
END;
/
获取text的报告
DBMS_ADDM.GET_REPORT (
task_name IN VARCHAR2
RETURN CLOB);
SET LONG 1000000 PAGESIZE 0;
SELECT DBMS_ADDM.GET_REPORT(:tname) FROM DUAL;
也可以用视图查看结果
DBA_ADVISOR_FINDINGS
This view displays all the findings discovered by all advisors. Each finding is displayed with an associated finding ID, name, and type. For tasks with multiple executions, the name of each task execution associated with each finding is also listed.
DBA_ADDM_FINDINGS
This view contains a subset of the findings displayed in the related DBA_ADVISOR_FINDINGS view. This view only displays the ADDM findings discovered by all advisors. Each ADDM finding is displayed with an associated finding ID, name, and type.
DBA_ADVISOR_FINDING_NAMES
List of all finding names registered with the advisor framework.
DBA_ADVISOR_RECOMMENDATIONS
This view displays the results of completed diagnostic tasks with recommendations for the problems identified in each execution. The recommendations should be reviewed in the order of the RANK column, as this relays the magnitude of the problem for the recommendation. The BENEFIT column displays the benefit to the system you can expect after the recommendation is performed. For tasks with multiple executions, the name of each task execution associated with each advisor task is also listed.
DBA_ADVISOR_TASKS
This view provides basic information about existing tasks, such as the task ID, task name, and when the task was created. For tasks with multiple executions, the name and type of the last or current execution associated with each advisor task is also listed.
- Oracle ADDM
- oracle ADDM
- ORACLE AWR和ADDM
- oracle ADDM
- Oracle 性能报告ADDM
- oracle查看awr、addm报告
- ADDM
- ADDM
- addm
- Oracle Database Tuning - ADDM 6d7dc401
- Oracle ADDM 自动诊断监视工具 介绍
- Oracle ADDM 自动诊断监视工具 介绍
- Oracle ADDM 自动诊断监视工具 介绍
- Oracle ADDM 自动诊断监视工具 介绍
- Oracle ADDM 自动诊断监视工具 介绍
- [Oracle] - 性能优化工具(3) - ADDM
- Oracle ADDM 自动诊断监视工具介绍
- Oracle ADDM 自动诊断监视工具 介绍
- andriod客户端
- Cassandra学习笔记 --- cassandra-driver使用
- 应用Bootstrap必备的参考资源
- echart常用记录
- nginx-lua+kafka进行数据采集
- oracle ADDM
- 数据准备过程
- 修改斐波那契数列
- 关于Kdd cup
- 【Json】SimpleJson在项目中的使用
- 第十七章
- 探索c++的机制
- android 炫酷的水波扩散效果
- 一张图诠释Git所有命令