How do ACID and database transactions work?

前端 未结 8 627
迷失自我
迷失自我 2020-11-29 14:31

What is the relationship between ACID and database transaction?

Does ACID give database transaction or is it the same thing?

Could someone enlighten this top

8条回答
  •  悲哀的现实
    2020-11-29 15:08

    To quote Wikipedia:

    ACID (atomicity, consistency, isolation, durability) is a set of properties that guarantee database transactions are processed reliably.

    A DBMS that supports transactions will strive to support all of these properties - any commercial DBMS (as well as several open-source DBMSs) provide full ACID 'support' - although it's often possible (for example, with varying isolation levels in MSSQL) to lessen the ACIDness - thus losing the guarantee of fully transactional behaviour.

提交回复
热议问题