Re: Query performance - Mailing list pgsql-performance

From Grzegorz Jaśkiewicz
Subject Re: Query performance
Date
Msg-id 2f4958ff0910120629n7390ad4cuc279eee3367ee1d7@mail.gmail.com
Whole thread Raw
In response to Re: Query performance  (S Arvind <arvindwill@gmail.com>)
Responses Re: Query performance  (Matthew Wakeling <matthew@flymine.org>)
Re: Query performance  (S Arvind <arvindwill@gmail.com>)
List pgsql-performance
btw, what's the version of db ?
what's the work_mem setting ?

try setting work_mem to higher value. As postgresql will fallback to disc sorting if the content doesn't fit in work_mem, which it probably doesn't (8.4+ show the memory usage for sorting, which your explain doesn't have).

pgsql-performance by date:

Previous
From: S Arvind
Date:
Subject: Re: Query performance
Next
From: Matthew Wakeling
Date:
Subject: Re: Query performance