QUESTION: You update a record and issue a COMMIT - what happens next?

UPDATE employees SET first_name = 'John'
WHERE emp_id = 1009;
COMMIT;
What happens when a user issues the COMMIT in the above SQL statement?
A. Dirty buffers in the database buffer cache are flushed.
B. The server process places the commit record in the redo log buffer.
C. Log Writer (LGWR) writes the redo log buffer entries to the redo log files and data files.
D. The user process notifies the server process that the transaction is complete.
E. The user process notifies the server process that the resource locks can be released.
I think the answers are a litle ambigious - so appriciate your inputs! :)
Thanks
Amanjit

>
The internal transaction table for the associated
undo tablespace records that the transaction has
committed, and the corresponding unique system change
number (SCN) of the transaction is assigned and
recorded in the table.
The log writer process (LGWR) writes redo log entries
in the SGA's redo log buffers to the redo log file.
It also writes the transaction's SCN to the redo log
file. This atomic event constitutes the commit of the
transaction.
Oracle releases locks held on rows and tables.
Oracle marks the transaction complete.Thanks for that lik Eric J - helped me! :)
Its all still a bit fuzzy for me, but by process of elimination using the above makes its easier:
a) No - obviously
b) Yes - by process of elimination, even if its not 'technically' correct
c) No - as LGWR does not touch data files
d) No - as Ultimate steo in comit 'process'
e) No - as PENUltimate step in comit 'process'
What do you guys think?
Amanjit

Similar Messages

Maybe you are looking for