We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
N+1 查询问题 就是查询扩展字段时的循环查询问题。
为了解决 N+1 问题我使用了模型 预加载 方式,但是由于后台框架限制(也可能是使用不当),将 一对多 的被关联的模型数据都查出来了,数据量很大,导致页面卡顿,一次反向优化。
优化要权衡不能硬搬书本。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
N+1 查询问题 就是查询扩展字段时的循环查询问题。
为了解决 N+1 问题我使用了模型 预加载 方式,但是由于后台框架限制(也可能是使用不当),将 一对多 的被关联的模型数据都查出来了,数据量很大,导致页面卡顿,一次反向优化。
优化要权衡不能硬搬书本。
The text was updated successfully, but these errors were encountered: