广告
返回顶部
首页 > 资讯 > 数据库 >Oracle 11g、12c大量错误登陆尝试带来的数据库异常
  • 105
分享到

Oracle 11g、12c大量错误登陆尝试带来的数据库异常

2024-04-02 19:04:59 105人浏览 独家记忆
摘要

APPLIES TO: oracle Database - Enterprise Edition - Version 10.2.0.5 and later InfORMation in this docum

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禁用这个特性。但是最好是要从管理上解决掉这样的问题,从安全层面做好管控。

您可能感兴趣的文档:

--结束END--

本文标题: Oracle 11g、12c大量错误登陆尝试带来的数据库异常

本文链接: https://www.lsjlt.com/news/36399.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作