(Eng)
To emulate a business transaction, a program may need to perform several steps. A financial program, for example, might transfer funds from a checking account to a savings account using the steps listed in the following pseudocode:
begin transaction debit checking account credit savings account update history log commit transaction
Either all three of these steps must complete, or none of them at all. Otherwise, data integrity is lost. Because the steps within a transaction are a unified whole, a transaction is often defined as an indivisible unit of work.
(Kor)
은행에서 돈을 송금시 거치는 여러과정을 '하나의 과정으로 통틀어 묶는' 것. 송금중 조금이라도 이상이 있으면 전 과정이 모두 취소(roll back)되거나, 이상이 없으면 모든 과정이 다 commit 되어야 한다. 트랜잭션은 즉 복합적인 과정을 하나로 통틀어 일컫는 말이다.
EmoticonEmoticon