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 the usage of the bind cache #32466

Open
4 tasks
Reminiscent opened this issue Feb 18, 2022 · 0 comments · Fixed by #33051
Open
4 tasks

Optimize the usage of the bind cache #32466

Reminiscent opened this issue Feb 18, 2022 · 0 comments · Fixed by #33051
Assignees
Labels
epic/sql-plan-management sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.

Comments

@Reminiscent
Copy link
Contributor

Reminiscent commented Feb 18, 2022

Enhancement

Now we use the map as the bind records' cache. But it's dangerous when there are so many bindRecords. It may cause OOM. So we try to optimize it. The specific work items are as follows:

  • Support the LRU cache
  • Use the LRU to manage the bind Records' cache
  • Support `show binding_cache status' to show the information about the bindCache.
  • Enable/ Disable the binding
  • Support set binding enable/ disable for <stmt> {using <stmt>}
  • Telemetry
  • Support the telemetry for the ``auto capture
@Reminiscent Reminiscent added type/enhancement The issue or PR belongs to an enhancement. sig/planner SIG: Planner epic/sql-plan-management labels Feb 18, 2022
@Reminiscent Reminiscent self-assigned this Feb 18, 2022
@qw4990 qw4990 reopened this Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic/sql-plan-management sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants