当前位置:网站首页>Difference between MySQL unreal reading and non repeatable reading

Difference between MySQL unreal reading and non repeatable reading

2022-06-12 09:19:00 symop

Some people in the interview don't quite understand the two differences , Sort it out by yourself .
The number of phantom reading lines has changed .
Non repeatable reading focuses on the change of a certain row of data .
Mirage line , Focus on lines , In the same business , There is no... Before a line , Later I read , Then I think I can read the phantom ( For example, other transactions insert new rows ).
It can't be read repeatedly , A broad sense , The first reading is different from the second reading , There are two cases :
(1) The same row of data has changed ;
(2) The number of rows has changed ; In order to distinguish between these two situations , Just call the latter alone “ Fantasy reading ”.
Non repeatable reading usually refers to the first case .

原网站

版权声明
本文为[symop]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203010530492695.html