溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

Oracle 11g、12c大量錯(cuò)誤登陸嘗試帶來的數(shù)據(jù)庫異常

發(fā)布時(shí)間:2020-06-05 13:41:02 來源:網(wǎng)絡(luò) 閱讀:1161 作者:roidba 欄目:關(guān)系型數(shù)據(jù)庫

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 ;

小結(jié):
關(guān)于大量的并發(fā)的錯(cuò)誤密碼連接數(shù)據(jù)庫可能會(huì)導(dǎo)致數(shù)據(jù)庫hang、或者引起性能問題,對數(shù)據(jù)庫的影響非常大,近期就遇到過這樣的一個(gè)案例。當(dāng)然Oracle本身這個(gè)特性是非常好的,但是在當(dāng)下確實(shí)會(huì)遇到一些問題,大家可以使用event 28401禁用這個(gè)特性。但是最好是要從管理上解決掉這樣的問題,從安全層面做好管控。

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI