Skip site navigation (1) Skip section navigation (2)

Re: What *_mem to increase when running CLUSTER

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: andrew(at)pillette(dot)com
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: What *_mem to increase when running CLUSTER
Date: 2005-08-25 20:19:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
Andrew Lazarus <andrew(at)pillette(dot)com> 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 the thing
to increase for an index build; previously sort_mem controlled it.
I forget when the changeover was; maybe 8.0.

			regards, tom lane

In response to

pgsql-performance by date

Next:From: RonDate: 2005-08-25 20:26:34
Subject: Re: Read/Write block sizes
Previous:From: Josh BerkusDate: 2005-08-25 19:45:03
Subject: Re: Read/Write block sizes

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group