Skip to content
New issue

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

optimize internalstorage #2

Merged
merged 0 commits into from
Feb 10, 2022
Merged

optimize internalstorage #2

merged 0 commits into from
Feb 10, 2022

Conversation

Iceber
Copy link
Owner

@Iceber Iceber commented Dec 14, 2021

模拟测试环境: 500 集群 * 10000 资源

存储设施 mysql

@Iceber
Copy link
Owner Author

Iceber commented Dec 14, 2021

需要在增加三个索引

  • idx_group_version_resource_namespace_name
  • idx_group_version_resource_name
  • idx_cluster

idx_cluster 用于获取指定集群的 resource version

@Iceber
Copy link
Owner Author

Iceber commented Dec 14, 2021

在数据量巨大的情况下,全集群的 order by 的查询会非常慢

指定集群的 order by 不太受影响

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.

None yet

1 participant