Four characteristics of the transaction:

 

1, atomicity

A transaction is a logical unit of work database to perform all operations in the transaction included either do or do not do.

2, consistency

The transaction is a result of the implementation of the database from one consistent state into another consistent state. Consistency and atomicity are closely related.

3, isolation

Execution of a transaction can not be other transactions interference.

4, endurance

Once a transaction commits, changing its data in the database should be permanent.

Guess you like

Origin www.cnblogs.com/jmyyyy/p/11068043.html