Skip to content

fix: 修复多字段参与join时,没有命中缓存而出现的1+N查询性能问题#403

Merged
TommyLemon merged 1 commit intoTencent:masterfrom
github291406933:master
Jun 6, 2022
Merged

fix: 修复多字段参与join时,没有命中缓存而出现的1+N查询性能问题#403
TommyLemon merged 1 commit intoTencent:masterfrom
github291406933:master

Conversation

@github291406933
Copy link
Copy Markdown
Contributor

在缓存副表数据到ChildMap时,反向遍历onList集合,避免除了idKey,userKey之外的字段在putWhere时,跟前端传参指定的顺序相反,导致没有命中缓存。

  • 将onList反转

issue #402

在缓存副表数据到ChildMap时,反向遍历onList集合,避免除了idKey,userKey之外的字段在putWhere时,跟前端传参指定的顺序相反,导致没有命中缓存。

- 将onList反转

issue Tencent#402
@TommyLemon TommyLemon merged commit 1f0af2d into Tencent:master Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants