Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it> writes:
> maintenance_work_mem is still untouched. What would be a good value
> to start from?
GIN index build time is *very* sensitive to maintenance_work_mem.
Try cranking it up to a couple hundred megabytes and see if that
helps.
Also, if you're on 8.2, I think 8.3 might be faster.
regards, tom lane