About Oracle Lock
1)A modified row is always locked exclusively so that other transactions cannot modify the row until the transaction holding the lock is committed or rolled back.
However, if the transaction dies due to instance failure, block-level recovery makes a row available before the entire transaction is recovered.
2)Oracle can roll back multiple transactions simultaneously as needed. All transactions systemwide that were active at the time of failure are marked as terminated. Instead of waiting for SMON to roll back terminated transactions, new transactions can recover blocking transactions themselves to get the row locks they need.
With fast-start fault recovery, the Oracle database is opened for access by applications without having to wait for the undo, or rollback, phase to be completed. The rollback of data locked by uncommitted transaction is done dynamically on an as needed basis. If the user process encounters a row locked by a crashed transaction, then it just rolls back that row. The impact of rolling back the rows requested by a query is negligible.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24104518/viewspace-715171/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- About the Oracle GoldenGate TrailOracleGoAI
- about oracle10g rac(轉)Oracle
- ORACLE LOCK,LATCH,PINOracle
- ORACLE LOCK MODE 1.2.3.4.5.6Oracle
- ORACLE基礎之oracle鎖(oracle lock mode)詳解Oracle
- Oracle RAC Cache Fusion 系列十:Oracle RAC Enqueues And Lock Part 1OracleENQ
- 【TUNE_ORACLE】等待事件之“library cache lock”Oracle事件
- About HTMLHTML
- about me
- oracle ORA-01157: cannot identify/lock data file 64OracleIDE
- Oracle Enqueues Wait Events 三 enq: TX - row lock contentionOracleENQAI
- Trivia about pythonPython
- About My Blog
- Narrative writing about a person
- 3.4.1 About Quiescing a DatabaseUIDatabase
- 2.3.3.1 About Application MaintenanceAPPAINaN
- 2.3.1 About Application ContainersAPPAI
- An example about git hookGitHook
- oracle ocp 19c考題11,科目082考試題 - about SET VERIFY ON commandOracle
- oracle資料庫事務transaction鎖lock模式思考之一Oracle資料庫模式
- oracle資料庫事務transaction 不同的鎖lock型別Oracle資料庫型別
- Notes about Vue Style GuideVueGUIIDE
- Something about seniority in the family or clan
- Some notes about patch workflows
- Some ideas About ‘invisible bug‘Idea
- oracle事務transaction鎖lock一點兒小思考或總結Oracle
- 【ASK_ORACLE】LOCK_SGA引數失效的解決辦法Oracle
- Tell Me About Yourself Example 1
- What you should know about JavaJava
- Something about 計算幾何
- Something about 樹鏈剖分
- some notes about distributed workflows in GitGit
- What is the N prefix in MSSQL all about?SQL
- Talk about the naming of spring bean namesSpringBean
- Oracle 11g 密碼延遲認證與 library cache lock 等待Oracle密碼
- Lock 鎖
- 當刪除oracle資料庫user時發生row cache lock 等待事件Oracle資料庫事件
- 【ASK_ORACLE】Library cache pin 與 library load lock的關係和區別Oracle
- mysql innodb lock鎖之record lock之一MySql