当前位置:网站首页>After reviewing MySQL for a month, I was stunned when the interviewer of Alibaba asked me
After reviewing MySQL for a month, I was stunned when the interviewer of Alibaba asked me
2022-07-03 04:23:00 【Java enthusiast】
As Java Programmers believe that everyone MySQL The index of is no stranger , Indexes (Index) Help MySQL Data structure for efficient data acquisition . Index as MySQL The key knowledge in , In the interview frequency is particularly high . I think I am right about MySQL I know a lot about index knowledge , My colleagues also call me big man in their work .
To get into Ali , I spent it specially 1 About a month to review the relevant knowledge , Confidently, I wrote on my resume “ Master MySQL”, I didn't expect to be severely abused by Ali's interviewer … I had a good time talking with the interviewer in the first half , Chatting, I mentioned that our business volume is relatively large , There are millions of new data generated every day , The interviewer is interested in ......... interviewer : You have so much data every day , Are they all stored in a relational database ? I : Yes , What we use online is MySQL database . interviewer : Have you done some optimization for queries ? I : We used the index .
I thought I could easily answer the interviewer's questions , But the next question directly confused me
You know it's MySQL 5.6 in , What optimizations have been made to the index ?
So many indexes you create , Is it effective , Or your SQL Have you ever used index to query statements ?
When we did the investigation , Is there any way to know if there is index query ?
What happens when an index is explicitly created , But the execution did not pass the index ?
Oh , Let's ask so much about index for the time being . What is the transaction isolation level of your online data ?
I can only answer a few of the above questions with hesitation , Watching the interviewer gradually lose the enthusiasm to ask me questions, I know I should be cold in this interview , As everyone expected, I didn't get Ali's offer, I thought I had done enough preparation, but I still underestimated the difficulty of Ali's interview , After this interview, I went back and asked my good friend in Tencent for a job MySQL Learning notes of , And I'm going to have an interview with ALI this time . In line with the principle that good things should be taken out and shared, and in order to let everyone learn better MySQL I decided to take this MySQL The notes are shared for free , This note is from Mysql From foundation to optimization to architecture , Now I'll take a screenshot to show you this information , I think this information is good. If you need friends, please praise, pay attention and support , Follow me and send a private message “MySQL” You can get information for free
Part1:MySQL The brain map of learning thinking ( Hand painted version )
Part2:MySQL Base part ( Core ) ① know MySQL and SQL introduction (MySQL Use of + Sample database + Database basic terminology +MySQL+ With the client program MySQL Interaction skills )
② Use SQL Management data (MySQL Server's SQL Pattern +MySQL Identifier syntax and naming rules +SQL The case of the letters in a statement + Character set support, etc )
③ data type ( Categories of data values +MySQL Data type of +MySQL How to deal with illegal data values + Sequence + Expression evaluation and type conversion + The choice of data type )
④ Storage program ( Compound statements and statement separators + Stored functions and stored procedures + trigger + event + Security of stored programs and views )
⑤ Query optimization ( Use index +MySQL Query optimizer for + Selecting data types to improve query efficiency + Load data effectively + Scheduling and locking problems + Optimization done by the system administrator )
Part3:MySQL Lifting technology ( Advance quickly ) ①MySQL Programming interface (MySQL Programming )
②MySQL System management (MySQL Introduction to system management +MySQL Data directory for +MySQL Daily database management system + Controls and security +MySQL Database maintenance 、 Backup and replication )
Part4:MySQL performance optimization ( Optimize the material ) ①SQL Optimize ( Introduction to optimization +SQL The basic idea of sentence optimization )
②SQL Optimize skills ( utilize Explain Analyze query statements + utilize Profiling Analyze query statements + Using indexes properly + Different types of SQL Sentence optimization method + Optimize database structure + Analysis of the table 、 Checklists and optimization tables )
③ Query performance optimization ( Why is the query speed slow ?+ Slow query Foundation : Optimizing data access + How to refactor the query + The basis of query execution +MySQL Limitations of the query optimizer + Query optimizer tips + Optimize specific types of queries )
I think this information is good. If you need it, please praise it, pay attention and support the sending of background private messages “MySQL” You can get this information for free
④MySQL Performance optimized 21 Best practice
Part4:MySQL Architecture Technology ( In the enterprise MySQL High availability architecture ) ① What is? MySQL High availability ?
②MySQL Master slave copy (MySQL Master slave architecture design + Configuration environment + Server installation configuration +LVS Installation configuration )
③MySQL+DRBD+HA( What is? DRBD?+MySQL+DRBD+HA Architecture design + Configuration environment + Installation configuration Heartbeat+ Installation configuration DRBD)
④Lvs+Keepalived+MySQL Single point write master master synchronization scheme ( Configuration environment +Lvs+Keepalived Installation , To configure +Master and Backup Start of )
⑤MMM High availability MySQL programme (MMM The architecture of + Configuration environment +MMM Installation +Monitor Server configuration + Configuration of each database server +MMM Management of )
I think this information is good. If you need it, please praise it, pay attention and support the sending of background private messages “MySQL” You can get this information for free
边栏推荐
- FFMpeg filter
- Preliminary cognition of C language pointer
- 金仓数据库KingbaseES 插件kdb_date_function
- Joint search set: the number of points in connected blocks (the number of points in a set)
- mysql字段userid逗号分开保存按userid查询
- Kubernetes源码分析(一)
- 解决bp中文乱码
- MySQL create table
- A outsourcing boy's mid-2022 summary
- Smart contract security audit company selection analysis and audit report resources download - domestic article
猜你喜欢
[文献阅读] Sparsity in Deep Learning: Pruning and growth for efficient inference and training in NN
Nat. Comm. | 使用Tensor-cell2cell对细胞通讯进行环境感知去卷积
300+ documents! This article explains the latest progress of multimodal learning based on transformer
Supervised pre training! Another exploration of text generation!
vulnhub HA: Natraj
Mila, University of Ottawa | molecular geometry pre training with Se (3) invariant denoising distance matching
CVPR 2022 | Dalian Technology propose un cadre d'éclairage auto - étalonné pour l'amélioration de l'image de faible luminosité de la scène réelle
Mila、渥太华大学 | 用SE(3)不变去噪距离匹配进行分子几何预训练
CVPR 2022 | 大連理工提出自校准照明框架,用於現實場景的微光圖像增强
Smart contract security audit company selection analysis and audit report resources download - domestic article
随机推荐
拆一辆十万元的比亚迪“元”,快来看看里面的有哪些元器件。
Design and implementation of kubelet garbage collection mechanism to protect nodes from being preempted by containers image GC high threshold
Supervised pre training! Another exploration of text generation!
How to retrieve the password for opening word files
JS realizes lazy loading of pictures
JS realizes the animation effect of text and pictures in the visual area
Classes in TS
x Problem B
解决bp中文乱码
Analysis of the reason why the server cannot connect remotely
Joint set search: merge intervals and ask whether two numbers are in the same set
使用BENCHMARKSQL工具对kingbasees并发测试时kill掉主进程成功后存在子线程未及时关闭
Small program animation realizes the running lantern and animation object
300+ documents! This article explains the latest progress of multimodal learning based on transformer
Five elements of user experience
Joint search set: the number of points in connected blocks (the number of points in a set)
Bugku CTF daily question baby_ flag. txt
使用BENCHMARKSQL工具对kingbaseES执行灌数据提示无法找到JDBC driver
Sklearn data preprocessing
Ffmpeg tanscoding transcoding