Oracle 11g、12c大量錯誤登陸嘗試帶來的資料庫異常

來源:互聯網
上載者:User

標籤:sam   bms   inf   evel   ring   sql   versions   and   rdb   

APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.2.0.5 and laterInformation 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 passwordEven 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 AUTHENTICATIONThis 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 unconditionallyIn 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、12c大量錯誤登陸嘗試帶來的資料庫異常

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.