Summary of database interview questions for personal use
Enterprise
2023-07-21 04:41:00
views: null
MySQL:
- Can you introduce the indexing principle and data structure of MySQL?
- What is the difference between B+ tree and B tree?
- What is the difference between MySQL clustered index and non-clustered index?
- What are the principles for using MySQL indexes?
- How do different storage engines do actual storage?
- What is the structure of MySQL's composite index?
- How to optimize MySQL index?
- What are the four characteristics of a transaction? What is their realization principle?
- What are the functions of MySQL's redolog, undolog, and binlog?
- What is two-phase commit, and how to ensure data consistency during downtime?
- How does MVCC implement multi-version concurrency control? How to resolve read and write conflicts?
- What is a phantom read in MySQL? How to solve the problem of phantom reading?
- What is the difference between delete drop truncate?
Redis:
- Tell me about the data types of Redis in detail?
- Talk about the persistence strategy of Redis?
- How to use Redis to implement a distributed lock?
- Tell me what you know about Redis
- Talk about the difference between cache penetration, breakdown, and avalanche
- How Redis maintains double-write consistency with the database
- Please tell me about zset in Redis data type, what is the difference between it and set? How is the bottom layer realized?
- Talk about the single-threaded architecture of Redis
- How to achieve high availability of Redis
- Talk about the master-slave synchronization mechanism of Redis
- Talk about Redis's cache elimination strategy
Origin blog.csdn.net/qq_45800977/article/details/130197679