René's URL Explorer Experiment


Title: JavaGuide/docs/database/mysql/InnoDB对MVCC的实现.md at master · GaLaPyPy/JavaGuide · GitHub

Open Graph Title: JavaGuide/docs/database/mysql/InnoDB对MVCC的实现.md at master · GaLaPyPy/JavaGuide

X Title: JavaGuide/docs/database/mysql/InnoDB对MVCC的实现.md at master · GaLaPyPy/JavaGuide

Description: 【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。. Contribute to GaLaPyPy/JavaGuide development by creating an account on GitHub.

Open Graph Description: 【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。. Contribute to GaLaPyPy/JavaGuide development by creating an account on GitHub.

X Description: 【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。. Contribute to GaLaPyPy/JavaGuide development by creating an account on GitHub.

Opengraph URL: https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:4fedf9d5-1176-0085-8f23-b38e34c8f5d0
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idC6FE:3D83D7:353B510:4743693:6A656214
html-safe-nonce30dc9910cc2b92bd81d152280dfd34074f9f89dbca74697cb3204ee770130c62
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkZFOjNEODNENzozNTNCNTEwOjQ3NDM2OTM6NkE2NTYyMTQiLCJ2aXNpdG9yX2lkIjoiMzI2MDgxNjEzODcyMjE3MzQ2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd8f49bea2d171a71dd20960f4d3f29a3daf9b6cfd13d8fcc28ec43ba6d89f95c
hovercard-subject-tagrepository:206233930
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md
twitter:imagehttps://opengraph.githubassets.com/4338133ff97be2b45e9b167e6a7aef9c5ee996a2f39eafe29638f0afef9266c6/GaLaPyPy/JavaGuide
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4338133ff97be2b45e9b167e6a7aef9c5ee996a2f39eafe29638f0afef9266c6/GaLaPyPy/JavaGuide
og:image:alt【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。. Contribute to GaLaPyPy/JavaGuide development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-cache
go-importgithub.com/GaLaPyPy/JavaGuide git https://github.com/GaLaPyPy/JavaGuide.git
octolytics-dimension-user_id49768507
octolytics-dimension-user_loginGaLaPyPy
octolytics-dimension-repository_id206233930
octolytics-dimension-repository_nwoGaLaPyPy/JavaGuide
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id132464395
octolytics-dimension-repository_parent_nwoSnailclimb/JavaGuide
octolytics-dimension-repository_network_root_id132464395
octolytics-dimension-repository_network_root_nwoSnailclimb/JavaGuide
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGaLaPyPy%2FJavaGuide%2Fblob%2Fmaster%2Fdocs%2Fdatabase%2Fmysql%2FInnoDB%25E5%25AF%25B9MVCC%25E7%259A%2584%25E5%25AE%259E%25E7%258E%25B0.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGaLaPyPy%2FJavaGuide%2Fblob%2Fmaster%2Fdocs%2Fdatabase%2Fmysql%2FInnoDB%25E5%25AF%25B9MVCC%25E7%259A%2584%25E5%25AE%259E%25E7%258E%25B0.md
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=GaLaPyPy%2FJavaGuide
Reloadhttps://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md
Reloadhttps://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md
Reloadhttps://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md
GaLaPyPy https://github.com/GaLaPyPy
JavaGuidehttps://github.com/GaLaPyPy/JavaGuide
Snailclimb/JavaGuidehttps://github.com/Snailclimb/JavaGuide
Notifications https://github.com/login?return_to=%2FGaLaPyPy%2FJavaGuide
Fork 0 https://github.com/login?return_to=%2FGaLaPyPy%2FJavaGuide
Star 0 https://github.com/login?return_to=%2FGaLaPyPy%2FJavaGuide
Code https://github.com/GaLaPyPy/JavaGuide
Pull requests 0 https://github.com/GaLaPyPy/JavaGuide/pulls
Actions https://github.com/GaLaPyPy/JavaGuide/actions
Projects https://github.com/GaLaPyPy/JavaGuide/projects
Security and quality 0 https://github.com/GaLaPyPy/JavaGuide/security
Insights https://github.com/GaLaPyPy/JavaGuide/pulse
Code https://github.com/GaLaPyPy/JavaGuide
Pull requests https://github.com/GaLaPyPy/JavaGuide/pulls
Actions https://github.com/GaLaPyPy/JavaGuide/actions
Projects https://github.com/GaLaPyPy/JavaGuide/projects
Security and quality https://github.com/GaLaPyPy/JavaGuide/security
Insights https://github.com/GaLaPyPy/JavaGuide/pulse
https://github.com/GaLaPyPy/JavaGuide
JavaGuidehttps://github.com/GaLaPyPy/JavaGuide/tree/master
docshttps://github.com/GaLaPyPy/JavaGuide/tree/master/docs
databasehttps://github.com/GaLaPyPy/JavaGuide/tree/master/docs/database
mysqlhttps://github.com/GaLaPyPy/JavaGuide/tree/master/docs/database/mysql
Historyhttps://github.com/GaLaPyPy/JavaGuide/commits/master/docs/database/mysql/InnoDB%E5%AF%B9MVCC%E7%9A%84%E5%AE%9E%E7%8E%B0.md
https://github.com/GaLaPyPy/JavaGuide/commits/master/docs/database/mysql/InnoDB%E5%AF%B9MVCC%E7%9A%84%E5%AE%9E%E7%8E%B0.md
JavaGuidehttps://github.com/GaLaPyPy/JavaGuide/tree/master
docshttps://github.com/GaLaPyPy/JavaGuide/tree/master/docs
databasehttps://github.com/GaLaPyPy/JavaGuide/tree/master/docs/database
mysqlhttps://github.com/GaLaPyPy/JavaGuide/tree/master/docs/database/mysql
Rawhttps://github.com/GaLaPyPy/JavaGuide/raw/refs/heads/master/docs/database/mysql/InnoDB%E5%AF%B9MVCC%E7%9A%84%E5%AE%9E%E7%8E%B0.md
一致性非锁定读和锁定读https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#%E4%B8%80%E8%87%B4%E6%80%A7%E9%9D%9E%E9%94%81%E5%AE%9A%E8%AF%BB%E5%92%8C%E9%94%81%E5%AE%9A%E8%AF%BB
一致性非锁定读https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#%E4%B8%80%E8%87%B4%E6%80%A7%E9%9D%9E%E9%94%81%E5%AE%9A%E8%AF%BB
锁定读https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#%E9%94%81%E5%AE%9A%E8%AF%BB
InnoDB 对 MVCC 的实现https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#InnoDB%E5%AF%B9MVCC%E7%9A%84%E5%AE%9E%E7%8E%B0
隐藏字段https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#%E9%9A%90%E8%97%8F%E5%AD%97%E6%AE%B5%5D
ReadViewhttps://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#ReadView
undo-loghttps://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#undo-log
数据可见性算法https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#%E6%95%B0%E6%8D%AE%E5%8F%AF%E8%A7%81%E6%80%A7%E7%AE%97%E6%B3%95
RC、RR 隔离级别下 MVCC 的差异https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#RC%E3%80%81RR%E9%9A%94%E7%A6%BB%E7%BA%A7%E5%88%AB%E4%B8%8BMVCC%E7%9A%84%E5%B7%AE%E5%BC%82
MVCC 解决不可重复读问题https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#MVCC%E8%A7%A3%E5%86%B3%E4%B8%8D%E5%8F%AF%E9%87%8D%E5%A4%8D%E8%AF%BB%E9%97%AE%E9%A2%98
在 RC 下 ReadView 生成情况https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#%E5%9C%A8RC%E4%B8%8BReadView%E7%94%9F%E6%88%90%E6%83%85%E5%86%B5
在 RR 下 ReadView 生成情况https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#%E5%9C%A8RR%E4%B8%8BReadView%E7%94%9F%E6%88%90%E6%83%85%E5%86%B5
MVCC+Next-key-Lock 防止幻读https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#MVCC%E2%9E%95Next-key-Lock%E9%98%B2%E6%AD%A2%E5%B9%BB%E8%AF%BB
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#一致性非锁定读和锁定读
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#一致性非锁定读
一致性非锁定读(Consistent Nonlocking Reads) https://dev.mysql.com/doc/refman/5.7/en/innodb-consistent-read.html
多版本控制 (multi versioning)https://dev.mysql.com/doc/refman/5.7/en/innodb-multi-versioning.html
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#锁定读
锁定读(Locking Reads)https://dev.mysql.com/doc/refman/5.7/en/innodb-locking-reads.html
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#innodb-对-mvcc-的实现
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#隐藏字段
隐藏字段https://dev.mysql.com/doc/refman/5.7/en/innodb-multi-versioning.html
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#readview
Read Viewhttps://github.com/facebook/mysql-8.0/blob/8.0/storage/innobase/include/read0types.h#L298
图源https://leviathan.vip/2019/03/20/InnoDB%E7%9A%84%E4%BA%8B%E5%8A%A1%E5%88%86%E6%9E%90-MVCC/#MVCC-1
https://camo.githubusercontent.com/9d899e05a4f47f2bfb40a8af3d2faac7b65e22c7757afb2b3af4012babea7c59/68747470733a2f2f6c657669617468616e2e7669702f323031392f30332f32302f496e6e6f44422545372539412538342545342542412538422545352538412541312545352538382538362545362539452539302d4d5643432f7472616e735f76697369626c652e6a7067
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#undo-log
https://camo.githubusercontent.com/0256ac0dbe1c0efc9894807a02abfce172e273a9b5a98f55d69b9520e29905bd/68747470733a2f2f64646d63632d313235353633353035362e66696c652e6d7971636c6f75642e636f6d2f33313765393165312d316565312d343261642d393431322d3930393864356336613961642e706e67
https://camo.githubusercontent.com/c697070d891ae9f7ed3a04ff6f181030eb497305dbfa0da3fddfa7d219d61909/68747470733a2f2f64646d63632d313235353633353035362e66696c652e6d7971636c6f75642e636f6d2f63353266663739662d313065362d343663622d623564342d3363396362636331393334612e706e67
https://camo.githubusercontent.com/9af1de82dc088c526c780b8a06388e1ad9bde62b2d35abb1f327e74b4f05cae1/68747470733a2f2f64646d63632d313235353633353035362e66696c652e6d7971636c6f75642e636f6d2f36613237366537612d623064612d346337622d626466372d6330633762376233623331632e706e67
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#数据可见性算法
具体的比较算法https://github.com/facebook/mysql-8.0/blob/8.0/storage/innobase/include/read0types.h#L161
图源https://leviathan.vip/2019/03/20/InnoDB%E7%9A%84%E4%BA%8B%E5%8A%A1%E5%88%86%E6%9E%90-MVCC/#MVCC-1
https://camo.githubusercontent.com/e0de332ea4cec910396e1b33c0ab0eaa913ed2b92520d5822bd53026fcefafb6/68747470733a2f2f64646d63632d313235353633353035362e66696c652e6d7971636c6f75642e636f6d2f38373738383336622d333461382d343830622d623863372d3635346665323037613863322e706e67
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#rc-和-rr-隔离级别下-mvcc-的差异
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#mvcc-解决不可重复读问题
https://camo.githubusercontent.com/563dc4cd815bc3663c43fc755c5e0c870c4836868d1918c06d230b10d0f2aad7/68747470733a2f2f64646d63632d313235353633353035362e66696c652e6d7971636c6f75642e636f6d2f36666232623961312d356631342d346465632d613739372d6534636633383865643431332e706e67
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#在-rc-下-readview-生成情况
https://camo.githubusercontent.com/a5ce471ef79bb572ad9c4253cb39b00c362e54e0f629ce381369bd4a19cc20c1/68747470733a2f2f64646d63632d313235353633353035362e66696c652e6d7971636c6f75642e636f6d2f61336664316563362d386633372d343266612d623039302d3734343664343838666430342e706e67
https://camo.githubusercontent.com/8314d35af7fd6c168595a4c9fade87c5f8a265dd639f598bbd10c16d40e707c6/68747470733a2f2f64646d63632d313235353633353035362e66696c652e6d7971636c6f75642e636f6d2f35323835353965392d646165382d346431342d623738642d6135623635376338383339312e706e67
https://camo.githubusercontent.com/614256875ebc553497cecf511ffdfeb63bd0d445d709c6a3b0c80cf9c8dcf782/68747470733a2f2f64646d63632d313235353633353035362e66696c652e6d7971636c6f75642e636f6d2f36663832373033632d333661312d343435382d393066652d6437663465646261633731612e706e67
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#在-rr-下-readview-生成情况
https://camo.githubusercontent.com/2172bd53c3761064e47b227f23ae22fd0e9611af15a1cff55099eae8f781a913/68747470733a2f2f64646d63632d313235353633353035362e66696c652e6d7971636c6f75642e636f6d2f30653930366239352d633931362d346633302d626564612d3963623365343937343662662e706e67
https://camo.githubusercontent.com/eefd9a48c282c6dc6e0828bf762bc586503ce6a7166373954a31015e920f8d7b/68747470733a2f2f64646d63632d313235353633353035362e66696c652e6d7971636c6f75642e636f6d2f37396564363134322d373636342d346530622d393032332d6366353436353836616133392e706e67
https://camo.githubusercontent.com/e280defa150f997bebe7d12d9fb80c96172090c51eb144b56560c8b320d86266/68747470733a2f2f64646d63632d313235353633353035362e66696c652e6d7971636c6f75642e636f6d2f63626265646263352d306533632d343731312d616166642d3766336436386134656434652e706e67
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#mvccnext-key-lock-防止幻读
Next-key Lockhttps://dev.mysql.com/doc/refman/5.7/en/innodb-locking.html#innodb-next-key-locks
https://github.com/GaLaPyPy/JavaGuide/blob/master/docs/database/mysql/InnoDB对MVCC的实现.md#参考
Innodb 中的事务隔离级别和锁的关系https://tech.meituan.com/2014/08/20/innodb-lock.html
MySQL 事务与 MVCC 如何实现的隔离级别https://blog.csdn.net/qq_35190492/article/details/109044141
InnoDB 事务分析-MVCChttps://leviathan.vip/2019/03/20/InnoDB%E7%9A%84%E4%BA%8B%E5%8A%A1%E5%88%86%E6%9E%90-MVCC/
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.