You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A first step: show the cache size per table in tg status, prune api_activity, rate_limits and old jobs on a schedule, and add tg db vacuum. Then measure the bytes per message before deciding on an external-content FTS table and on compacting the raw JSON. This becomes urgent once backfill (#6) works.
Activity
neoromantic commentedon Oct 21, 2026
Checked on 2026-10-21: nothing caps the database, runs
VACUUMor setsauto_vacuum. The only pruning is of completed sync jobs.What grows:
message_search(FTS5), which holds a full copy of the text, sender and chat columns instead of being an external-content table;api_activityandrate_limits: their prune functions exist but have no callers;A first step: show the cache size per table in
tg status, pruneapi_activity,rate_limitsand old jobs on a schedule, and addtg db vacuum. Then measure the bytes per message before deciding on an external-content FTS table and on compacting the raw JSON. This becomes urgent once backfill (#6) works.