mysql InnoDB单表的数据量达到多少性能会下降?
这个涉及的维度较多,不能一概而论。
首先是存储引擎的考虑,一般我们现在只讨论
其次和表的索引设置也息息相关.默认采用B+ Tree.还要考虑服务器的RAM和磁盘问题。
现在一般推荐一张表考虑到事物的要求,采用InnoDB, 不考虑服务器配置, 数据量保持在 1kw-2kw为最佳,主要支持来自B+ Tree的索引考虑。
`https://www.jianshu.com/p/3578beed5a68`
这个答案适用于一般情况,请根据自己的情况采用
2.1m questions
2.1m answers
60 comments
56.8k users