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

Improve caching of query plans #309

Open
huahaiy opened this issue Feb 3, 2025 · 0 comments
Open

Improve caching of query plans #309

huahaiy opened this issue Feb 3, 2025 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@huahaiy
Copy link
Contributor

huahaiy commented Feb 3, 2025

Our plan generation can be slow sometimes, so it is desirable to reuse plans as much as possible by caching them.

Caching keys of the plans consider both the query and the arguments. We can be smart about the caching keys. If the arguments do not introduce dramatic changes in the amount of data retrieved, we can still reuse the plan, even if the arguments are different from the cached ones.

@huahaiy huahaiy added the enhancement New feature or request label Feb 3, 2025
@huahaiy huahaiy added this to the 1.0.0 milestone Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant