Re: very slow selects on a small table - Mailing list pgsql-performance

From Grzegorz Jaśkiewicz
Subject Re: very slow selects on a small table
Date
Msg-id 2f4958ff0906181021p3369e4faif4772cb140ead446@mail.gmail.com
Whole thread Raw
In response to Re: very slow selects on a small table  (Brian Cox <brian.cox@ca.com>)
List pgsql-performance


On Thu, Jun 18, 2009 at 6:16 PM, Brian Cox <brian.cox@ca.com> wrote:
Grzegorz Jakiewicz [gryzman@gmail.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

pgsql-performance by date:

Previous
From: Brian Cox
Date:
Subject: Re: very slow selects on a small table
Next
From: Tom Lane
Date:
Subject: Re: very slow selects on a small table