About Affairs

What matters is:
1. atomicity

  • A transaction is a logical unit of work database, all operations in the transaction included either do or do not do with the total death

2, consistency

  • What
    the results of the implementation of business must be to change the database from one consistent state to another consistent state. Therefore, when the database contains only the result of a successful transaction commit, say the database in a consistent state. If the database system
    fails to run, some were forced to interrupt the transaction has not been completed, these transactions did not complete the modifications made to the database has been written to the physical part of the database, then the database will be in a bad state, or is
    inconsistent state.

3, isolation

  • Execution of a transaction can not interfere with other transactions. I.e., operation and use of the data inside a transaction other concurrent transactions are isolated and can not interfere with each other between the respective transaction executed concurrently.

4, persistent

  • Also known as permanent, means that once a transaction commits, changing the data in the database is that it should be permanent. The next operation or other faults should not have any impact on its results of execution
Published 23 original articles · won praise 2 · Views 940

Guess you like

Origin blog.csdn.net/metjoyful/article/details/101067806