"Marko Kreen" <markokr(at)gmail(dot)com> writes:
> Note that it's much better to err on the smaller values.
> Extra index pass is really no problem.
I beg to differ ...
What this may actually suggest is that autovacuum needs its own value of
"maintenance_work_mem", or that it should automatically divide the value
by the authorized number of workers.
regards, tom lane