当前位置:网站首页>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 .
边栏推荐
- Global and Chinese market for antiviral coatings 2022-2028: Research Report on technology, participants, trends, market size and share
- Using flask_ Whooshalchemyplus Jieba realizes global search of flask
- China's county life record: go upstairs to the Internet, go downstairs' code the Great Wall '
- 全网最详细的postman接口测试教程,一篇文章满足你
- The maximum number of words in the sentence of leetcode simple question
- ucore lab8 文件系统 实验报告
- 想跳槽?面试软件测试需要掌握的7个技能你知道吗
- Dlib detects blink times based on video stream
- [pointer] octal to decimal
- 软件测试面试要问的性能测试术语你知道吗?
猜你喜欢
HackTheBox-Emdee five for life
The salary of testers is polarized. How to become an automated test with a monthly salary of 20K?
The maximum number of words in the sentence of leetcode simple question
Vysor uses WiFi wireless connection for screen projection_ Operate the mobile phone on the computer_ Wireless debugging -- uniapp native development 008
Wang Shuang's detailed notes on assembly language learning I: basic knowledge
Want to learn how to get started and learn software testing? I'll give you a good chat today
Build your own application based on Google's open source tensorflow object detection API video object recognition system (II)
Pedestrian re identification (Reid) - Overview
Sorting odd and even subscripts respectively for leetcode simple problem
几款开源自动化测试框架优缺点对比你知道吗?
随机推荐
Install and run tensorflow object detection API video object recognition system of Google open source
Capitalize the title of leetcode simple question
Heap, stack, queue
Common Oracle commands
1. Payment system
Four methods of exchanging the values of a and B
Thinking about three cups of tea
Leetcode simple question: check whether two strings are almost equal
Login the system in the background, connect the database with JDBC, and do small case exercises
王爽汇编语言详细学习笔记二:寄存器
Iterators and generators
Daily code 300 lines learning notes day 9
全网最详细的postman接口测试教程,一篇文章满足你
JDBC介绍
软件测试面试要问的性能测试术语你知道吗?
Pointer -- eliminate all numbers in the string
CSAPP家庭作业答案7 8 9章
Global and Chinese market of goat milk powder 2022-2028: Research Report on technology, participants, trends, market size and share
Face and eye recognition based on OpenCV's own model
几款开源自动化测试框架优缺点对比你知道吗?