What happens under the hood when a commit statement is issued in Oracle 10g?

Suppose the update is done through a transaction, and then a commit statement is issued.

What are all the internal processes that occur under the hood on the Oracle server after the commit statement?

+6
source share
3 answers
  • SCN (system change number) is incremented: SCN guarantees transaction order
  • LGWR (Log Writer) writes the remaining re-log to disk
  • LGWR writes SCN to online redo log files
  • The transaction is deleted from V $ TRANSACTION
  • Locks of the current session are released, removed from V $ LOCK
  • Other sessions waiting to block the actual session are notified
  • A wipe lock may occur: lock information is cleared from the block headers of the blocks modified by the transaction.
+5
source

You can read about the COMMIT statement in this link ...
http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_4010.htm

0
source

All Articles