Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
323 views
in Technique[技术] by (71.8m points)

mysql单表的数据量达到多少性能会下降?

mysql InnoDB单表的数据量达到多少性能会下降?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

这个涉及的维度较多,不能一概而论。

首先是存储引擎的考虑,一般我们现在只讨论

  • MyIsam
  • InnoDB

其次和表的索引设置也息息相关.
默认采用B+ Tree.
还要考虑服务器的RAM和磁盘问题。

现在一般推荐一张表考虑到事物的要求,采用InnoDB, 不考虑服务器配置, 数据量保持在 1kw-2kw为最佳,主要支持来自B+ Tree的索引考虑。

`https://www.jianshu.com/p/3578beed5a68
`

这个答案适用于一般情况,请根据自己的情况采用


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...