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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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