Oracle 11g、12c大量错误登陆尝试带来的数据库异常
admin
2023-04-22 14:22:49
0

APPLIES TO:

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

CAUSE

A hang is possible in earlier versions of RDBMS as a result of an unpublished bug fixed in the following versions:

    12.1.0.1 (Base Release)
    11.2.0.2 (Server Patch Set)
    11.1.0.7 Patch 42 on Windows Platforms
Document 9776608.8 Bug 9776608 - Hang from concurrent login to same account with a wrong password

Even with this fix, numerous failed logins attempts can cause row cache lock waits and/or library cache lock waits. 

This was reported in:

Bug 11742803 LOTS OF 'LIBRARY CACHE LOCK' DURING USER LOGON AUTHENTICATION
This was closed as not a bug because there is an intentional wait when a login fails.

SOLUTION

In Oracle 11g Release 11.1.0.7,  the wait is disabled unconditionally
In Oracle 11g Release 2 and higher, in order to disable the wait between login failures the event 28401 needs to be explicitly enabled:
The event can be set as follows:

alter system set event ="28401 TRACE NAME CONTEXT FOREVER, LEVEL 1" scope=spfile;

To unset the event, set as follows:
SQL> Alter system set event= '28401 trace name context off' scope=spfile ;

小结:
关于大量的并发的错误密码连接数据库可能会导致数据库hang、或者引起性能问题,对数据库的影响非常大,近期就遇到过这样的一个案例。当然Oracle本身这个特性是非常好的,但是在当下确实会遇到一些问题,大家可以使用event 28401禁用这个特性。但是最好是要从管理上解决掉这样的问题,从安全层面做好管控。

相关内容

热门资讯

我来教教您“新猴王拼三张辅助器... 家人们!今天小编来为大家解答新猴王拼三张透视挂怎么安装这个问题咨询软件客服徽9752949的挂在哪里...
终于懂了“吉林白山麻将辅助器?... 家人们!今天小编来为大家解答吉林白山麻将透视挂怎么安装这个问题咨询软件客服徽9752949的挂在哪里...
最新引进“笑傲江湖开挂神器?”... 您好:笑傲江湖这款游戏可以开挂,确实是有挂的,需要了解加客服微信【4282891】很多玩家在这款游戏...
今日重磅消息“来趣广西麻将到底... 您好:来趣广西麻将这款游戏可以开挂,确实是有挂的,需要了解加客服微信【9784099】很多玩家在这款...
今日重磅消息“麻辣竞技究竟有挂... 有 亲,根据资深记者爆料麻辣竞技是可以开挂的,确实有挂(咨询软件无需打开...
终于懂了“南通快胡麻将究竟有挂... 终于懂了“南通快胡麻将究竟有挂吗?”(详细开挂教程)您好,南通快胡麻将这个游戏其实有挂的,确实是有挂...
【第一财经】“么么都莱游戏怎么... 有 亲,根据资深记者爆料么么都莱游戏是可以开挂的,确实有挂(咨询软件无需...
【第一财经】“同城游比鸡真的有... 【第一财经】“同城游比鸡真的有挂吗?”(必胜开挂神器)您好,同城游比鸡这个游戏其实有挂的,确实是有挂...
【第一资讯】“游戏茶苑真的有挂... 有 亲,根据资深记者爆料游戏茶苑是可以开挂的,确实有挂(咨询软件无需打开...
最新引进“天天福州十三水到底有... 您好:天天福州十三水这款游戏可以开挂,确实是有挂的,需要了解加客服微信【9784099】很多玩家在这...