1# Per-table autovacuum scale factor on `plaincache_cacheditem`. The Postgres
2# default of 0.2 is too lax for a cache table whose rows churn far faster than
3# they grow — autovacuum waits for 20% dead tuples, by which point bloat is
4# already established.
5CACHE_AUTOVACUUM_SCALE_FACTOR: float = 0.1
6
7# TOAST autovacuum scale factor for `plaincache_cacheditem`. Cache values are
8# often large enough to TOAST, and every `set()` rewrites the value, leaving
9# orphaned TOAST chunks. TOAST has its own autovacuum schedule independent of
10# the heap, so it gets its own knob.
11CACHE_TOAST_AUTOVACUUM_SCALE_FACTOR: float = 0.05