Will crashed transaction be rollbacked?
Will crashed transaction be rollbacked?
От:
Jialun Zhang <reatank@gmail.com>
Дата:
Hi All,
If the system crashes while a transaction still in progress, what will happen to it in recovery? Will it be rollbacked? For example, if I insert a row and the insertion has been xlogged, then the system crashes before this transaction commits, will this insertion be cancelled in recovery?
Thanks,
Jialun Zhang
Re: Will crashed transaction be rollbacked?
Greetings, * Jialun Zhang (reatank@gmail.com) wrote: > If the system crashes while a transaction still in progress, what will > happen to it in recovery? Will it be rollbacked? For example, if I insert a > row and the insertion has been xlogged, then the system crashes before this > transaction commits, will this insertion be cancelled in recovery? The transaction will be rolled back if it hasn't committed. Thanks, Stephen