Postgres doesn't automatically evict "stale" data, so we need to write a small script that'll check the TTL of cached data across all tables in cache and delete those rows.
TTL metadata is available in bookkeeping table, respective of (table, repo_id).
Postgres doesn't automatically evict "stale" data, so we need to write a small script that'll check the TTL of cached data across all tables in cache and delete those rows.
TTL metadata is available in bookkeeping table, respective of (table, repo_id).