Re: CLUSTER using more memory than expected - Mailing list pgsql-admin

From Joshua Marsh
Subject Re: CLUSTER using more memory than expected
Date
Msg-id 38242de90610251623x16e310b4oaf5192e9748268e6@mail.gmail.com
Whole thread Raw
In response to Re: CLUSTER using more memory than expected  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin


On 10/25/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:

CLUSTER will eat maintenance_work_mem during index rebuilds --- more or
less.  You shouldn't expect these numbers to be dead on, particularly
not in older releases.  It looks like your 2Gb spec has turned into
3.6Gb actually eaten, which is a bit sloppier accounting than I'd like
but not overly surprising.  (FWIW, I think CVS HEAD is better than 8.0
at measuring sort workspace.)

                        regards, tom lane

Thanks for the clarification.  It doesn't sound like it's going to jump to 8Gb and hog most of the RAM.

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_restore and drop table problems
Next
From: ljb
Date:
Subject: Re: Sql Anywhere to PostgreSQL?