Home  >  Article  >  Backend Development  >  mysq transaction

mysq transaction

WBOY
WBOYOriginal
2016-12-01 01:27:231106browse

It is said that there are several types of transactions
1. Flat transaction
2. Flat transaction with save points
3. Chain transaction
4. Nested transaction
5. Distributed transaction
I would like to know how these transaction types are used in actual projects What are the examples? I hope to give you some examples in production so that I can write them myself, simulate them, and have a better understanding of transactions, because I have never written transactions.

I hope you can provide some suggestions, information, etc. for business learning

Reply content:

It is said that there are several types of transactions
1. Flat transaction
2. Flat transaction with save points
3. Chain transaction
4. Nested transaction
5. Distributed transaction
I would like to know how these transaction types are used in actual projects What are the examples? I hope to give you some examples in production so that I can write them myself, simulate them, and have a better understanding of transactions, because I have never written transactions.

Hope you can provide some suggestions, information, etc. for business learning

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn