Re: very slow selects on a small table

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: Brian Cox <brian(dot)cox(at)ca(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: very slow selects on a small table
Date: 2009-06-18 17:21:03
Message-ID: 2f4958ff0906181021p3369e4faif4772cb140ead446@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, Jun 18, 2009 at 6:16 PM, Brian Cox <brian(dot)cox(at)ca(dot)com> wrote:

> Grzegorz Jakiewicz [gryzman(at)gmail(dot)com] wrote:
>
>> this might be quite bogus question, just a hit - but what is your
>> work_mem set to ?
>> Guys, isn't postgresql giving hudge cost, when it can't sort in memory ?
>>
> work_mem = 64MB
>
try increasing it please, to say 256MB

8.4 in explain analyze actually informs you whether sorting was done on disc
or in memory, but you probably don't run stuff on cutting edge ;)

--
GJ

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2009-06-18 17:48:03 Re: very slow selects on a small table
Previous Message Brian Cox 2009-06-18 17:16:51 Re: very slow selects on a small table