调优MYSQL有多种模式
我有一个带有许多模式的DB mysql。大约5K -7K模式。
我的系统有时会遇到OOM杀手案。
那是不正常的吗?
我们有5个方案不同的结构。其余的是相同的,每个架构对应于1个用户。
有什么方法可以调整此DB吗? [我还没有找到一种方法]
如何降低OOM错误率? [就我而言,减少Inno缓冲区〜70%总RAM并解决所有缓慢查询]
*新的: 因为我们每个模式有许多 17个表的模式,所以1个表具有〜10个分区。因此,在 datadir 中,每个目录架构包含超过 25-30的文件。
哪种方法可以减少每个架构的文件数量?
我是否应该使用表空间存储所有表不使用分区来减少?
I have a DB MYSQL with many schema. Around 5k - 7k schemas.
My system sometime meet OOM Killer case.
Is that unnormal ?
we have 5 scheme different structure. The rest is the same and each schema corresponds to 1 user.
Is there any way to tunning up this db ?
[I haven't found a way yet]
How to reduce OOM error rate ?
[In my case, reduce inno buffer ~70% total RAM and resolve all slow query]
*NEW:
Because we have many schemas with 17 tables per schema, 1 table has ~10 partitions. So in datadir each directory schema contains more than 25-30 files.
Which is the way to reduce the number of files per schema?
Should I use tablespace to store all table not use partition to reduce?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论