JOIN Performance Issue MySQL

非 Y 不嫁゛ 提交于 2020-01-03 04:29:08

问题


I have a MySQL DB View which is having a JOIN on 4 Tables and all indexes have been used properly and previously response time was fair enough but as the database is growing rapidly, the response time is gradually degrading, so how can we tune the performance? I am new to solve this kind of complexity, Do I need to think about database mirroring or partitioning or NoSQl as well, if any doc can be supported on this, it would be very helpful in learning.


回答1:


Depending on your retrieval/usage pattern, I advice to use Partitioning and use the partition attribute in all join conditions and as first filter condition.



来源:https://stackoverflow.com/questions/13277127/join-performance-issue-mysql

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!