Bug 7715339 - Logon failures causes "row cache lock" waits - Allow disable of logon delay


(文档 ID 7715339.8) 究竟部 

改动时间:2012-7-26类型:PATCH 

为此文档评级 通过电子邮件发送此文档的链接 在新窗体中打开文档 可打印页

Bug 7715339  Logon failures causes "row cache lock" waits - Allow disable of logon delay

This note gives a brief overview of bug 7715339.

 The content was last updated on: 19-JUN-2012

 Click here for details of each of the sections below.

Affects:

Product (Component)  Oracle Server (Rdbms)

Range of versions believed to be affected  Versions >= 11.1

Versions confirmed as being affected 

11.1.0.7

Platforms affected  Generic (all / most platforms affected)

Fixed:

This issue is fixed in 

11.2.0.1 (Base Release)

Symptoms:

Related To:

Performance Affected (General)

Waits for "row cache lock"

Security ( Authentication / Privileges / Auditing )

Description

In 11g there is an intentional delay between allowing failed logon

attempts to retry. For some specific application types this can cause

a problem as the row cache entry is locked for the duration of the

delay . This can lead to excessive row cache lock waits for DC_USERS

for specific users / schemas .

 

This "fix" allows the logon delay to be disabled in 11.2.0.1 onwards

by setting event 28401 in the init.ora.

eg:

    event="28401 trace name context forever, level 1" # disable logon delay.-----该事件会禁用登录延迟,一种假死的状态

This "event" will disable the logon sleep delay system-wide,

ie. it will affect all user accounts, system-wide, and so should be used

    with extreme caution.

 

Example scenario:

 A mix of correct and incorrect logon attempts occur for user X

 On each successive failed login attempt the failed logon count

  is incremented for user X.

 

 Without this fix (without the event set):

  After 3 successive failures a sleep delay is introduced starting

   at 3 seconds and extending to 10 seconds max. During each delay

   the user X row cache lock is held in exclusive mode preventing

   any concurrent logon attempt as user X (and preventing any

   other operation which would need the row cache lock for user X).

 

 With the fix (with the event set):

  There is no sleep delay.

 

 In either scenario the configured logon profile rules are still

 applied (eg: The profile option FAILED_LOGIN_ATTEMPTS is still

 honoured and so if the account becomes locked due to exceeeding

 this FAILED_LOGIN_ATTEMPTS then further attempts to

 log in will then correctly fail immediately with no delay).

 

Note:

 One off fixes for this issue for 11.1.0.7 do not need an event set -

 interim patches for 11.1 disable the delay unconditionally.

 

Work Around:

 Ensure the correct password is used - especially for connection

 intensive logons

 

Getting a Fix

 Use one of the "Fixed" versions listed above

 (for Patch Sets / bundles use the latest version available as

  contents are cumulative - the "Fixed" version listed above is

  the first version where the fix is included)

 or

 You can check for existing interim patches here: Patch:7715339

 

Please note: The above is a summary description only. Actual symptoms can vary. Matching to any symptoms here does not confirm that you are encountering this problem. For questions about this bug please consult Oracle Support.

References

Bug:7715339 (This link will only work for PUBLISHED bugs)

Note:245840.1 Information on the sections in this article

