Oracle 11g、12c大量错误登陆尝试带来的数据库异常
2018-01-16 09:12
459 查看
APPLIES TO:
CAUSE
小结:
关于大量的并发的错误密码连接数据库可能会导致数据库hang、或者引起性能问题,对数据库的影响非常大,近期就遇到过这样的一个案例。当然Oracle本身这个特性是非常好的,但是在当下确实会遇到一些问题,大家可以使用event 28401禁用这个特性。但是最好是要从管理上解决掉这样的问题,从安全层面做好管控。
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禁用这个特性。但是最好是要从管理上解决掉这样的问题,从安全层面做好管控。
相关文章推荐
- ORACLE 11g登陆时出现: 协议适配器错误的解决方法
- Oracle12c的数据库向11g导进的方法
- oracle 11g 表空间的存储文件错误,导致数据库不能启动
- 异常、错误-oracle 11g PL/SQL Programming学习三-by小雨
- oracle 11g数据库启动错误总结
- Oracle 11g 参数修改错误导致数据库无法启动的处理方法.[ORA-01034,ORA-27101]
- oracle 数据库io 异常,错误代码17002 解决办法
- 安装oracle 11g数据库出现执行先决条件检查全部失败的错误
- oracle 11g JDBC连接数据库:IO异常The Network Adapter could not establish the connection 解决方法
- 安装oracle 11g数据库出现执行先决条件检查全部失败的错误
- oracle 11g 大量废连接占满数据库连接问题处理
- 使用PL/SQL Developer 登陆 oracle 11g 64位数据库
- oracle 12c的数据库导进 11g
- oracle 12c的数据库导进 11g
- 12c Oracle_Home下的监听器监听11g数据库的问题
- oracle 12C中升级11g数据库到12c遇到ORA-65139
- oracle 10g手动创建数据库后登陆时显示适配器错误
- win7 64位 安装 oracle 11g R2 后,链接数据库报 ORA-21505错误的解决。
- Myeclipse 10 连接Oracle 11g数据库出现的连接错误的解决办法
- oracle 11g 数据库中报:协议适配器错误