NOTE
Database Optimization
Database optimization can involve data design, configuration, and queries. These notes record approaches such as field denormalization and MySQL configuration changes.
This is a historical learning note and may contain outdated or incomplete understanding.
1. What Is Database Optimization
2. Database Optimization Approaches
2.1. Application Layer
2.1.1. Cache
2.2. Database Layer
2.2.1. SQL Statements
2.2.2. Table Structure
- Put redundant fields in the main table
2.2.3. Replication
2.2.4. Partitioning, Database Sharding, and Table Sharding
2.3. System Layer
2.3.1. Tune Server Parameters
- MySQL configuration
- Linux configuration
2.4. Hardware Layer
- More powerful machines
3. References
Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub