What is a database transaction?

前端 未结 11 2256
耶瑟儿~
耶瑟儿~ 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:28

    http://en.wikipedia.org/wiki/Database_transaction
    http://en.wikipedia.org/wiki/ACID
    ACID = Atomicity, Consistency, Isolation, Durability

    When you wish for multiple transactional resources to be involved in a single transaction, you will need to use something like a two-phase commit solution. XA is quite widely supported.

提交回复
热议问题