Re: Amazon High I/O instances

From: Sébastien Lorion <sl(at)thestrangefactory(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Amazon High I/O instances
Date: 2012-09-13 13:08:36
Message-ID: CAGa5y0NzuxrnrW4DftMJtss-TSTuRUD7F5EdA=9So0S12Sw3Dg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

maintenance_work_mem is already 4GB. How large should it be during load
then ?

Sébastien

On Thu, Sep 13, 2012 at 1:29 AM, John R Pierce <pierce(at)hogranch(dot)com> wrote:

> On 09/12/12 10:01 PM, Sébastien Lorion wrote:
>
>> pgbench initialization has been going on for almost 5 hours now and still
>> stuck before vacuum starts .. something is definitely wrong as I don't
>> remember it took so long first time I created the db....
>>
>
> pgbench initialization with a high scale factor, like the -s 10000 I
> frequently use, does take quite a few hours. you need a large
> maintenance_work_mem, or the create index phase will take a really long
> time to index the 150GB worth of tables its created.
>
>
>
>
> --
> john r pierce N 37, W 122
> santa cruz ca mid-left coast
>
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/**mailpref/pgsql-general<http://www.postgresql.org/mailpref/pgsql-general>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Yelai, Ramkumar IN BLR STS 2012-09-13 13:33:09 Need help in reclaiming disk space by deleting the selected records
Previous Message Jeremy Whiting 2012-09-13 10:15:07 Re: RPM contents for 9.2 community release.