当前位置:网站首页>MySQL transactions
MySQL transactions
2022-07-06 15:11:00 【Hand pluckable Xinchen】
1, Concept
(3) Isolation, :⼀ The execution of a transaction ⾏ No other transactions ⼲ Disturb .⼀ Operations within a transaction and make ⽤ Data is isolated from other concurrent transactions , Concurrent execution ⾏ The transactions of cannot interact with each other ⼲ Disturb .
(4) persistence : Also called permanence , finger ⼀ One transaction ⼀ Once submitted , Its changes to the data in the database should be permanent . The following other operations or faults should not be performed ⾏ Have any effect on the result .
3, Isolation level
(1) Read uncommitted content (Read Uncommitted)
All transactions can see the results of other uncommitted transactions . Can read uncommitted data .( Dirty reading )
(2) Read submissions (Read Committed)
After the transaction is committed or rolled back , Can be read data .( It can't be read repeatedly )
(3) Repeatable (Repeatable Read)
When the database is added to the transaction of data , Can read data .( Repeatable )
(4) Serializable (Serializable)
When the transaction is executed , Will lock at all levels , It seems that transactions are carried out in a serial manner , Not together . There will be no conflict with each other .
边栏推荐
- How to learn automated testing in 2022? This article tells you
- Soft exam information system project manager_ Project set project portfolio management --- Senior Information System Project Manager of soft exam 025
- [pointer] find the value of the largest element in the two-dimensional array
- 想跳槽?面试软件测试需要掌握的7个技能你知道吗
- 150 common interview questions for software testing in large factories. Serious thinking is very valuable for your interview
- Cc36 different subsequences
- Mysql的事务
- ucore lab8 文件系统 实验报告
- 几款开源自动化测试框架优缺点对比你知道吗?
- CSAPP homework answers chapter 789
猜你喜欢
Login the system in the background, connect the database with JDBC, and do small case exercises
Sorting odd and even subscripts respectively for leetcode simple problem
Sleep quality today 81 points
[HCIA continuous update] advanced features of routing
CSAPP家庭作業答案7 8 9章
ucore lab7 同步互斥 实验报告
Example 071 simulates a vending machine, designs a program of the vending machine, runs the program, prompts the user, enters the options to be selected, and prompts the selected content after the use
Nest and merge new videos, and preset new video titles
China's county life record: go upstairs to the Internet, go downstairs' code the Great Wall '
自动化测试你必须要弄懂的问题,精品总结
随机推荐
Emqtt distribution cluster and node bridge construction
Flash implements forced login
Query method of database multi table link
Summary of thread implementation
Don't you even look at such a detailed and comprehensive written software test question?
软件测试面试回答技巧
Global and Chinese market for antiviral coatings 2022-2028: Research Report on technology, participants, trends, market size and share
Why can swing implement a form program by inheriting the JFrame class?
Public key box
UCORE lab1 system software startup process experimental report
What is an index in MySQL? What kinds of indexes are commonly used? Under what circumstances will the index fail?
Video scrolling subtitle addition, easy to make with this technique
Global and Chinese market of RF shielding room 2022-2028: Research Report on technology, participants, trends, market size and share
The maximum number of words in the sentence of leetcode simple question
Build your own application based on Google's open source tensorflow object detection API video object recognition system (II)
[pointer] find the value of the largest element in the two-dimensional array
Cc36 different subsequences
Servlet
Portapack application development tutorial (XVII) nRF24L01 launch B
MySQL数据库(一)