"Steven M. Wheeler" <swheeler@sabre.com> writes:
> DB: version 6.5
> 33 hours [to vacuum] - WOW!
Yipes. We did find and fix a glitch in memory allocation in vacuum
(causing both slowness and excessive memory usage) between 6.5 and
6.5.2. You might try updating to see if it's gotten any better...
regards, tom lane