In the transaction state model, what is the state of a transaction after its final statement has executed but before its commit has completed?
Correct answer B. Partially committed
Explanation
A transaction is active while it executes its statements. After the last statement it becomes partially committed: the work is done but the changes may still be only in memory, so a failure could force an abort. Only after the commit is made durable, typically by writing the commit log record, does it enter the committed state. Failed means normal execution can no longer proceed.
Answer checked How we write and check questions
Discussion