Re: [PERFORM] What *_mem to increase when running CLUSTER

2005-08-25 Thread Tom Lane
Andrew Lazarus <[EMAIL PROTECTED]> writes: > Should I temporarily increase sort_mem, vacuum_mem, neither, or both > when doing a CLUSTER on a large (100 million row) table The only part of that job that can use lots of memory is the index rebuilds. In recent PG versions maintenance_work_mem is t

Re: [PERFORM] What *_mem to increase when running CLUSTER

2005-08-25 Thread Steve Poe
Andrew, On Thu, 2005-08-25 at 12:24 -0700, Andrew Lazarus wrote: > Should I temporarily increase sort_mem, vacuum_mem, neither, or both > when doing a CLUSTER on a large (100 million row) table where as many as > half of the tuples are deadwood from UPDATEs or DELETEs? I have large > batch (10