MySQL:information_schema.tables 性能退化
原文英文,约1800词,阅读约需7分钟。发表于: 。In IRC libera:#mysql somebody asked about the performance of SHOW TABLES LIKE 'name' in MySQL 8.0, which was slow for them, but fast in 5.7. They pointed to a forum article from 2022 that had a...
在IRC讨论中,有人指出MySQL 8.0中SHOW TABLES LIKE 'name'在表数量较多时性能较差,尤其是创建百万个表时,速度慢且查询效率低。MySQL 8.x使用隐藏的InnoDB表存储数据字典,导致查询性能下降。