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

PR #99254 - sql: add prepared_statements_cache_size setting #16630

Open
cockroach-teamcity opened this issue Mar 29, 2023 · 0 comments
Open

PR #99254 - sql: add prepared_statements_cache_size setting #16630

cockroach-teamcity opened this issue Mar 29, 2023 · 0 comments

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Mar 29, 2023

Exalate commented:

Related PR: cockroachdb/cockroach#99254
Commit: cockroachdb/cockroach@d4fed1c
Fixes: CRDB-24930


Release note (sql change): Add a new prepared_statements_cache_size
setting which, when set to a non-zero number of bytes, causes the least-
recently-used prepared statements to be automatically deallocated when
prepared statement memory usage goes above the cache size. This setting
can be used to avoid prepared statement leaks from long-lived
connections which never DEALLOCATE prepared statements.

Jira Issue: DOC-7331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants