原文地址:https://dev.mysql.com/doc/refman/8.0/en/optimizing-database-structure.html
- 10.4.1 Optimizing Data Size
- 10.4.2 Optimizing MySQL Data Types
- 10.4.3 Optimizing for Many Tables
- 10.4.4 Internal Temporary Table Use in MySQL
- 10.4.5 Limits on Number of Databases and Tables
- 10.4.6 Limits on Table Size
- 10.4.7 Limits on Table Column Count and Row Size
In your role as a database designer, look for the most efficient way to organize your schemas, tables, and columns. As when tuning application code, you minimize I/O, keep related items together, and plan ahead so that performance stays high as the data volume increases. Starting with an efficient database design makes it easier for team members to write high-performing application code, and makes the database likely to endure as applications evolve and are rewritten.