Skip to content

Storages: filter keyspace in system table read (#10352)#10360

Merged
ti-chi-bot[bot] merged 2 commits intopingcap:release-8.5from
ti-chi-bot:cherry-pick-10352-to-release-8.5
Aug 22, 2025
Merged

Storages: filter keyspace in system table read (#10352)#10360
ti-chi-bot[bot] merged 2 commits intopingcap:release-8.5from
ti-chi-bot:cherry-pick-10352-to-release-8.5

Conversation

@ti-chi-bot
Copy link
Member

This is an automated cherry-pick of #10352

What problem does this PR solve?

Issue Number: close #10357

Problem Summary:

What is changed and how it works?

Pre-filter the database of keyspace that is not queried to reduce the CPU overhead when there are large number of keyspaces

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

Reduce the CPU overhead after adding vector index when there are large number of tables

Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
@ti-chi-bot ti-chi-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. type/cherry-pick-for-release-8.5 This PR is cherry-picked to release-8.5 from a source PR. labels Aug 21, 2025
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Aug 22, 2025
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Aug 22, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JaySon-Huang, Lloyd-Pottiger

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [JaySon-Huang,Lloyd-Pottiger]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Aug 22, 2025
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Aug 22, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-08-22 04:33:52.342192374 +0000 UTC m=+587240.285367890: ☑️ agreed by JaySon-Huang.
  • 2025-08-22 07:13:35.887464325 +0000 UTC m=+596823.830639842: ☑️ agreed by Lloyd-Pottiger.

@ti-chi-bot ti-chi-bot bot added cherry-pick-approved Cherry pick PR approved by release team. and removed do-not-merge/cherry-pick-not-approved labels Aug 22, 2025
@ti-chi-bot ti-chi-bot bot merged commit be3781e into pingcap:release-8.5 Aug 22, 2025
4 checks passed
@ti-chi-bot ti-chi-bot bot deleted the cherry-pick-10352-to-release-8.5 branch August 22, 2025 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved cherry-pick-approved Cherry pick PR approved by release team. lgtm release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. type/cherry-pick-for-release-8.5 This PR is cherry-picked to release-8.5 from a source PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants