The notes are divided into 2 subsections, namely:
- Performance tuning
- Architecture design
Performance tuning
Factors affecting MySQLServer performance
- The impact of business requirements on performance
- The impact of system architecture and implementation on performance
- The impact of Query statement on system performance
- Schema design affects system performance
- The impact of hardware environment on system performance
MySQL database locking mechanism
- Introduction to MySQL Locking Mechanism
- Analysis of various locking mechanisms
- Reasonable use of lock mechanism to optimize MySQL
Optimization of MySQL database query
- Parse MySQL's QueryOptimizer
- Basic ideas and principles of Query statement optimization
- Make the most of Explain and Profiling
- Design and use indexes appropriately
- The realization principle and optimization ideas of Join
- ORDERBY , GROUPBY and DISTINCT optimization
Schema design performance optimization ideas
- Build efficient model design
- Use the right data type
- Canonical object naming
MySQLServer performance optimization
MySQL installation optimization
Log setting optimization
QueryCache optimization
Server other common optimizations
Common storage engine optimization
MyISAM storage engine optimization
Innodb storage engine optimization
Architecture design
Basic principles of scalable design
- Scalability
- Principle of Minimizing Transaction Relevance
- Data consistency principle
- High availability and data security principles
MySQLReplication scalability design
- The significance of Replication for scalability design
- The realization principle of Replication mechanism
- Replication thread
- Copy implementation level
Data segmentation
- Vertical segmentation of data
- Horizontal segmentation of data
- Vertical and horizontal joint segmentation using
- Data segmentation and integration solution
- Potential problems in data segmentation and integration
Analyze the use of Cache and Search
- Extend beyond the database of scalable design
- Reasonable use of third-party Cache solutions
- Implement Cache service by yourself
- Use Search to achieve efficient full-text search
- Using distributed parallel computing to achieve high-performance computing with large amounts of data
Deep understanding of MySQLCluster
- MySQL Cluster environment setup
- Basic management and maintenance of MySQL Cluster
- Basic optimization ideas
Ideas and solutions for high-availability design
- Use Replication to achieve high availability architecture
- Master-Slave solves the basic master-slave design
- Master single point problem solving
- Use DRBD to ensure high security and reliability of data
- Other high-availability design solutions
- Comparison of the pros and cons of various high-availability solutions
MySQL monitoring design
- Monitoring system design
- Performance status monitoring
collection method
Because the content of the notes is comprehensive and the length is too long , it is used for screenshots. Friends who need to get documents can receive it for free after "Add me VX Assistant" after one-click triple connection