zlacker

[parent] [thread] 1 comments
1. spudly+(OP)[view] [source] 2023-04-26 22:21:31
> "But making sure that PostgreSQL’s autovacuum is running as best as possible is difficult due to its complexity."

The problem, as the article states it, is that a "sensible" vacuum setting for one table is a terrible setting for another depending on how large these tables are. On a 100 million tuple table you'd be waiting 'til there there were 20 million garbage tuples before taking action.

replies(1): >>Icathi+MY3
2. Icathi+MY3[view] [source] 2023-04-28 00:15:25
>>spudly+(OP)
You can set autovacuum reloptions on a per-table basis, if they differ that much for your your use case.
[go to top]