Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个MySQL 数据库视图,它在 4 个表上进行了 JOIN,并且所有索引都已正确使用,以前的响应时间足够公平,但随着数据库快速增长,响应时间逐渐下降,那么我们如何调整性能? 我是解决这种复杂性的新手,我是否需要考虑数据库镜像或分区或 NoSQl,如果可以支持任何文档,这对学习很有帮助。
根据您的检索/使用模式,我建议在所有连接条件中使用Partitioning和使用分区属性并作为第一个过滤条件。
Partitioning