Required Support Diagnostics for Hanging Databases
来源:互联网 发布:mac队 雷欧 编辑:程序博客网 时间:2024/06/10 09:26
In this Document
Goal
Solution
References
Applies to:
Oracle Server - Enterprise Edition - Version: 9.0.1.0 to 11.1.0.6
Information in this document applies to any platform.
Goal
Provide information on what to collect for a situation where the database appears to hang.
Solution
If the Database Appears to 'hang' Please provide the following information:
A. 2 Hanganalyze and 2 Systemstate dumps.
B. Provide snapshots of database performance
C. Provide an up to date RDA.
A. 2 Hanganalyze and 2 Systemstate dumps.
Hanganalyze will confirm if the db is really hung or just slow.
Systemstate dump shows what each process on the database is doing.
* Beware of taking systemstates on very large systems with large numbers of process.
Systemstates can be very slow and the trace file can be very large.
Using SQL*Plus connect as SYSDBA using the following command:
sqlplus " / as sysdba"
Do this 2 times in 2 separate windows, creating 2 sqlplus sessions (SQL1 and SQL2)
In SQL1 gather the hanganalyze by executing the following:
SQL1> oradebug setmypid
SQL1> oradebug unlimit;
SQL1> oradebug hanganalyze 3
In SQL2 gather the systemstates by executing the following:
SQL2> oradebug setmypid
SQL2> oradebug unlimit;
SQL2> oradebug dump systemstate 266
Gather a second hang analyze having waited at least 1 minute to give time to identify process state changes. In SQL1 execute the following:
SQL1> oradebug hanganalyze 3
In SQL2 execute the following to collect a second systemstate dump:
SQL2> oradebug setmypid
SQL2> oradebug unlimit;
SQL2> oradebug dump systemstate 266
If you are using systemstate level 266 and it is taking much longer than expected to generate the dump file, then end this systemstate dump and try level 258.
If connection to the system is not possible in any form, then please refer to the following article which describes how to collect systemstates in that situation:
B. Provide snapshots of database performance
Please take and upload snapshots of database performance.
Please refer to the following article for details of what to collect:
Please collect the requested information and upload the files produced to metalink.
Please List and describe the uploaded files below. If none, please indicate as such:
C. Provide an up to date RDA.
An up to date current RDA provides a lot of additional information about the configuration of the database and performance metrics.
See the following note on metalink:
References
Note 121779.1 - Taking Systemstate Dumps when You cannot Connect to Oracle
Note 175006.1 - Steps to generate HANGANALYZE trace files
Note 276103.1 - PERFORMANCE TUNING USING 10g ADVISORS AND MANAGEABILITY FEATURES
Note 314422.1 - Remote Diagnostic Agent (RDA) 4 - Getting Started
- Required Support Diagnostics for Hanging Databases
- Required Support Diagnostics for Hanging Databases [ID 452358.1]
- How to Collect Diagnostics for Database Hanging Issues (文档 ID 452358.1)
- Quest Central for Databases
- zabbix3.0 php56 PHP databases support fail
- Collecting The Required Information For Support To Validate & Troubleshooting ASM Diskgroup Corrupti
- Java Persistence for Relational Databases
- 【CBIR】Benchmark databases for CBIR
- Best practices for contained databases
- DBCP - validationQuery for different Databases
- -diagnostics
- Lifecycle Application Diagnostics for C/C++
- Windows Azure Mobile Service - Logs for diagnostics
- Archive for required library: '/libs/android-support-v4.jar' in project '' cannot be read or is not
- How to support full Unicode in MySQL databases
- Databases
- Required Skills for jobs~~~
- archive for required library...
- 关于C#的委托入门讲解
- 在html文件中使用自定义标签
- Java开发工具的官方下载地址
- 非中文和中文字符转换成整形的范围
- 经典MD5算法的ASP实现
- Required Support Diagnostics for Hanging Databases
- centos使用光盘作为本地的yum源
- Taking Systemstate Dumps when You cannot Connect to Oracle
- 中国垃圾书泛滥,所有的出版社都不负责任
- 代码之美
- ORADEBUG 使用介绍
- 图灵
- ubuntu下vmware6.5安装与卸载
- 人工智能