Re: Slow query with joins - Mailing list pgsql-performance

From Jim C. Nasby
Subject Re: Slow query with joins
Date
Msg-id 20060113233454.GM9017@pervasive.com
Whole thread Raw
In response to Re: Slow query with joins  (Bendik Rognlien Johansen <bendik.johansen@gmail.com>)
List pgsql-performance
On Wed, Jan 11, 2006 at 10:30:58PM +0100, Bendik Rognlien Johansen wrote:
> The sort is definitively the culprit. When I removed it the query was
> instant. I tried setting work_mem = 131072 but it did not seem to
> help. I really don't understand this :-( Any other ideas?

What's explain analyze show with the sort in?
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

pgsql-performance by date:

Previous
From: Michael Stone
Date:
Subject: Re: insert without oids
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Stable function being evaluated more than once in a single query