In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article comes from my own blog: http://www.wangerbao.com/?p=279
The default thing for Mysql is Repeatable Read Isolation Level.
The default thing for PostGres is to Read Committed Isolation Level. Now compare their differences based on examples.
Mysql:
Things 1 on the left and 2 things on the right.
Step one:
Thing 1 query, thing 2 query, their query results are the same.
Step 2:
Thing 1 update-query-but do not submit, thing 2 query, their results are inconsistent
Step 3:
Thing 1 submission-query, thing 2 query, their results are inconsistent-in fact, this is the difference between the two things.
Step 4:
Thing 1 query, thing 2 submit-query, their results are the same
Postgresql:
Things 1 on the left and things 2 on the right
Step one:
Thing 1 query, thing 2 query, query results are consistent.
Step 2:
Thing 1 modification-query, thing 2 query, query results are inconsistent
Step 3:
Thing 1 submission-query, thing 2 query, query results are consistent
Step 4:
Thing 1 query, thing 2 submit query, the result is consistent, no screenshot
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.