Note 7 sections
Sizing a PostgreSQL Queue Table by Its Live Set
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
Tag
2 entries: Note.
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