当前位置:网站首页>MySQL is the most complete arrangement (interview questions + Notes + Guide Map), and the big interview companies are no longer stumped by mysql
MySQL is the most complete arrangement (interview questions + Notes + Guide Map), and the big interview companies are no longer stumped by mysql
2022-04-21 21:40:00 【InfoQ】
Preface

01、MySQL Summary of interview questions
- drop、truncate、 delete difference
- What are the three paradigms of database ?
- union and union all What's the difference ?
- char、varchar2、varchar What's the difference? ?
- What are the merge queries ?
- SQL Statement execution order
- null The meaning of
- MySQL、SqlServer、oracle Write out character store 、 String to time
- update Can statement modify data in result set ?
- B Trees and B+ The difference between trees
- Have you seen the index ? The principle of indexing
- Type of index , Such as primary key index
- see SQL Implementation plan
- There are 100000 pieces of data , Write SQL Statement to query several pieces of data with a larger value in a certain field
- The difference between subquery and associated query
- MySQL InnoDB、Mysaim Characteristics ?
- The difference between optimistic lock and pessimistic lock ??
- The difference between row lock and table lock ?
- What is the database isolation level ? What's the role ?
- MySQL The basic principle of active and standby synchronization .
- How to optimize database performance ( Indexes 、 Sub database and sub table 、 The batch operation 、 Paging algorithm 、 Upgrade your hard drive SSD、 Business optimization 、 Master-slave deployment )
- SQL Under what circumstances index will not be used ( It doesn't contain , It's not equal to , function )
- In general, what fields should be indexed ( Filter the fields with the most data )
- MySQL,B+ The index to achieve , Row lock implementation ,SQL Optimize
- How to solve the problem of high concurrent inventory reduction
- Several granularity of database transaction
- Three paradigms of database , Design data table according to seckill scene
- Master-slave replication of database
- How to solve deadlock
- mysql How to solve the problem of concurrency ( Through transaction 、 Isolation level 、 lock )
- Function of trigger ?
- What is stored procedure ? What to call ?
- Advantages and disadvantages of stored procedures ?
- The difference between stored procedures and functions
- The function of index ? And its advantages and disadvantages ?
- What fields are suitable for indexing
- What are the index types ?
- What is business ? What is a lock ?
- What is view ? What is a cursor ?
- Advantages and disadvantages of views
- List several ways to connect tables , What's the difference? ?
- The difference between primary key and foreign key ?
- Query statements in the database is slow , How to optimize ?
- What are the three paradigms of database ?
- Varchar2 and varchar What's the difference? ?
- Oracle and Mysql The difference between ?
- order by And group by The difference between
- Please explain the concept and main features of relational database ?
- Please name a typical product of relational database 、 Features and application scenarios ?
- Please explain the concept and main features of non relational database ?
- Please name the typical products of non relational database 、 Features and application scenarios ?
- Please describe in detail SQL Statement classification and corresponding representative keywords .
- Please describe in detail char(4) and varchar(4) The difference between .
- How to authorize oldboy User from 172.16.1.0/24 Access database .
- What is? MySQL Multiple instances , How to configure MySQL Multiple instances ?
- How to strengthen MySQL Security , Please give the feasible concrete measures ?
- delete and truncate The difference between deleting data ?
- MySQL Sleep How to solve the problem of too many threads ?
- sort_buffer_size Parameter function ? How to make online modification effective ?
- How to clean up correctly online MySQL binlog?
- Binlog What are the working modes ? What are the characteristics of each , How to choose ?
- Misoperation performed a drop library SQL sentence , How to recover completely ?
- mysqldump Backup uses -A -B Parameters , How to recover single table ?
- detailed MySQL Master-slave replication principle and configuration of master-slave complete steps .
- How to open the slave library binlog function ?
- MySQL How to realize bidirectional master-slave replication , And explain the application scenario ?
- MySQL How to achieve cascade synchronization , And explain the application scenario ?
- MySQL How to solve the problem of master-slave replication ?
- How to monitor whether master-slave replication fails ?
- MySQL How to separate read from write in database ?
- The production of one master and many slaves goes down , How to restore by hand ?

