Re: [GENERAL] How to improve query performance? - Mailing list pgsql-general

From Vadim Mikheev
Subject Re: [GENERAL] How to improve query performance?
Date
Msg-id 36C90BCF.635BCC48@krs.ru
Whole thread Raw
In response to How to improve query performance?  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: [GENERAL] How to improve query performance?
List pgsql-general
The Hermit Hacker wrote:
>
> The table holds ~120k records right now, and the above query returns ~1100.
>
> To get a feel for the speed it returns, see http://www.hub.org/OS_Survey
>
> I can't think of any way to improve the speed, and yes, I do a 'vacuum
> analyze' on it periodically (did one just before the above EXPLAIN)...
>
> Other other note...its a v6.4.2 server, running on a PII with 384Meg of
> RAM and FreeBSD 3.0-STABLE...

What is -S (memory for sorting)? Try to use -S 8192 or -S 16384.

Vadim

pgsql-general by date:

Previous
From: The Hermit Hacker
Date:
Subject: How to improve query performance?
Next
From: dustin sallings
Date:
Subject: Re: [GENERAL] How to improve query performance?