【MOS】Troubleshooting Performance Issues (文档 ID 1377446.1)

【MOS】Troubleshooting Performance Issues (文档 ID 1377446.1)

In this Document

Purpose
  Best Practices
  Pro-Active Problem Avoidance and Diagnostic Collection
  Performance Service Request Diagnostic Collection (SRDC) documents
Troubleshooting Steps
  General Performance
  AWR Generation
  AWR Interpretation
  Buffer Busy  Contention
  Cache Buffers Chains Latch Contention
  Configuration Parameters
  Connection Timeouts: Errors ORA-3135/ORA-3136
  Deadlocks: Error ORA-00060
  Disk I/O
  Enqueue/Locks
  High Numbers of Child Cursors/High Cursor Version Counts
  Hung database
  Latches
  Library Cache
  Log File Sync
  Mutex Contention
  Operating System (OS)
  Paging/Memory
  Slow Database
  SQL Issue Diagnosis Using DBMS_SQLDIAG
  SQL Tuning
  SYSAUX Tablespace Issues
  TKProf Runtime Errors
  Upgrade
  Virtual Circuit Waits
  'WAITED TOO LONG FOR A ROW CACHE ENQUEUE LOCK!'
  Community Discussions
References

APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Oracle Database - Standard Edition - Version 10.1.0.2 and later
Oracle Database - Personal Edition - Version 10.1.0.2 and later
Information in this document applies to any platform.

PURPOSE

This article provides a central point for Performance Troubleshooting advice.

You can access categorised Troubleshooting information via the following:

Document 1543445.2 Troubleshooting Assistant: Troubleshooting Performance Issues
Document 1542678.2 Troubleshooting Assistant: SQL Performance Issues

This articles supersedes :

Document 106285.1 TROUBLESHOOTING GUIDE: Common Performance Tuning Issues (ARCHIVED)

Best Practices

Pro-Active Problem Avoidance and Diagnostic Collection

Although some problems may be unforeseen, in many cases problems may be avoidable if signs are detected early enough. Additionally, if an issue does occur, it is no use collecting information about that issue after the event. For information on suggested preparations to avoid issues and in case diagnostics are required, see:

Document 1482811.1 Best Practices: Proactively Avoiding Database and Query Performance Issues
Document 1477599.1 Best Practices Around Data Collection For Performance Issues

Performance Service Request Diagnostic Collection (SRDC) documents

Service Request Data Collection (SRDC) documents have been specially designed to provide the reader with the necessary instructions to provide a step by step guide to collecting information for a various common Database Performance Issues.

Document 1938786.1 List of Available Database Performance Related SRDC Documents

TROUBLESHOOTING STEPS

General Performance

The following articles can help with the interpretation of diagnostics to troubleshoot various issues:

Document 1362329.1 How To Investigate Slow Database Performance Issues
Document 390374.1 Oracle Performance Diagnostic Guide (OPDG)

AWR Generation

To troubleshoot the failure to collect AWR snapshots or reports, See:

Document 1301503.1 Troubleshooting: AWR Snapshot Collection issues 
Document 1363422.1 Automatic Workload Repository (AWR) Reports - Start Point

AWR Interpretation

How to troubleshoot performance issues using AWR snapshots or reports, See:

Document 1359094.1 FAQ: How to Use AWR reports to Diagnose Database Performance Issues 

Buffer Busy  Contention

To troubleshoot issues where Buffers have become Busy due to concurrent access, see:

Document 155971.1 Resolving Intense and "Random" Buffer Busy Wait Performance Problems:

Cache Buffers Chains Latch Contention

To troubleshoot issues caused by contention due to multiple sessions waiting to read the same block, see:

Document 1342917.1 Troubleshooting 'latch: cache buffers chains' Wait Contention

Configuration Parameters

Database parameters are designed so that the default is appropriate for the majority of cases. The following article discusses Optimizer Specific Parameters:

Document 1507909.1 What does it Mean if Disabling an Optimizer Specific Parameter Avoids a Performance Problem Detected After an Upgrade?

Connection Timeouts: Errors ORA-3135/ORA-3136

To troubleshoot issues caused by Connection Timeouts when errors such as ORA-3135 or ORA-3136 are seen, see:

Document 730066.1 Troubleshooting ORA-3135/ORA-3136 Connection Timeouts Errors - Database Diagnostics

Deadlocks: Error ORA-00060

For issues related to Deadlocks,refer to :

Document 60.1 Troubleshooting Assistant: Oracle Database ORA-00060 Errors on Single Instance (Non-RAC) Diagnosing Using Deadlock Graphs in ORA-00060 Trace Files
Document 1509919.1 Master Note for Database Error ORA-00060

Disk I/O

For issues related to Disk Input/Ouput (I/O),refer to :

Document 223117.1 Troubleshooting I/O-related waits 
Document 1275596.1 How to Tell if the IO of the Database is Slow

Enqueue/Locks

For locking issues refer to :

Document 1392319.1 Master Note: Locks, Enqueues and Deadlocks

Document 15476.1 FAQ about Detecting and Resolving Locking Conflicts

 

High Numbers of Child Cursors/High Cursor Version Counts

When a SQL statement is executed, Oracle will try to match that statement up with an existing identical statement that has already been executed and attempt to reuse the stored parsed representation of it (which is stored within a cursor structure in the library cache). If the existing information in the cursor for that statement cannot be used, a new version of that statement will be created and used instead. If lots of versions of a particular statement are created, Oracle has to search through the versions to determine which (if any) can be shared. In extreme circumstances, this can cause mutex contention and other issue that degrade the database performance. In order to troubleshoot these issues and determine the cause, see:

Document 296377.1 Troubleshooting: High Version Count Issues

Hung database

To troubleshoot cases where the database appears to have hung, refer to :

Document 1378583.1 Troubleshooting Database Hang Issues 
Document 452358.1 How to Collect Diagnostics for Database Hanging Issues

Latches

To troubleshoot issues where there is contention on 'cache buffers chains' latches see:

Document 1342917.1 Troubleshooting 'latch: cache buffers chains' Wait Contention

Library Cache

For issues related to contention in the Library Cache

Document 62143.1 Troubleshooting: Tuning the Shared Pool and Tuning Library Cache Latch Contention

Log File Sync

To troubleshoot issues where 'log file sync' is a primary cause of session wait activity, see:

Document 1376916.1 Troubleshooting: "Log File Sync" Waits 

Mutex Contention

For issues related to Mutex contention, refer to :

Document 1377998.1 Troubleshooting: Waits for Mutex Type Events

Document 1349387.1 Troubleshooting 'cursor: pin S wait on X' waits
Document 1357946.1 Troubleshooting 'library cache: mutex X' waits.

Document 1356828.1 FAQ: 'cursor: mutex ..' / 'cursor: pin ..' / 'library cache: mutex ..' Type Wait Events

Operating System (OS)

To troubleshoot Operating System (OS) related issues see:

Document 352648.1 How to Diagnose High CPU Usage Problems to the Module Level
Document 148176.1 Diagnosing hardware configuration induced performance problems

Paging/Memory

If heavy paging activity is seen and the database appears to be running more slowly than normal, refer to :

Document 1195174.1 Heavy Paging Causes Slow Database Performance

Slow Database

To troubleshoot occasions where the database appears to be running more slowly than normal, refer to :

Document 1362329.1 How To Investigate Slow Database Performance Issues

SQL Issue Diagnosis Using DBMS_SQLDIAG

An increasing number of issues can be detected, diagnosed and avoided using the DBMS_SQLDIAG package. For details see:

Document 1509192.1 How To Use DBMS_SQLDIAG To Diagnose Various Query Issues

SQL Tuning

For issues with individual queries, refer to the following troubleshooting documents:

Document 742112.1 * Query Performance Degradation - Recommended Actions 
Document 745216.1 * Query Performance Degradation - Upgrade Related - Recommended Actions

Document 179668.1 * TROUBLESHOOTING: Tuning Slow Running Queries 

Document 33089.1 * TROUBLESHOOTING: Possible Causes of Poor SQL Performance 
Document 372431.1 * TROUBLESHOOTING: Tuning a New Query 
Document 122812.1 * TROUBLESHOOTING: Tuning Queries That Cannot be Modified 
Document 163563.1 * TROUBLESHOOTING: Advanced Query Tuning

Document 1386036.1 How To Diagnose Issues Where Plans Are Different From Different Clients

SYSAUX Tablespace Issues

Document 1399365.1 Troubleshooting Issues with the SYSAUX Tablespace

TKProf Runtime Errors

Document 1383275.1 Troubleshooting TKProf Runtime Errors

Upgrade

To troubleshoot issues encountered after upgrading a database see:

Document 1528847.1 Troubleshooting: Avoiding and Resolving Database Performance Related Issues After Upgrade
Document 160089.1 TROUBLESHOOTING: Server Upgrade Results in Slow Query Performance 

For advice on how to avoid such issues before upgrading, see:

Document 1482811.1 Best Practices: Proactively Avoiding Database and Query Performance Issues
Document 785351.1 Oracle 11gR2 Upgrade Companion

Document 1645862.1 Things to Consider Before Upgrading to 11.2.0.4 to Avoid Poor Performance or Wrong Results 
Document 1392633.1 Things to Consider Before Upgrading to 11.2.0.3 to Avoid Poor Performance or Wrong Results 
Document 1320966.1 Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results

Virtual Circuit Waits

Document 1415999.1 Troubleshooting: Virtual Circuit Waits

'WAITED TOO LONG FOR A ROW CACHE ENQUEUE LOCK!'

To troubleshoot issues when the database detects that a waiter has waited for a resource for longer than a particular threshold and he message "WAITED TOO LONG FOR A ROW CACHE ENQUEUE LOCK!" appears in the alert log, See:

Document 278316.1 Troubleshooting: "WAITED TOO LONG FOR A ROW CACHE ENQUEUE LOCK!"

Community Discussions

Still have questions? Use the communities window below to search for similar discussions or start a new discussion on this subject. (Window is the live community not a screenshot)

Click here to open in main browser window

  

  

 

   

时间: 2024-11-08 21:34:51

【MOS】Troubleshooting Performance Issues (文档 ID 1377446.1)的相关文章

【MOS】Top 5 Grid Infrastructure Startup Issues (文档 ID 1368382.1)

 Top 5 Grid Infrastructure Startup Issues (文档 ID 1368382.1) In this Document Purpose Scope Details   Issue #1: CRS-4639: Could not contact Oracle High Availability Services, ohasd.bin not running or ohasd.bin is running but no init.ohasd or other pro

【MOS】Top Ten Performance Mistakes Found in Oracle Systems. (文档 ID 858539.1)

In this Document Purpose Troubleshooting Steps References APPLIES TO: Oracle Database - Enterprise Edition - Version 9.2.0.8 and laterInformation in this document applies to any platform.RDBMS PURPOSE The purpose of this note is to inform reader abou

【MOS】TNSPING TNS-12543: TNS:destination host unreachable (文档 ID 1556918.1)

In this Document Symptoms Cause Solution APPLIES TO: Oracle Net Services - Version 11.2.0.3 and laterInformation in this document applies to any platform. SYMPTOMS When attempting to tnsping a remote server,  the following error occurs. ERROR -------

【MOS】为何在查询中索引未被使用 (文档 ID 1549181.1、英文文档为67522.1)

为何在查询中索引未被使用 (文档 ID 1549181.1)   "为什么索引没有被使用"是一个涉及面较广的问题.有多种原因会导致索引不能被使用.首要的原因就是统计信息不准,第二原因就是索引的选择度不高,使用索引比使用全表扫描效率更差.还有一个比较常见的原因,就是对索引列进行了函数.算术运算或其他表达式等操作,或出现隐式类型转换,导致无法使用索引.还有很多其它原因会导致不能使用索引,这个问题在MOS(MOS即My Oracle Support)"文档1549181.1为何在查

【MOS】中文文档列表 - Oracle Database (文档 ID 1533057.1)

中文文档列表 - Oracle Database (文档 ID 1533057.1) 类型: 状态: 上次主更新: 上次更新: ANNOUNCEMENT PUBLISHED 2017-2-23 2017-2-23     文档内容 详细信息 操作   Oracle 数据库技术支持通讯   安装/升级/降级/迁移相关     日常管理相关   性能相关     集群及存储相关   高可用相关   TimesTen 内存数据库 联系人 参考 适用于: Oracle Database - Enterp

【MOS】EVENT: DROP_SEGMENTS - cleanup of TEMPORARY segments (文档 ID 47400.1)

[MOS]EVENT: DROP_SEGMENTS - Forcing cleanup of TEMPORARY segments (文档 ID 47400.1) ***Checked for relevance on 14-Jun-2012*** The DROP_SEGMENTS event ~~~~~~~~~~~~~~~~~~~~~~~ Available from 8.0 onwards. DESCRIPTION Finds all the temporary segments in a

【MOS】Cluster Health Monitor (CHM) FAQ (文档 ID 1328466.1 ID 2062234.1)

11gR2 新特性:Oracle Cluster Health Monitor(CHM)简介 Cluster Health Monitor(以下简称CHM)是一个Oracle提供的工具,用来自动收集操作系统的资源(CPU.内存.SWAP.进程.I/O以及网络等)的使用情况.CHM会每秒收集一次数据.    这些系统资源数据对于诊断集群系统的节点重启.Hang.实例驱逐(Eviction).性能问题等是非常有帮助的.另外,用户可以使用CHM来及早发现一些系统负载高.内存异常等问题,从而避免产生更严

【MOS】RAC 环境中 gc block lost 和私网通信性能问题的诊断 (文档 ID 1674865.1)

[MOS]RAC 环境中 gc block lost 和私网通信性能问题的诊断 (文档 ID 1674865.1) 文档内容 症状   概要:   场景:   原因:   Global Cache Block Loss诊断指南 更改 原因 解决方案 参考 适用于: Oracle Database - Enterprise Edition - 版本 9.2.0.1 和更高版本本文档所含信息适用于所有平台Oracle Clusterware & Oracle Real Application Clu

【MOS】在不同版本和平台之间进行还原或复制 (文档 ID 1526162.1)--跨版本恢复

[MOS]关于在不同版本和平台之间进行还原或复制的常见问题 (文档 ID 1526162.1)--跨版本恢复 Questions and Answers    1) 我能用更高版本的 Oracle 还原或复制旧版本的数据库吗?    2) 我能在两个不同的补丁程序集之间进行还原或复制吗?    3) 我能在同一操作系统的不同版本之间进行还原或复制吗?    4) Oracle 的位(bit)级别(32 位或 64 位)不匹配时,可以进行还原或复制吗?    5) 可以将更高版本的备份还原到较早版