Aikesheng Open Source Community
Mar 4, 2024 · Databases
Can Disk Space Be Saved in MySQL by Adding a Primary Key?
The article demonstrates that adding an explicit primary key to a MySQL InnoDB table can dramatically reduce its on‑disk size by eliminating the hidden clustered index, and explains how invisible primary keys can be used when schema changes are not possible.
InnoDBInvisible Primary KeyMySQL
0 likes · 9 min read