An Archiving Strategy: Old Data Without the Slowdown
Separating old records that bloat the live table: partitioning, cold storage, and keeping query access while you archive
Tag
5 entries: Note.
Separating old records that bloat the live table: partitioning, cold storage, and keeping query access while you archive
On a queue table, an index and an autovacuum threshold that grow with the table scale wrong; the measured case for sizing both to the pending jobs
A missing index slows the query; too many indexes make every write expensive. Striking the right balance by measurement, not by guesswork
Before scaling up the database: moving read traffic to replicas, the traps replication lag creates, and when you actually need it
The questions to ask before adding a cache, why cache invalidation is hard, and the choice between TTL and consistency