教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 范文大全 > 文秘资料 >

oracle学习11g性能调优官方PPTless_07

来源:网络收集 时间:2026-09-06
导读: Using AWR-Based Tools Copyright 2008, Oracle. All rights reserved. ObjectivesAfter completing this lesson, you should be able to do the following: Describe tuning automatic maintenance tasks Generate ADDM reports Generate Active Session Hi

Using AWR-Based Tools

Copyright © 2008, Oracle. All rights reserved.

ObjectivesAfter completing this lesson, you should be able to do the following: Describe tuning automatic maintenance tasks Generate ADDM reports Generate Active Session History (ASH) reports

7-2

Copyright © 2008, Oracle. All rights reserved.

Automatic Maintenance Tasks

7-3

Copyright © 2008, Oracle. All rights reserved.

Maintenance WindowsMaintenance Window Group10 PM – 2 AM Mon to Fri 6 AM – 2 AM Sat to Sun

7-4

Copyright © 2008, Oracle. All rights reserved.

Default Maintenance PlanSQL> SELECT name FROM V$RSRC_PLAN 2 WHERE is_top_plan = 'TRUE';

NAME -------------------------------DEFAULT_MAINTENANCE_PLAN

7-5

Copyright © 2008, Oracle. All rights reserved.

Automated Maintenance Task PrioritiesMaintenance window

Run Job1 with urgent priority.

Run Job2 with urgent priority.

Run Job3 with high priority.

Run Job3 with medium priority.

Run Job4 with medium priority.

DBA_AUTOTASK_TASKurgent Stats high medium

MMON

ABPSpace

SQL

Job1 … Jobn

7-6

Copyright © 2008, Oracle. All rights reserved.

Tuning Automatic Maintenance TasksServer > Automatic Maintenance Tasks > Configure

7-7

Copyright © 2008, Oracle. All rights reserved.

ADDM Performance Monitoring

MMON

60 minutes

In-memory statistics SGA

Snapshots

ADDM

AWR ADDM results

7-8

Copyright © 2008, Oracle. All rights reserved.

ADDM and Database TimeUser sends a request. User gets a response. Wide area network Application server Local area network Oracle database Database timeConnectExecute Fetch Fetch Fetch

Wall-clock timeExecute

User 1 User 2

User n

7-9

Copyright © 2008, Oracle. All rights reserved.

DBTime-Graph and ADDM MethodologyRoot nodeSymptoms

User connect

SQL optimization

SQL execution

CPU capacity

I/O capacity

Database locksRoot causes

Undersized buffer cacheDimension 1 Dimension 2

Insufficient I/O bandwidth

7 - 10

Copyright © 2008, Oracle. All rights reserved.

Top Performance Issues DetectedExcessive logon/logoffMemory undersizing Not detected by Statspack Hot blocks and objects w/SQL RAC service issues

Locks and ITL contentionCheckpointing causes PL/SQL, Java time Streams, AQ, and RMAN Top SQL I/O issues Parsing ADDM identifies top issues.

Configuration issuesApplication usage

7 - 12

Copyright © 2008, Oracle. All rights reserved.

Database Control and ADDM Findings

7 - 13

Copyright © 2008, Oracle. All rights reserved.

ADDM Analysis Results

1

2

3

7 - 14

Copyright © 2008, Oracle. All rights reserved.

ADDM Recommendations

7 - 15

Copyright © 2008, Oracle. All rights reserved.

Database Control and ADDM Task

7 - 16

Copyright © 2008, Oracle. All rights reserved.

Changing ADDM Attributes1. Ensure that STATISTICS_LEVEL is set to TYPICAL or ALL. 2. ADDM analysis of I/O performance depends on the expected speed of the I/O subsystem:a. Measure your I/O subsystem speed. b. Set the expected spee

d.

SQL> exec DBMS_ADVISOR.SET_DEFAULT_TASK_PARAMETER('ADDM', 'DBIO_EXPECTED', 8000); SELECT parameter_value, is_default FROM dba_advisor_def_parameters WHERE advisor_name = 'ADDM' AND parameter_name = 'DBIO_EXPECTED';

7 - 17

Copyright © 2008, Oracle. All rights reserved.

…… 此处隐藏:1085字,全部文档内容请下载后查看。喜欢就下载吧 ……
oracle学习11g性能调优官方PPTless_07.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/fanwen/1993689.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)