René's URL Explorer Experiment


Title: Java-Summarize/notes/database/MySQL.md at master · feier09/Java-Summarize · GitHub

Open Graph Title: Java-Summarize/notes/database/MySQL.md at master · feier09/Java-Summarize

X Title: Java-Summarize/notes/database/MySQL.md at master · feier09/Java-Summarize

Description: :books:Java核心知识点整理(包括Java基础、JVM、数据库、计算机网络、算法、操作系统、设计模式、系统设计、框架原理) - Java-Summarize/notes/database/MySQL.md at master · feier09/Java-Summarize

Open Graph Description: :books:Java核心知识点整理(包括Java基础、JVM、数据库、计算机网络、算法、操作系统、设计模式、系统设计、框架原理) - feier09/Java-Summarize

X Description: :books:Java核心知识点整理(包括Java基础、JVM、数据库、计算机网络、算法、操作系统、设计模式、系统设计、框架原理) - feier09/Java-Summarize

Opengraph URL: https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:636aa110-aae9-5074-1e19-eb1ec4cc953d
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idA1FE:3F4EFD:D13250:129E654:6A589151
html-safe-nonce8b3f630eb84888da34f3c2296d3592f11c1fd3b617a504dba4b854b0a2c6410a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUZFOjNGNEVGRDpEMTMyNTA6MTI5RTY1NDo2QTU4OTE1MSIsInZpc2l0b3JfaWQiOiI4NDg2ODY1NDMzMTk4NjI5MjAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7bc45f7c6e0202a8e877286872da4a70da14a244fb4e57ad7e381c8e4b7dcf6d
hovercard-subject-tagrepository:557061327
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/feier09/Java-Summarize/blob/master/notes/database/MySQL.md
twitter:imagehttps://opengraph.githubassets.com/317aa3247e91e7336d0816e3f018e2d1ba2a37f1ea200d7b9006398993dc6d56/feier09/Java-Summarize
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/317aa3247e91e7336d0816e3f018e2d1ba2a37f1ea200d7b9006398993dc6d56/feier09/Java-Summarize
og:image:alt:books:Java核心知识点整理(包括Java基础、JVM、数据库、计算机网络、算法、操作系统、设计模式、系统设计、框架原理) - feier09/Java-Summarize
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
turbo-cache-controlno-cache
go-importgithub.com/feier09/Java-Summarize git https://github.com/feier09/Java-Summarize.git
octolytics-dimension-user_id21018676
octolytics-dimension-user_loginfeier09
octolytics-dimension-repository_id557061327
octolytics-dimension-repository_nwofeier09/Java-Summarize
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id131278731
octolytics-dimension-repository_parent_nwozaiyunduan123/Java-Summarize
octolytics-dimension-repository_network_root_id131278731
octolytics-dimension-repository_network_root_nwozaiyunduan123/Java-Summarize
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
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeier09%2FJava-Summarize%2Fblob%2Fmaster%2Fnotes%2Fdatabase%2FMySQL.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
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%2Ffeier09%2FJava-Summarize%2Fblob%2Fmaster%2Fnotes%2Fdatabase%2FMySQL.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=feier09%2FJava-Summarize
Reloadhttps://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md
Reloadhttps://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md
Reloadhttps://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md
feier09 https://github.com/feier09
Java-Summarizehttps://github.com/feier09/Java-Summarize
zaiyunduan123/Java-Summarizehttps://github.com/zaiyunduan123/Java-Summarize
Notifications https://github.com/login?return_to=%2Ffeier09%2FJava-Summarize
Fork 0 https://github.com/login?return_to=%2Ffeier09%2FJava-Summarize
Star 0 https://github.com/login?return_to=%2Ffeier09%2FJava-Summarize
Code https://github.com/feier09/Java-Summarize
Pull requests 0 https://github.com/feier09/Java-Summarize/pulls
Actions https://github.com/feier09/Java-Summarize/actions
Projects https://github.com/feier09/Java-Summarize/projects
Security and quality 0 https://github.com/feier09/Java-Summarize/security
Insights https://github.com/feier09/Java-Summarize/pulse
Code https://github.com/feier09/Java-Summarize
Pull requests https://github.com/feier09/Java-Summarize/pulls
Actions https://github.com/feier09/Java-Summarize/actions
Projects https://github.com/feier09/Java-Summarize/projects
Security and quality https://github.com/feier09/Java-Summarize/security
Insights https://github.com/feier09/Java-Summarize/pulse
https://github.com/feier09/Java-Summarize
Java-Summarizehttps://github.com/feier09/Java-Summarize/tree/master
noteshttps://github.com/feier09/Java-Summarize/tree/master/notes
databasehttps://github.com/feier09/Java-Summarize/tree/master/notes/database
Historyhttps://github.com/feier09/Java-Summarize/commits/master/notes/database/MySQL.md
https://github.com/feier09/Java-Summarize/commits/master/notes/database/MySQL.md
Java-Summarizehttps://github.com/feier09/Java-Summarize/tree/master
noteshttps://github.com/feier09/Java-Summarize/tree/master/notes
databasehttps://github.com/feier09/Java-Summarize/tree/master/notes/database
Rawhttps://github.com/feier09/Java-Summarize/raw/refs/heads/master/notes/database/MySQL.md
DocTochttps://github.com/thlorenz/doctoc
数据库基础知识https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E6%95%B0%E6%8D%AE%E5%BA%93%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86
数据库的定义https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E5%AE%9A%E4%B9%89
什么是SQL?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%BB%80%E4%B9%88%E6%98%AFsql
什么是MySQL?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%BB%80%E4%B9%88%E6%98%AFmysql
MySQL的架构https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E7%9A%84%E6%9E%B6%E6%9E%84
MySQL的binlog有有几种录入格式?分别有什么区别?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E7%9A%84binlog%E6%9C%89%E6%9C%89%E5%87%A0%E7%A7%8D%E5%BD%95%E5%85%A5%E6%A0%BC%E5%BC%8F%E5%88%86%E5%88%AB%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB
MySQL常用函数https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E5%B8%B8%E7%94%A8%E5%87%BD%E6%95%B0
聚合函数https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E8%81%9A%E5%90%88%E5%87%BD%E6%95%B0
数学函数https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E6%95%B0%E5%AD%A6%E5%87%BD%E6%95%B0
字符串函数https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%AD%97%E7%AC%A6%E4%B8%B2%E5%87%BD%E6%95%B0
日期和时间函数https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E6%97%A5%E6%9C%9F%E5%92%8C%E6%97%B6%E9%97%B4%E5%87%BD%E6%95%B0
条件判断函数https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E6%9D%A1%E4%BB%B6%E5%88%A4%E6%96%AD%E5%87%BD%E6%95%B0
系统信息函数https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E7%B3%BB%E7%BB%9F%E4%BF%A1%E6%81%AF%E5%87%BD%E6%95%B0
加密函数https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%8A%A0%E5%AF%86%E5%87%BD%E6%95%B0
索引https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E7%B4%A2%E5%BC%95
B+树索引和哈希索引的区别https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#b%E6%A0%91%E7%B4%A2%E5%BC%95%E5%92%8C%E5%93%88%E5%B8%8C%E7%B4%A2%E5%BC%95%E7%9A%84%E5%8C%BA%E5%88%AB
B树和B+树的区别https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#b%E6%A0%91%E5%92%8Cb%E6%A0%91%E7%9A%84%E5%8C%BA%E5%88%AB
聚集索引和辅助索引https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E8%81%9A%E9%9B%86%E7%B4%A2%E5%BC%95%E5%92%8C%E8%BE%85%E5%8A%A9%E7%B4%A2%E5%BC%95
聚集索引https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E8%81%9A%E9%9B%86%E7%B4%A2%E5%BC%95
辅助索引https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E8%BE%85%E5%8A%A9%E7%B4%A2%E5%BC%95
联合索引https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E8%81%94%E5%90%88%E7%B4%A2%E5%BC%95
什么情况下应不建或少建索引https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%BB%80%E4%B9%88%E6%83%85%E5%86%B5%E4%B8%8B%E5%BA%94%E4%B8%8D%E5%BB%BA%E6%88%96%E5%B0%91%E5%BB%BA%E7%B4%A2%E5%BC%95
哪些情况会导致索引失效?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%93%AA%E4%BA%9B%E6%83%85%E5%86%B5%E4%BC%9A%E5%AF%BC%E8%87%B4%E7%B4%A2%E5%BC%95%E5%A4%B1%E6%95%88
key和index的区别https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#key%E5%92%8Cindex%E7%9A%84%E5%8C%BA%E5%88%AB
如果索引值为null,走不走索引?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%A6%82%E6%9E%9C%E7%B4%A2%E5%BC%95%E5%80%BC%E4%B8%BAnull%E8%B5%B0%E4%B8%8D%E8%B5%B0%E7%B4%A2%E5%BC%95
判断列是否要添加索引的标准https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%88%A4%E6%96%AD%E5%88%97%E6%98%AF%E5%90%A6%E8%A6%81%E6%B7%BB%E5%8A%A0%E7%B4%A2%E5%BC%95%E7%9A%84%E6%A0%87%E5%87%86
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E9%94%81
行锁https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E8%A1%8C%E9%94%81
优点https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%BC%98%E7%82%B9
缺点https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E7%BC%BA%E7%82%B9
锁的算法https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E9%94%81%E7%9A%84%E7%AE%97%E6%B3%95
Record Lockhttps://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#record-lock
Gap Lockhttps://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#gap-lock
Next-Key Lockhttps://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#next-key-lock
锁选择https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E9%94%81%E9%80%89%E6%8B%A9
悲观锁和乐观锁https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E6%82%B2%E8%A7%82%E9%94%81%E5%92%8C%E4%B9%90%E8%A7%82%E9%94%81
悲观锁和乐观锁使用在哪些场景?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E6%82%B2%E8%A7%82%E9%94%81%E5%92%8C%E4%B9%90%E8%A7%82%E9%94%81%E4%BD%BF%E7%94%A8%E5%9C%A8%E5%93%AA%E4%BA%9B%E5%9C%BA%E6%99%AF
乐观锁重试https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%B9%90%E8%A7%82%E9%94%81%E9%87%8D%E8%AF%95
数据库死锁的产生原因及解决办法https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E6%95%B0%E6%8D%AE%E5%BA%93%E6%AD%BB%E9%94%81%E7%9A%84%E4%BA%A7%E7%94%9F%E5%8E%9F%E5%9B%A0%E5%8F%8A%E8%A7%A3%E5%86%B3%E5%8A%9E%E6%B3%95
MySQL分区https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E5%88%86%E5%8C%BA
什么是分区?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%BB%80%E4%B9%88%E6%98%AF%E5%88%86%E5%8C%BA
分区与分表的区别https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%88%86%E5%8C%BA%E4%B8%8E%E5%88%86%E8%A1%A8%E7%9A%84%E5%8C%BA%E5%88%AB
使用场景https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%BD%BF%E7%94%A8%E5%9C%BA%E6%99%AF
限制https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E9%99%90%E5%88%B6
如何判断当前MySQL是否支持分区?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%A6%82%E4%BD%95%E5%88%A4%E6%96%AD%E5%BD%93%E5%89%8Dmysql%E6%98%AF%E5%90%A6%E6%94%AF%E6%8C%81%E5%88%86%E5%8C%BA
MySQL支持的分区类型有哪些?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E6%94%AF%E6%8C%81%E7%9A%84%E5%88%86%E5%8C%BA%E7%B1%BB%E5%9E%8B%E6%9C%89%E5%93%AA%E4%BA%9B
日志模块https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E6%97%A5%E5%BF%97%E6%A8%A1%E5%9D%97
redo log(重做日志)https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#redo-log%E9%87%8D%E5%81%9A%E6%97%A5%E5%BF%97
binlog(归档日志)https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#binlog%E5%BD%92%E6%A1%A3%E6%97%A5%E5%BF%97
两种日志区别https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%B8%A4%E7%A7%8D%E6%97%A5%E5%BF%97%E5%8C%BA%E5%88%AB
四种隔离级别https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%9B%9B%E7%A7%8D%E9%9A%94%E7%A6%BB%E7%BA%A7%E5%88%AB
MySQL的事务隔离级别的底层实现原理https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E7%9A%84%E4%BA%8B%E5%8A%A1%E9%9A%94%E7%A6%BB%E7%BA%A7%E5%88%AB%E7%9A%84%E5%BA%95%E5%B1%82%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86
对于脏读,不可重复读,幻读的理解https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%AF%B9%E4%BA%8E%E8%84%8F%E8%AF%BB%E4%B8%8D%E5%8F%AF%E9%87%8D%E5%A4%8D%E8%AF%BB%E5%B9%BB%E8%AF%BB%E7%9A%84%E7%90%86%E8%A7%A3
脏读https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E8%84%8F%E8%AF%BB
不可重复读https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%B8%8D%E5%8F%AF%E9%87%8D%E5%A4%8D%E8%AF%BB
幻读https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%B9%BB%E8%AF%BB
不可重复读和幻读区别https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%B8%8D%E5%8F%AF%E9%87%8D%E5%A4%8D%E8%AF%BB%E5%92%8C%E5%B9%BB%E8%AF%BB%E5%8C%BA%E5%88%AB
InnoDB的RR级别如何避免幻读?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#innodb%E7%9A%84rr%E7%BA%A7%E5%88%AB%E5%A6%82%E4%BD%95%E9%81%BF%E5%85%8D%E5%B9%BB%E8%AF%BB
关于MVVChttps://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%85%B3%E4%BA%8Emvvc
存储过程https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%AD%98%E5%82%A8%E8%BF%87%E7%A8%8B
Mysql存储引擎https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E5%AD%98%E5%82%A8%E5%BC%95%E6%93%8E
MyISAM和InnoDB的区别https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#myisam%E5%92%8Cinnodb%E7%9A%84%E5%8C%BA%E5%88%AB
如何选择https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E5%A6%82%E4%BD%95%E9%80%89%E6%8B%A9
mysql主从同步https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E4%B8%BB%E4%BB%8E%E5%90%8C%E6%AD%A5
MySQL主从复制的两种方式https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E4%B8%BB%E4%BB%8E%E5%A4%8D%E5%88%B6%E7%9A%84%E4%B8%A4%E7%A7%8D%E6%96%B9%E5%BC%8F
使用主从同步的好处https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%BD%BF%E7%94%A8%E4%B8%BB%E4%BB%8E%E5%90%8C%E6%AD%A5%E7%9A%84%E5%A5%BD%E5%A4%84
主从复制原理https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%B8%BB%E4%BB%8E%E5%A4%8D%E5%88%B6%E5%8E%9F%E7%90%86
主从复制延迟及解决https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%B8%BB%E4%BB%8E%E5%A4%8D%E5%88%B6%E5%BB%B6%E8%BF%9F%E5%8F%8A%E8%A7%A3%E5%86%B3
MySQL事务原理https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E4%BA%8B%E5%8A%A1%E5%8E%9F%E7%90%86
undo 日志文件https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#undo-%E6%97%A5%E5%BF%97%E6%96%87%E4%BB%B6
redo/undo日志文件https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#redoundo%E6%97%A5%E5%BF%97%E6%96%87%E4%BB%B6
为什么用自增列作为主键https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%B8%BA%E4%BB%80%E4%B9%88%E7%94%A8%E8%87%AA%E5%A2%9E%E5%88%97%E4%BD%9C%E4%B8%BA%E4%B8%BB%E9%94%AE
Join的实现原理https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#join%E7%9A%84%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86
优化https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%BC%98%E5%8C%96
MySQL优化https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E4%BC%98%E5%8C%96
一条sql执行过长的时间,你如何优化,从哪些方面?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%B8%80%E6%9D%A1sql%E6%89%A7%E8%A1%8C%E8%BF%87%E9%95%BF%E7%9A%84%E6%97%B6%E9%97%B4%E4%BD%A0%E5%A6%82%E4%BD%95%E4%BC%98%E5%8C%96%E4%BB%8E%E5%93%AA%E4%BA%9B%E6%96%B9%E9%9D%A2
MySQL中binary log和redo log顺序一致性问题https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E4%B8%ADbinary-log%E5%92%8Credo-log%E9%A1%BA%E5%BA%8F%E4%B8%80%E8%87%B4%E6%80%A7%E9%97%AE%E9%A2%98
一个表有3000万记录,假如有一列占8位字节的字段,根据这一列建索引的话索引树的高度是多少?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%B8%80%E4%B8%AA%E8%A1%A8%E6%9C%893000%E4%B8%87%E8%AE%B0%E5%BD%95%E5%81%87%E5%A6%82%E6%9C%89%E4%B8%80%E5%88%97%E5%8D%A08%E4%BD%8D%E5%AD%97%E8%8A%82%E7%9A%84%E5%AD%97%E6%AE%B5%E6%A0%B9%E6%8D%AE%E8%BF%99%E4%B8%80%E5%88%97%E5%BB%BA%E7%B4%A2%E5%BC%95%E7%9A%84%E8%AF%9D%E7%B4%A2%E5%BC%95%E6%A0%91%E7%9A%84%E9%AB%98%E5%BA%A6%E6%98%AF%E5%A4%9A%E5%B0%91
b+树一般多高,能存储多少数据?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#b%E6%A0%91%E4%B8%80%E8%88%AC%E5%A4%9A%E9%AB%98%E8%83%BD%E5%AD%98%E5%82%A8%E5%A4%9A%E5%B0%91%E6%95%B0%E6%8D%AE
为什么要给表加上主键?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E7%BB%99%E8%A1%A8%E5%8A%A0%E4%B8%8A%E4%B8%BB%E9%94%AE
为何要使用自增int作为主键?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E4%B8%BA%E4%BD%95%E8%A6%81%E4%BD%BF%E7%94%A8%E8%87%AA%E5%A2%9Eint%E4%BD%9C%E4%B8%BA%E4%B8%BB%E9%94%AE
MySQL中sql注入是什么,如何避免?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql%E4%B8%ADsql%E6%B3%A8%E5%85%A5%E6%98%AF%E4%BB%80%E4%B9%88%E5%A6%82%E4%BD%95%E9%81%BF%E5%85%8D
SQL中where、having、group by、order by执行和书写顺序?https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#sql%E4%B8%ADwherehavinggroup-byorder-by%E6%89%A7%E8%A1%8C%E5%92%8C%E4%B9%A6%E5%86%99%E9%A1%BA%E5%BA%8F
水平分库后查询如何排序https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#%E6%B0%B4%E5%B9%B3%E5%88%86%E5%BA%93%E5%90%8E%E6%9F%A5%E8%AF%A2%E5%A6%82%E4%BD%95%E6%8E%92%E5%BA%8F
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#数据库基础知识
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#数据库的定义
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#什么是sql
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#什么是mysql
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql的架构
https://github.com/zaiyunduan123/Java-Interview/blob/master/image/MySQL-8.png
https://github.com/zaiyunduan123/Java-Interview/blob/master/image/MySQL-9.png
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql的binlog有有几种录入格式分别有什么区别
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql常用函数
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#聚合函数
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#数学函数
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#字符串函数
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#日期和时间函数
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#条件判断函数
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#系统信息函数
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#加密函数
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#索引
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#b树索引和哈希索引的区别
https://github.com/zaiyunduan123/Java-Interview/blob/master/image/MySQL-1.jpg
https://github.com/zaiyunduan123/Java-Interview/blob/master/image/MySQL-2.jpg
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#b树和b树的区别
https://github.com/zaiyunduan123/Java-Interview/blob/master/image/MySQL-3.jpg
https://github.com/zaiyunduan123/Java-Interview/blob/master/image/MySQL-4.jpg
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#聚集索引和辅助索引
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#聚集索引
https://github.com/zaiyunduan123/Java-Interview/blob/master/image/MySQL-6.png
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#辅助索引
https://github.com/zaiyunduan123/Java-Interview/blob/master/image/MySQL-7.png
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#联合索引
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#什么情况下应不建或少建索引
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#哪些情况会导致索引失效
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#key和index的区别
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#如果索引值为null走不走索引
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#判断列是否要添加索引的标准
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#锁
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#行锁
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#优点
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#缺点
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#锁的算法
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#record-lock
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#gap-lock
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#next-key-lock
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#锁选择
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#悲观锁和乐观锁
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#悲观锁和乐观锁使用在哪些场景
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#乐观锁重试
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#数据库死锁的产生原因及解决办法
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql分区
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#什么是分区
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#分区与分表的区别
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#使用场景
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#限制
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#如何判断当前mysql是否支持分区
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql支持的分区类型有哪些
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#日志模块
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#redo-log重做日志
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#binlog归档日志
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#两种日志区别
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#四种隔离级别
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql的事务隔离级别的底层实现原理
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#对于脏读不可重复读幻读的理解
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#脏读
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#不可重复读
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#幻读
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#不可重复读和幻读区别
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#innodb的rr级别如何避免幻读
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#关于mvvc
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#存储过程
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql存储引擎
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#myisam和innodb的区别
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#如何选择
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql主从同步
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql主从复制的两种方式
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#使用主从同步的好处
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#主从复制原理
https://github.com/zaiyunduan123/Java-Interview/blob/master/image/MySQL-5.jpg
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#主从复制延迟及解决
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql事务原理
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#undo-日志文件
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#redoundo日志文件
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#为什么用自增列作为主键
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#join的实现原理
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#优化
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql优化
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#一条sql执行过长的时间你如何优化从哪些方面
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql中binary-log和redo-log顺序一致性问题
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#一个表有3000万记录假如有一列占8位字节的字段根据这一列建索引的话索引树的高度是多少
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#b树一般多高能存储多少数据
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#为什么要给表加上主键
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#为何要使用自增int作为主键
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#mysql中sql注入是什么如何避免
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#sql中wherehavinggroup-byorder-by执行和书写顺序
https://github.com/feier09/Java-Summarize/blob/master/notes/database/MySQL.md#水平分库后查询如何排序
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.