- Optimize your query for query caching
- EXPLAIN Yours SELECT Inquire about
- Use when there is only one line of data LIMIT 1
- Index search fields
- stay Join Use examples of a similar type for tables , And index it
- Do not ORDER BY RAND()
- avoid SELECT *
- Always set one... For each table ID
- Use ENUM instead of VARCHAR
- from PROCEDURE ANALYSE() Get advice
- Use as much as possible NOT NULL
- Prepared Statements
- Unbuffered queries
- hold IP Save the address as UNSIGNED INT
- A fixed length watch will be faster
- Vertical segmentation
- Break up the big DELETE or INSERT sentence
- The smaller the column, the faster
- Choose the right storage engine
- Use an object relational mapper (Object Relational Mapper)
- look out “ Permanent link ”

- The basic chapter :
- Performance optimization :
- Architecture design :

- The first 1 piece Basic knowledge of
- The first 2 piece Core applications
- The first 3 piece The core technology
- The first 4 piece Advanced applications
- The first 5 piece Project practice


summary

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204212135290845.html
边栏推荐
- [spark] (task5) fundamentals of sparkml (classification | clustering model)
- How can urea futures be safe? What are the benefits of urea futures hedging?
- helm安装jenkins(官方)
- (valid for personal test) Oracle can't use backspace key to backspace the command line under Linux, and can't use up and down keys to switch the historical command. There will be garbled code
- GStreamer learning
- Makefile 文件 configure可执行文件 跟 CFLAGS 参数
- 虚拟机关闭之后,重启linux之后,重启里面oracle的监听
- Neural network learning record 57 -- introduction, advantages and disadvantages of various activation functions
- Application case of Lora wireless data transmission module of Internet of things: lorawan gateway communication technology
- 危机四伏,卡士酸奶的高端人设还立得住吗?
猜你喜欢

841. String hash (string hash template)

Communication between parent and child processes (II) -- four cases of anonymous pipeline communication

helm安装sonarqube(bitnami) 9.3

Keil Package常用芯片高速下载地址,含历史版本,快关注我速速收藏

Workflow process setting customization development

ZGC garbage collector from getting started to giving up JVM

FFmpeg连载3-视频解码

微服务,中台,RPA和低代码火热背后的一些冷思考

还清90万安居贷才能拿到离职证明?腾讯回应:与实际情况不符

MySQL多表查询小练习
随机推荐
Unity3d C uses the offset of material map to realize the function of unlimited moving background effect of 2D game single background image (including source code)
安洵杯2021_Crypto_复现
Makefile 文件 configure可执行文件 跟 CFLAGS 参数
Tgip-cn 038 registration | in depth analysis of Apache pulsar source code reading correct posture (I)
Hospital-Oriented RFID Service
helm安装sonarqube(bitnami) 9.3
Reflex WMS system has several similarities with SAP system
Dynamically connecting data sources and transaction rollback
2022年安全员-B证操作证考试题库及模拟考试
2022 safety officer-b certificate operation certificate examination question bank and simulation examination
【编程时适合的音乐】
Bailian4005 puzzle [greed]
分析师认为三星Galaxy Z Fold 4和Z Flip 4可能比其前代产品更便宜
After the virtual machine is shut down, restart Linux and restart Oracle monitoring inside
【题解】[SDOI2012] 吊灯
动态规划:完全背包问题
Pay off 900000 housing loans to get the resignation certificate? Tencent response: inconsistent with the actual situation
Reflection 111
Keil Package常用芯片高速下载地址,含历史版本,快关注我速速收藏
在linux的oracle的客户端,输入sql语句,出现 ORACLE not available Process ID: 0 Session ID: 0 Serial number: 0