暂无图片
并行过大导致数据库连接失败
最近更新:2024-03-27 09:46:31

1. 故障概述

2022年11月21日15:00-17:00之间,数据库2、4节点夯住,连接不上,导致业务受影响。

经过分析,原因是数据库中存在一个人为的PL/SQL Devloper工具发起的大并发SQL语句,sql语句写法存在问题,产生并行进程过多,导致服务器资源消耗严重,导致无法新建连接,影响业务运行。

2. 紧急处理方法

1、数据库。数据库重启后,数据库恢复正常,业务也陆续恢复正常。

3. 分析过程:

3.1. 数据库实例4的日志信息

如下是数据库实例4的日志:

从日志输出看,15:03:31报ORA-00445错误,后台进程超时120秒后没有启动。

ORA-00445报错解释如下:

00445, 00000, "background process \"%s\" did not start after %s seconds"

// *Cause: The specified process did not start after the specified time.

// *Action: Ensure that the background did not die and leave a trace file.

如下日志相关信息:

client details:
......