René's URL Explorer Experiment


Title: JavaInterview/MySQL.md at main · byroncaesar/JavaInterview · GitHub

Open Graph Title: JavaInterview/MySQL.md at main · byroncaesar/JavaInterview

X Title: JavaInterview/MySQL.md at main · byroncaesar/JavaInterview

Description: 全网最齐全的Java面试题库-附答案-持续更新. Contribute to byroncaesar/JavaInterview development by creating an account on GitHub.

Open Graph Description: 全网最齐全的Java面试题库-附答案-持续更新. Contribute to byroncaesar/JavaInterview development by creating an account on GitHub.

X Description: 全网最齐全的Java面试题库-附答案-持续更新. Contribute to byroncaesar/JavaInterview development by creating an account on GitHub.

Opengraph URL: https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:f25e4f66-bc99-3aa8-ca72-f82dea9e00bd
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idBA38:1D90CC:C9E6A4:1108C89:6A4ED8F1
html-safe-nonce3758ce49b04c482be9a2445b4ab6621e976946ccb3ec54096e1cc753088a5a11
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTM4OjFEOTBDQzpDOUU2QTQ6MTEwOEM4OTo2QTRFRDhGMSIsInZpc2l0b3JfaWQiOiI1Mzc0Njg4OTc3ODUyMDcwMjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac75204f633d85ec2b91323872cdf2d9dc84164f3f3a013efc63f30d8d44d1b6d1
hovercard-subject-tagrepository:352977856
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/byroncaesar/JavaInterview/blob/main/MySQL.md
twitter:imagehttps://opengraph.githubassets.com/090bc3940baba4d3d01b7360a9408e67b9cbf1ff0cc90b6d6e1892c448798fd2/byroncaesar/JavaInterview
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/090bc3940baba4d3d01b7360a9408e67b9cbf1ff0cc90b6d6e1892c448798fd2/byroncaesar/JavaInterview
og:image:alt全网最齐全的Java面试题库-附答案-持续更新. Contribute to byroncaesar/JavaInterview development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-cache
go-importgithub.com/byroncaesar/JavaInterview git https://github.com/byroncaesar/JavaInterview.git
octolytics-dimension-user_id22194710
octolytics-dimension-user_loginbyroncaesar
octolytics-dimension-repository_id352977856
octolytics-dimension-repository_nwobyroncaesar/JavaInterview
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id336993047
octolytics-dimension-repository_parent_nwoWebInterviewHub/JavaInterview
octolytics-dimension-repository_network_root_id336993047
octolytics-dimension-repository_network_root_nwoWebInterviewHub/JavaInterview
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
releasec37fe3e3f5f306900bd5b6bee97463f66c938b2c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbyroncaesar%2FJavaInterview%2Fblob%2Fmain%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%2Fbyroncaesar%2FJavaInterview%2Fblob%2Fmain%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=byroncaesar%2FJavaInterview
Reloadhttps://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md
Reloadhttps://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md
Reloadhttps://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md
byroncaesar https://github.com/byroncaesar
JavaInterviewhttps://github.com/byroncaesar/JavaInterview
WebInterviewHub/JavaInterviewhttps://github.com/WebInterviewHub/JavaInterview
Notifications https://github.com/login?return_to=%2Fbyroncaesar%2FJavaInterview
Fork 0 https://github.com/login?return_to=%2Fbyroncaesar%2FJavaInterview
Star 0 https://github.com/login?return_to=%2Fbyroncaesar%2FJavaInterview
Code https://github.com/byroncaesar/JavaInterview
Pull requests 0 https://github.com/byroncaesar/JavaInterview/pulls
Actions https://github.com/byroncaesar/JavaInterview/actions
Projects https://github.com/byroncaesar/JavaInterview/projects
Security and quality 0 https://github.com/byroncaesar/JavaInterview/security
Insights https://github.com/byroncaesar/JavaInterview/pulse
Code https://github.com/byroncaesar/JavaInterview
Pull requests https://github.com/byroncaesar/JavaInterview/pulls
Actions https://github.com/byroncaesar/JavaInterview/actions
Projects https://github.com/byroncaesar/JavaInterview/projects
Security and quality https://github.com/byroncaesar/JavaInterview/security
Insights https://github.com/byroncaesar/JavaInterview/pulse
https://github.com/byroncaesar/JavaInterview
JavaInterviewhttps://github.com/byroncaesar/JavaInterview/tree/main
Historyhttps://github.com/byroncaesar/JavaInterview/commits/main/MySQL.md
https://github.com/byroncaesar/JavaInterview/commits/main/MySQL.md
JavaInterviewhttps://github.com/byroncaesar/JavaInterview/tree/main
Rawhttps://github.com/byroncaesar/JavaInterview/raw/refs/heads/main/MySQL.md
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#mysql
1. 什么是索引?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#1-%E4%BB%80%E4%B9%88%E6%98%AF%E7%B4%A2%E5%BC%95
2.索引是个什么样的数据结构呢?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#2%E7%B4%A2%E5%BC%95%E6%98%AF%E4%B8%AA%E4%BB%80%E4%B9%88%E6%A0%B7%E7%9A%84%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E5%91%A2
3.Hash索引和B+树索引有什么区别或者说优劣呢?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#3hash%E7%B4%A2%E5%BC%95%E5%92%8Cb%E6%A0%91%E7%B4%A2%E5%BC%95%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB%E6%88%96%E8%80%85%E8%AF%B4%E4%BC%98%E5%8A%A3%E5%91%A2
4.在建立索引的时候,都有哪些需要考虑的因素呢?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#4%E5%9C%A8%E5%BB%BA%E7%AB%8B%E7%B4%A2%E5%BC%95%E7%9A%84%E6%97%B6%E5%80%99%E9%83%BD%E6%9C%89%E5%93%AA%E4%BA%9B%E9%9C%80%E8%A6%81%E8%80%83%E8%99%91%E7%9A%84%E5%9B%A0%E7%B4%A0%E5%91%A2
5.了解过哪些存储引擎?各有什么优缺点?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#5%E4%BA%86%E8%A7%A3%E8%BF%87%E5%93%AA%E4%BA%9B%E5%AD%98%E5%82%A8%E5%BC%95%E6%93%8E%E5%90%84%E6%9C%89%E4%BB%80%E4%B9%88%E4%BC%98%E7%BC%BA%E7%82%B9
6.说一下什么是事务的ACID属性吧https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#6%E8%AF%B4%E4%B8%80%E4%B8%8B%E4%BB%80%E4%B9%88%E6%98%AF%E4%BA%8B%E5%8A%A1%E7%9A%84acid%E5%B1%9E%E6%80%A7%E5%90%A7
7.事务的隔离级别了解过吗?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#7%E4%BA%8B%E5%8A%A1%E7%9A%84%E9%9A%94%E7%A6%BB%E7%BA%A7%E5%88%AB%E4%BA%86%E8%A7%A3%E8%BF%87%E5%90%97
8.说说InnoDB的索引原理https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#8%E8%AF%B4%E8%AF%B4innodb%E7%9A%84%E7%B4%A2%E5%BC%95%E5%8E%9F%E7%90%86
说说InnoDB的MVCC机制https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#%E8%AF%B4%E8%AF%B4innodb%E7%9A%84mvcc%E6%9C%BA%E5%88%B6
9.有了解过“回表”的概念吗?什么情况下会出现“回表”?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#9%E6%9C%89%E4%BA%86%E8%A7%A3%E8%BF%87%E5%9B%9E%E8%A1%A8%E7%9A%84%E6%A6%82%E5%BF%B5%E5%90%97%E4%BB%80%E4%B9%88%E6%83%85%E5%86%B5%E4%B8%8B%E4%BC%9A%E5%87%BA%E7%8E%B0%E5%9B%9E%E8%A1%A8
10.MySQL索引的类型https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#10mysql%E7%B4%A2%E5%BC%95%E7%9A%84%E7%B1%BB%E5%9E%8B
11.有做过MySQL的索引优化吗https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#11%E6%9C%89%E5%81%9A%E8%BF%87mysql%E7%9A%84%E7%B4%A2%E5%BC%95%E4%BC%98%E5%8C%96%E5%90%97
12.什么是聚簇索引?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#12%E4%BB%80%E4%B9%88%E6%98%AF%E8%81%9A%E7%B0%87%E7%B4%A2%E5%BC%95
13.InnoDB有聚簇索引吗?MyIsam呢?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#13innodb%E6%9C%89%E8%81%9A%E7%B0%87%E7%B4%A2%E5%BC%95%E5%90%97myisam%E5%91%A2
14.MyIsam的数据是怎么存储的?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#14myisam%E7%9A%84%E6%95%B0%E6%8D%AE%E6%98%AF%E6%80%8E%E4%B9%88%E5%AD%98%E5%82%A8%E7%9A%84
15.InnoDB的数据是怎么存储的?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#15innodb%E7%9A%84%E6%95%B0%E6%8D%AE%E6%98%AF%E6%80%8E%E4%B9%88%E5%AD%98%E5%82%A8%E7%9A%84
16.InnoDB主键索引跟非主键索引在数据存储上的差异https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#16innodb%E4%B8%BB%E9%94%AE%E7%B4%A2%E5%BC%95%E8%B7%9F%E9%9D%9E%E4%B8%BB%E9%94%AE%E7%B4%A2%E5%BC%95%E5%9C%A8%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8%E4%B8%8A%E7%9A%84%E5%B7%AE%E5%BC%82
17.InnoDB删除某条记录后,内部会怎么处理?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#17innodb%E5%88%A0%E9%99%A4%E6%9F%90%E6%9D%A1%E8%AE%B0%E5%BD%95%E5%90%8E%E5%86%85%E9%83%A8%E4%BC%9A%E6%80%8E%E4%B9%88%E5%A4%84%E7%90%86
18.InnoDB如果没有设置主键的话,它内部会怎么处理?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#18innodb%E5%A6%82%E6%9E%9C%E6%B2%A1%E6%9C%89%E8%AE%BE%E7%BD%AE%E4%B8%BB%E9%94%AE%E7%9A%84%E8%AF%9D%E5%AE%83%E5%86%85%E9%83%A8%E4%BC%9A%E6%80%8E%E4%B9%88%E5%A4%84%E7%90%86
19.为什么InnoDB一定会生成主键?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#19%E4%B8%BA%E4%BB%80%E4%B9%88innodb%E4%B8%80%E5%AE%9A%E4%BC%9A%E7%94%9F%E6%88%90%E4%B8%BB%E9%94%AE
20.MySQL分库分表了解过吗?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#20mysql%E5%88%86%E5%BA%93%E5%88%86%E8%A1%A8%E4%BA%86%E8%A7%A3%E8%BF%87%E5%90%97
21.MySQL的redo日志和undo日志分别有什么用?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#21mysql%E7%9A%84redo%E6%97%A5%E5%BF%97%E5%92%8Cundo%E6%97%A5%E5%BF%97%E5%88%86%E5%88%AB%E6%9C%89%E4%BB%80%E4%B9%88%E7%94%A8
22.MySQL的redo日志的刷盘时机https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#22mysql%E7%9A%84redo%E6%97%A5%E5%BF%97%E7%9A%84%E5%88%B7%E7%9B%98%E6%97%B6%E6%9C%BA
23.MySQL有哪些锁?以及各种锁的作用?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#23mysql%E6%9C%89%E5%93%AA%E4%BA%9B%E9%94%81%E4%BB%A5%E5%8F%8A%E5%90%84%E7%A7%8D%E9%94%81%E7%9A%84%E4%BD%9C%E7%94%A8
24.MySQL中varchar与char的区别以及varchar(50)中的50代表的涵义https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#24mysql%E4%B8%ADvarchar%E4%B8%8Echar%E7%9A%84%E5%8C%BA%E5%88%AB%E4%BB%A5%E5%8F%8Avarchar50%E4%B8%AD%E7%9A%8450%E4%BB%A3%E8%A1%A8%E7%9A%84%E6%B6%B5%E4%B9%89
25.MySQL有哪些日志,分别是什么用处?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#25mysql%E6%9C%89%E5%93%AA%E4%BA%9B%E6%97%A5%E5%BF%97%E5%88%86%E5%88%AB%E6%98%AF%E4%BB%80%E4%B9%88%E7%94%A8%E5%A4%84
26.在哪些情况下会发生针对该列创建了索引但是在查询的时候并没有使用呢?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#26%E5%9C%A8%E5%93%AA%E4%BA%9B%E6%83%85%E5%86%B5%E4%B8%8B%E4%BC%9A%E5%8F%91%E7%94%9F%E9%92%88%E5%AF%B9%E8%AF%A5%E5%88%97%E5%88%9B%E5%BB%BA%E4%BA%86%E7%B4%A2%E5%BC%95%E4%BD%86%E6%98%AF%E5%9C%A8%E6%9F%A5%E8%AF%A2%E7%9A%84%E6%97%B6%E5%80%99%E5%B9%B6%E6%B2%A1%E6%9C%89%E4%BD%BF%E7%94%A8%E5%91%A2
27. 为什么要尽量设定一个主键?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#27-%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E5%B0%BD%E9%87%8F%E8%AE%BE%E5%AE%9A%E4%B8%80%E4%B8%AA%E4%B8%BB%E9%94%AE
28.主键使用自增ID还是UUID?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#28%E4%B8%BB%E9%94%AE%E4%BD%BF%E7%94%A8%E8%87%AA%E5%A2%9Eid%E8%BF%98%E6%98%AFuuid
29.字段为什么要求定义为not null?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#29%E5%AD%97%E6%AE%B5%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E6%B1%82%E5%AE%9A%E4%B9%89%E4%B8%BAnot-null
30.如果要存储用户的密码散列,应该使用什么字段进行存储?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#30%E5%A6%82%E6%9E%9C%E8%A6%81%E5%AD%98%E5%82%A8%E7%94%A8%E6%88%B7%E7%9A%84%E5%AF%86%E7%A0%81%E6%95%A3%E5%88%97%E5%BA%94%E8%AF%A5%E4%BD%BF%E7%94%A8%E4%BB%80%E4%B9%88%E5%AD%97%E6%AE%B5%E8%BF%9B%E8%A1%8C%E5%AD%98%E5%82%A8
31.varchar(10)和int(10)代表什么含义?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#31varchar10%E5%92%8Cint10%E4%BB%A3%E8%A1%A8%E4%BB%80%E4%B9%88%E5%90%AB%E4%B9%89
32.MySQL的binlog有有几种录入格式?分别有什么区别?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#32mysql%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
33.超大分页怎么处理?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#33%E8%B6%85%E5%A4%A7%E5%88%86%E9%A1%B5%E6%80%8E%E4%B9%88%E5%A4%84%E7%90%86
34.关心过业务系统里面的sql耗时吗?统计过慢查询吗?对慢查询都怎么优化过?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#34%E5%85%B3%E5%BF%83%E8%BF%87%E4%B8%9A%E5%8A%A1%E7%B3%BB%E7%BB%9F%E9%87%8C%E9%9D%A2%E7%9A%84sql%E8%80%97%E6%97%B6%E5%90%97%E7%BB%9F%E8%AE%A1%E8%BF%87%E6%85%A2%E6%9F%A5%E8%AF%A2%E5%90%97%E5%AF%B9%E6%85%A2%E6%9F%A5%E8%AF%A2%E9%83%BD%E6%80%8E%E4%B9%88%E4%BC%98%E5%8C%96%E8%BF%87
35.什么是存储过程?有哪些优缺点?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#35%E4%BB%80%E4%B9%88%E6%98%AF%E5%AD%98%E5%82%A8%E8%BF%87%E7%A8%8B%E6%9C%89%E5%93%AA%E4%BA%9B%E4%BC%98%E7%BC%BA%E7%82%B9
36.说一说三个范式https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#36%E8%AF%B4%E4%B8%80%E8%AF%B4%E4%B8%89%E4%B8%AA%E8%8C%83%E5%BC%8F
37.什么情况下应不建或少建索引https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#37%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
38.什么是表分区?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#38%E4%BB%80%E4%B9%88%E6%98%AF%E8%A1%A8%E5%88%86%E5%8C%BA
39.表分区与分表的区别https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#39%E8%A1%A8%E5%88%86%E5%8C%BA%E4%B8%8E%E5%88%86%E8%A1%A8%E7%9A%84%E5%8C%BA%E5%88%AB
40.表分区有什么好处?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#40%E8%A1%A8%E5%88%86%E5%8C%BA%E6%9C%89%E4%BB%80%E4%B9%88%E5%A5%BD%E5%A4%84
41.MVVC了解过吗https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#41mvvc%E4%BA%86%E8%A7%A3%E8%BF%87%E5%90%97
42.在MVCC并发控制中,读操作可以分成哪几类?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#42%E5%9C%A8mvcc%E5%B9%B6%E5%8F%91%E6%8E%A7%E5%88%B6%E4%B8%AD%E8%AF%BB%E6%93%8D%E4%BD%9C%E5%8F%AF%E4%BB%A5%E5%88%86%E6%88%90%E5%93%AA%E5%87%A0%E7%B1%BB
43.行级锁定的优点https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#43%E8%A1%8C%E7%BA%A7%E9%94%81%E5%AE%9A%E7%9A%84%E4%BC%98%E7%82%B9
44.行级锁定的缺点https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#44%E8%A1%8C%E7%BA%A7%E9%94%81%E5%AE%9A%E7%9A%84%E7%BC%BA%E7%82%B9
45.MySQL优化https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#45mysql%E4%BC%98%E5%8C%96
46.key和index的区别https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#46key%E5%92%8Cindex%E7%9A%84%E5%8C%BA%E5%88%AB
47.delete、truncate、drop区别https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#47deletetruncatedrop%E5%8C%BA%E5%88%AB
48.MySQL主从复制原理流程https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#48mysql%E4%B8%BB%E4%BB%8E%E5%A4%8D%E5%88%B6%E5%8E%9F%E7%90%86%E6%B5%81%E7%A8%8B
49.自增主键最大ID记录,MyISAM和InnoDB分别是如何存储的https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#49%E8%87%AA%E5%A2%9E%E4%B8%BB%E9%94%AE%E6%9C%80%E5%A4%A7id%E8%AE%B0%E5%BD%95myisam%E5%92%8Cinnodb%E5%88%86%E5%88%AB%E6%98%AF%E5%A6%82%E4%BD%95%E5%AD%98%E5%82%A8%E7%9A%84
50.Mysql如何优化DISTINCT?https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#50mysql%E5%A6%82%E4%BD%95%E4%BC%98%E5%8C%96distinct
51.解释MySQL外连接、内连接与自连接的区别https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#51%E8%A7%A3%E9%87%8Amysql%E5%A4%96%E8%BF%9E%E6%8E%A5%E5%86%85%E8%BF%9E%E6%8E%A5%E4%B8%8E%E8%87%AA%E8%BF%9E%E6%8E%A5%E7%9A%84%E5%8C%BA%E5%88%AB
参考链接https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#%E5%8F%82%E8%80%83%E9%93%BE%E6%8E%A5
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#1-什么是索引
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#2索引是个什么样的数据结构呢
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#3hash索引和b树索引有什么区别或者说优劣呢
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#4在建立索引的时候都有哪些需要考虑的因素呢
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#5了解过哪些存储引擎各有什么优缺点
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#6说一下什么是事务的acid属性吧
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#7事务的隔离级别了解过吗
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#8说说innodb的索引原理
https://www.cnblogs.com/williamjie/p/11081081.htmlhttps://www.cnblogs.com/williamjie/p/11081081.html
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#说说innodb的mvcc机制
https://baijiahao.baidu.com/s?id=1629409989970483292https://baijiahao.baidu.com/s?id=1629409989970483292
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#9有了解过回表的概念吗什么情况下会出现回表
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#10mysql索引的类型
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#11有做过mysql的索引优化吗
https://blog.csdn.net/m0_37984616/article/details/81047676https://blog.csdn.net/m0_37984616/article/details/81047676
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#12什么是聚簇索引
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#13innodb有聚簇索引吗myisam呢
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#14myisam的数据是怎么存储的
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#15innodb的数据是怎么存储的
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#16innodb主键索引跟非主键索引在数据存储上的差异
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#17innodb删除某条记录后内部会怎么处理
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#18innodb如果没有设置主键的话它内部会怎么处理
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#19为什么innodb一定会生成主键
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#20mysql分库分表了解过吗
https://baijiahao.baidu.com/s?id=1622441635115622194https://baijiahao.baidu.com/s?id=1622441635115622194
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#21mysql的redo日志和undo日志分别有什么用
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#22mysql的redo日志的刷盘时机
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#23mysql有哪些锁以及各种锁的作用
https://blog.csdn.net/qq_40378034/article/details/90904573https://blog.csdn.net/qq_40378034/article/details/90904573
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#24mysql中varchar与char的区别以及varchar50中的50代表的涵义
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#25mysql有哪些日志分别是什么用处
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#26在哪些情况下会发生针对该列创建了索引但是在查询的时候并没有使用呢
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#27-为什么要尽量设定一个主键
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#28主键使用自增id还是uuid
https://camo.githubusercontent.com/926403ec639ebdb642a2145ced6e85d61c243151b2e032add65113fa5c4b7006/68747470733a2f2f696d67732e69747875657975616e2e636f6d2f3939303931332d32303139303830363039313431363731342d3738303935303033302e706e67
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#29字段为什么要求定义为not-null
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#30如果要存储用户的密码散列应该使用什么字段进行存储
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#31varchar10和int10代表什么含义
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#32mysql的binlog有有几种录入格式分别有什么区别
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#33超大分页怎么处理
https://camo.githubusercontent.com/2c2cbcb83264d43b967c5144c045c7d7bec04e39bb1de84702f8d1bd4b16aa45/68747470733a2f2f696d67732e69747875657975616e2e636f6d2f3939303931332d32303139303830363039313433393534382d3830363439383133352e706e67
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#34关心过业务系统里面的sql耗时吗统计过慢查询吗对慢查询都怎么优化过
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#35什么是存储过程有哪些优缺点
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#36说一说三个范式
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#37什么情况下应不建或少建索引
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#38什么是表分区
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#39表分区与分表的区别
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#40表分区有什么好处
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#41mvvc了解过吗
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#42在mvcc并发控制中读操作可以分成哪几类
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#43行级锁定的优点
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#44行级锁定的缺点
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#45mysql优化
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#46key和index的区别
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#47deletetruncatedrop区别
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#48mysql主从复制原理流程
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#49自增主键最大id记录myisam和innodb分别是如何存储的
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#50mysql如何优化distinct
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#51解释mysql外连接内连接与自连接的区别
https://github.com/byroncaesar/JavaInterview/blob/main/MySQL.md#参考链接
https://article.itxueyuan.com/eoJEMjhttps://article.itxueyuan.com/eoJEMj
https://www.cnblogs.com/williamjie/p/11081592.htmlhttps://www.cnblogs.com/williamjie/p/11081592.html
http://www.100mian.com/mianshi/mysql/49909.htmlhttp://www.100mian.com/mianshi/mysql/49909.html
https://leisure.wang/procedural-framework/database/241.htmlhttps://leisure.wang/procedural-framework/database/241.html
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.