Programmer: If I can't answer a question about MySQL, I won't be able to join your company?

In the past, there was a programmer named Ali. Because he wanted to work in Ali, but felt that he was far from the level of Ali programmers, he regarded entering Ali as his goal, so he named himself Arirang …

This time I quit and the interview reached its climax...

Interviewer: Tell me about what storage engines MySQL has, and what are their advantages and disadvantages?

Programmer Ali : MySQL supports InnoDB, MyISAM, MEMORY and other storage engines. InnoDB has good disaster recovery, supports transactions, uses row-level locks and... (301 words are omitted here)

Interviewer : Well, yes, do you know a clustered index? Talk about the difference between clustered index and non-clustered index.

Programmer Ali : Well, I often watch this. Non-clustered index is also called auxiliary index. The difference between a clustered index and an auxiliary index is whether the leaf node stores a whole row of data. The clustered index leaf node stores the row record data of the entire table; and the auxiliary index leaf node contains a bookmark (bookmark) in addition to the key value, the bookmark... (655 words are omitted here)

Interviewer : Yes, I am very familiar. How to write SQL to effectively use composite indexes ?

Programmer Ali : A composite index is also called a composite index. Users can create indexes on multiple columns. This type of index is called a composite index (combined index). Compound index requires less overhead during database operation, you can... (478 words are omitted here)

Interviewer : Very good, how should the master-slave delay of MySQL be solved ?

Programmer Ali : I happened to use the master-slave database in the last project. The problem with master-slave database replication...

Interviewer : What is the return table ? What is the function of the covering index ?

Programmer Ali : So... (answered)

Interviewer: What are the differences between B+Tree index and Hash index?

Programmer Ali : This... (answered)

Interviewer : Tell me about the execution process of a SQL statement in MySQL

Talk about the role and principle of MySQL master-slave replication

Talk about the MySQL transaction log

What about the "creation" principle of MySQL indexes?

1 hour later...

Programmer Ali : Interviewer, can we change another type of question?

Interviewer : OK, there are nearly 10 million data in a certain table, CRUD is slow, how to optimize?

Programmer Ali : …Is it that if I cannot answer a MySQL question, I can’t enter your company?

MySQL interview questions


Progress together, learn to share

Jin Jiu Yin 10 is not far away. As far as the current domestic interview mode is concerned, it will be very important to actively prepare for the interview before the interview. It will be very important to review the entire Java knowledge system. It can be very responsible to say whether the review is sufficient or not will be straightforward. Affect your success rate of entry. But many friends suffer from not having appropriate information to review the entire Java knowledge system, or some friends may not know where to start the review. There are more knowledge about the Java interview system and notes, and more advanced Java video materials to share with you for free!

Sharing 1: Dachang Java Architecture Interview Topic Questions and Architecture Study Notes Free Sharing

Sharing 2: Java Advanced Architecture Advanced Video and Interview Video Collection (The picture shows some of the Spring source code learning videos)

Scan the QR code on the left side of the homepage or click the QR code Hyperlink below the code: Free access to the necessary learning resources for advanced Java (video + interview documents + study notes)

Sharing 3: Data structure algorithm video (video + notes)

Scan the QR code on the left side of the homepage or click the hyperlink below the QR code to receive all the above information for free! ! !

Guess you like

Origin blog.csdn.net/EnjoyEDU/article/details/107465536