Postgres, vacuum and the insert benchmark
smalldatum.blogspot.com/2020/07/postgr
Conversation
Replying to
FWIW, autovacuum will get triggered on insert-only tables in Postgres 13: amitkapila16.blogspot.com/2020/05/improv
1
4
8
1
1
If my workload does 1 delete and 1M inserts is this going to trigger a full vacuum, scanning all secondary indexes, when I really just want visibility map bits to be set?
2
1
You could set "vacuum_index_cleanup = off" on the table if you knew it had this workload. Otherwise, yes.
Unless I miss something that workload would *not* trigger at least btree index scans for vacuum. If there's no dead tuples, we don't scan those (unless close to a wraparound).
1
3
Show replies



