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

Re: CLUSTER using more memory than expected

From: "Joshua Marsh" <icub3d(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: CLUSTER using more memory than expected
Date: 2006-10-25 23:23:39
Message-ID: 38242de90610251623x16e310b4oaf5192e9748268e6@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
On 10/25/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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.

In response to

pgsql-admin by date

Next:From: ljbDate: 2006-10-26 01:17:38
Subject: Re: Sql Anywhere to PostgreSQL?
Previous:From: Tom LaneDate: 2006-10-25 22:54:42
Subject: Re: pg_restore and drop table problems

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