bug 7715339 登录失败触发 ‘row cache lock’ 等待的更多相关文章

  1. Database hang and Row Cache Lock concurrency troubleshooting

    http://www.dadbm.com/database-hang-row-cache-lock-concurrency-troubleshooting/ Issue backgroundThis ...

  2. 【转载】row cache lock

    转自:http://blog.itpub.net/26736162/viewspace-2139754/   定位的办法: --查询row cache lock等待 select event,p1   ...

  3. row cache lock

    SQL> col name format a30 SQL> select * from (select SAMPLE_TIME, SESSION_ID, NAME, P1, P2, P3, ...

  4. 关于library cache lock和row cache lock产生的常见原因

    这两个等待事件其实很少出现在top5列表中,一般都没什么印象,在此整理记录以便以后查阅. 常见的library cache lock产生的原因在<高级OWI与Oracle性能调查>这本书和 ...

  5. Sessions Hang on row cache lock

    Sessions Hang on "row cache lock" (dc_objects) While Creating & Dropping a Table Concu ...

  6. 【等待事件】序列等待事件总结(enq: SQ - contention、row cache lock、DFS lock handle和enq: SV - contention)

    [等待事件]序列等待事件总结(enq: SQ - contention.row cache lock.DFS lock handle和enq: SV -  contention) 1  BLOG文档结 ...

  7. library cache lock和cursor: pin S wait on X等待

    1.现象: 客户10.2.0.4 RAC环境,出现大量的library cache lock和cursor: pin S wait on X等待,经分析是由于统计信息收集僵死导致的.数据库在8点到9点 ...

  8. Library cache lock/pin详解

    Library cache lock/pin 一.概述 ---本文是网络资料加metalink 等整理得来一个实例中的library cache包括了不同类型对象的描述,如:游标,索引,表,视图,过程 ...

  9. 如何使用event 10049分析定位library cache lock and library cache pin

    Oracle Library Cache 的 lock 与 pin 说明 一. 相关的基本概念 之前整理了一篇blog,讲了Library Cache 的机制,参考: Oracle Library c ...

随机推荐

  1. info---Linux下info格式的帮助指令。

    info命令是Linux下info格式的帮助指令. 它的几个常用快捷键. ?键:它就会显示info的常用快捷键. N键:显示(相对于本节点的)下一节点的文档内容. P键:显示(相对于本节点的)前一节点 ...

  2. 【Codeforces Round #423 (Div. 2) A】Restaurant Tables

    [Link]:http://codeforces.com/contest/828/problem/A [Description] 有n个组按照时间顺序来餐馆; 每个组由一个人或两个人组成; 每当有一个 ...

  3. 洛谷—— P1926 小书童——刷题大军

    https://www.luogu.org/problem/show?pid=1926#sub 题目背景 数学是火,点亮物理的灯:物理是灯,照亮化学的路:化学是路,通向生物的坑:生物是坑,埋葬学理的人 ...

  4. MethodFilterInterceptor(方法拦截器)配置excludeMethors

    由于该类有setExcludeMethods方法,因此在xml中可以配置一个excludeMethods参数 刚开始老是拦截不成功,tomcat显示这个参数没找到,后来终于找到错误:不应该在拦截器栈中 ...

  5. WIN10远程桌面连接--“出现身份验证错误。要求的函数不支持”

    最近WIN10升级补丁后发现远程桌面无法连接了,报“出现身份验证错误.要求的函数不支持”的错误: 解决办法: 第一种,配置本地自己的电脑,开始菜单->搜索gpedit.msc并打开   打开配置 ...

  6. 怎样只接受固定长度数组为参数 & 数组形参

    注意,对于多维数组的情况.

  7. Codeforces Round #313 (Div. 2) 解题报告

    A. Currency System in Geraldion: 题意:有n中不同面额的纸币,问用这些纸币所不能加和到的值的最小值. 思路:显然假设这些纸币的最小钱为1的话,它就能够组成随意面额. 假 ...

  8. Mahout-HashMap的进化版FastByIdMap

    FastByIdMap是基于散列的.在处理冲突时是线性探測而非分离链接,这样就不必为每个条目添加一个Map.Entry对象.从而节省内存开销. 以下代码是一个线性探測Map的Demo: package ...

  9. html5的代码验证

    http://html5.validator.nu/ http://validator.w3.org/#validate_by_uri

  10. JUnit中assertEquals和assertSame方法的不同

    1)提供的接口数量不完全相同. assertEquals支持boolean,long,int等等java primitiveType变量.assertSame只支持Object. 2)比较的逻辑不同, ...