What is a database transaction?

前端 未结 11 2222
耶瑟儿~
耶瑟儿~ 2020-11-27 09:34

Can someone provide a straightforward (but not simpler than possible) explanation of a transaction as applied to computing (even if copied from Wikipedia)?

11条回答
  •  难免孤独
    2020-11-27 10:22

    I would suggest that a definition of 'transaction processing' would be more useful, as it covers transactions as a concept in computer science.

    From wikipedia:

    In computer science, transaction processing is information processing that is divided into individual, indivisible operations, called transactions. Each transaction must succeed or fail as a complete unit; it cannot remain in an intermediate state.

    http://en.wikipedia.org/wiki/Transaction_processing#Implementations

提交回复
热议问题