docs(general): document query_cache_memory_limit and query_cache_idle_timeout - #103
Draft
IgorOhrimenko wants to merge 2 commits into
Draft
docs(general): document query_cache_memory_limit and query_cache_idle_timeout#103IgorOhrimenko wants to merge 2 commits into
IgorOhrimenko wants to merge 2 commits into
Conversation
Adds reference entries for the byte-based query cache memory budget and the idle-expiry TTL (pgdogdev/pgdog#1266), plus SHOW CONFIG table rows.
…lliseconds) Follows the rename in pgdogdev/pgdog#1266: the behaviour is idle expiry (counted from last access), so the option reuses the existing idle-timeout naming and the millisecond unit of the other *_timeout options.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the two
[general]options added in pgdogdev/pgdog#1266:query_cache_memory_limit— byte budget for the query (AST) cache, LRU eviction once the summed entry size exceeds it; complements the count-basedquery_cache_limit.query_cache_idle_timeout— idle timeout in milliseconds; entries not accessed within the window are dropped by the maintenance sweep.Both default to
0(off). Adds reference entries in the general config page (the anchors the code's doc-comments link to) and the two rows in the SHOW CONFIG table.Companion to pgdogdev/pgdog#1266 — should merge together with it (or be closed if that PR is declined).