【翻译自mos文章】在win2003 sp1下,遇到无法解释的数据库性能下降

翻译自mos文章:在win2003 sp1下,遇到无法解释的数据库性能下降

Unexplained Database Slowdown Seen on Windows 2003 Service Pack 1 (Doc ID 464683.1)

Applies to:

Oracle Server - Enterprise Edition - Version 9.2.0.1 to 11.1.0.6 [Release 9.2 to 11.1]

z*OBSOLETE: Microsoft Windows Server 2003

Microsoft Windows Itanium (64-bit)

z*OBSOLETE: Microsoft Windows XP (64-bit AMD64 and Intel EM64T)

Microsoft Windows Server 2003 (64-bit Itanium)Microsoft Windows Server 2003Microsoft Windows XP (64-bit AMD64 and Intel EM64T)

Description

Periodic Database slowdowns seen in Windows 2003 environments with lots of memory, running Service Pack 1

Occurrence

Environments with a high level of concurrency, many CPU‘s and large amounts of physical ram are prone to this type of problem.

Symptoms

Symptoms

Symptoms include any or all of the following:

1.  General slowdowns in the database, which may appear to be hung, even though systemstate dumps may not show evidence of hangs or locking contention.  Sometimes, the database may recover from these slowdowns on its own, and begin responding with no user
intervention.  At other times, the database may appear to be hung for long periods of time.

2.  Other symptoms may include slow disk I/O - i.e. a large increase in average I/O times may be observed when reviewing AWR reports covering the time period in question.

3.  It may also be observed that network latency increases dramatically.  If running in a RAC environment, you may notice an increase in cluster latency - i.e. an increase in the wait times for global cache requests and messages  (again, as observed in AWR
reports or in some cases as seen via real-time monitoring tools).

4.  If running in a RAC environment, we may see IPC timeouts in the ipcdbg logfiles.  On Oracle 10g, the ipcdbg logs are found in the $ORACLE_HOME\rdbms\log subdirectory.   In Oracle 9i, the ipcdbg logs are found in C:\WINDOWS\system32\osd9i.   Examples
of entries in the ipcdbg logfiles that indicate a slowdown would be entries such as the following:

Thread(06c4): 10/25/07 05:59:56 TCP/IP IPC ErrorLog, version[ 10.2.0.2.0.99 ]

10/25/07 05:59:58 |  INFO   | 02dc | Initialized proc [oracle : opprodrc1 :####] from interface at#######

10/25/07 07:35:27 |  ERROR  | 1ae8 | IPC_TCPConnect:  async connect err 10048 to [opp :####:###:#####]

10/25/07 07:38:44 |  ERROR  | 1c6c | IPC_TCPConnect:  async connect err 10048 to [opp :###:###:#####]

10/25/07 07:43:37 |  ERROR  | 1414 | [ipcosd.c :####] IPC_TCPListen2:  Timeout 63050 exceeds max 25000 + margin 5000

10/25/07 07:43:37 |  ERROR  | 1414 | [ipcosd.c :####] IPCInitPort:  Timeout 63140 exceeds max 25000 + margin 5000

10/25/07 07:43:40 |  ERROR  | 15f0 | [ipcosd.c :####] IPC_TCPListen2:  Timeout 64950 exceeds max 25000 + margin 5000

5.  Monitoring of system resources via Perfmon or other monitoring utilities may also reveal an increase in system time, indicating a large amount of work being done by the OS kernel.

Diagnosing the problem:

This problem can be difficult to diagnose, and it is therefore advised that the solution recommended below be implemented proactively.  The symptoms listed in this note will not always manifest in the same way.

In some cases, this problem may be diagnosed by verifying via Perfmon stats, AWR reports, and ipcdbg logs as noted above.   In order to get confirmation of the problem, as noted above, systemstate dumps may not show any symptoms other than slow processing, so
it may be necessary to run adplus and take user level dumps of the oracle.exe process, in addition to collecting the normal systemstate dumps and hanganalyze dumps.   Having a combination of systemsate dumps and adplus dumps of the oracle.exe process may make
this issue easier to debug, but in some cases it may also be necessary to get a kernel dump to confirm the exact cause.  The OS or Hardware vendor should be consulted for assistance in obtaining a kernel dump.

In order to take an adplus dump of the oracle.exe process, at a high level, you must install the ‘Debugging Tools for Windows‘  and then run adplus as such:

adplus -hang -p <PID for oracle.exe>

Be sure to use the correct PID corresponding to the correct oracle.exe.  If you are running an ASM instance, you will most likely have at least two oracle.exe processes, but you will most likely want to run adplus and dump the oracle.exe
associated with the database instance, NOT the ASM instance

For a complete description of what adplus is and how to run it, please refer to the following Microsoft Support note.

http://support.microsoft.com/kb/286350/en-us

@ For the issue described in the alert, the Adplus dumps of the oracle process may show threads

@ kiswapcontext

@ As noted above, in some cases, it may be necessary to take a

Workaround

The cause of this problem may be the following Microsoft bug, which is described in the following links:

http://support.microsoft.com/kb/919341

http://support.microsoft.com/kb/922658

This issue is known to be a problem in Windows 2003 with Service Pack 1, and can affect any application with large memory requirements, including single-instance Oracle database, Oracle RAC Databases and non-Oracle databases.  It is strongly advised that
this Windows hotfix be installed proactively on all Oracle installations running on Windows 2003 with Service Pack 1, or that those installations be upgraded to Service Pack 2 proactively.

Patches

Microsoft has a hotfix available on top of Service Pack 1, and the issue should also be resolved by upgrading to Service Pack 2.  As noted above, see the following referenced Microsoft article for information on this fix:

http://support.microsoft.com/kb/919341/en-us

时间: 2024-12-24 14:32:18

【翻译自mos文章】在win2003 sp1下,遇到无法解释的数据库性能下降的相关文章

【翻译自mos文章】rhel 5下禁用SElinux的方法

rhel 5下禁用SElinux的方法: 参考自: How to Disable or set SELinux to Permissive mode (文档 ID 457458.1) Edit /etc/selinux/config ?Change the SELINUX value to "SELINUX=disabled". ?Reboot the server. 在RHEL5.8 的 文本安装过程中,是没有关于selinux的设置的,因此在一个人安装os后,另外一个人去安装ora

【翻译自mos文章】Windows平台下的 Oraagent Memory Leak

来源于: Oraagent Memory Leak (文档 ID 1956840.1) APPLIES TO: Oracle Database - Enterprise Edition - Version 11.2.0.3 and later Information in this document applies to any platform. NOTE: This document is based on the analysis performed in a Windows enviro

【翻译自mos文章】rac数据库中,HC_&lt;SID&gt;.dat文件被其他Oracle_Home下的实例所使用。

rac数据库中,HC_<SID>.dat文件被其他Oracle_Home下的实例所使用. 参考原文: RAC database HC_<SID>.dat is used by instance of different Oracle_Home (Doc ID 1618161.1) 适用于: Oracle Database - Enterprise Edition - Version 11.2.0.0 and later Information in this document ap

【翻译自mos文章】在不使用par file的情况下,export or import 含有大小写表名的表

在不使用par file的情况下,export or import 含有大小写表名的表 参考原文: How to Export or Import Case Sensitive Tables Without Using a Par File (Doc ID 1622134.1)1 适用于: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.4 [Release 10.2 to 11.2] Information i

【翻译自mos文章】尽管指定了目的地,asmcmd cp命令还是在 +DATA/ASM 下创建文件

尽管指定了目的地,asmcmd cp命令还是在  +DATA/ASM 下创建文件 参考原文: ASMCMD Cp Creates Files In +DATA/ASM Instead Of Destination Specified (Doc ID 1488934.1) 适用于: Oracle Database - Enterprise Edition - Version 11.2.0.3 and later Information in this document applies to any

【翻译自mos文章】找到&#39;cursor: pin S wait on X&#39; 等待事件的阻塞者session(即:持有者session)

找到'cursor: pin S wait on X' 等待事件的阻塞者session(即:持有者session) 来源于: How to Determine the Blocking Session for Event: 'cursor: pin S wait on X' (Doc ID 786507.1) 适用于: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2

【翻译自mos文章】SGA_TARGET与SHMMAX的关系

SGA_TARGET与SHMMAX的关系 参考原文: Relationship Between SGA_TARGET and SHMMAX (文档 ID 1527109.1) 适用于: Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.3 [Release 10.1 to 11.2] Information in this document applies to any platform. 目的: 解释了参数文件中

【翻译自mos文章】使用buffer memory 参数来调整rman的性能。

使用buffer memory 参数来调整rman的性能. 本文翻译自mos文章:RMAN Performance Tuning Using Buffer Memory Parameters (Doc ID 1072545.1) rman 性能调整的目的是分辨一个特定的backup or  restore job的瓶颈. 并使用使用rman命令.初始化参数 或者对physical media的调整来提高整体的性能. 由于数据库容量持续变大,在客户的环境中,几十到几百TB的数据库很常见, serv

【翻译自mos文章】升级到11.2.0.4之后在alert日志中出现 NUMA 警告信息

注:与本文有关的文章为:http://blog.csdn.net/msdnchina/article/details/43763927 升级到11.2.0.4之后在alert日志中出现 NUMA 警告信息 翻译自mos文章:NUMA warning message appear after upgrade to 11.2.0.4 (文档 ID 1600824.1)1 适用于: Oracle Database - Enterprise Edition - Version 11.2.0.4 and