Re: Optimizing query? - Mailing list pgsql-general

From hamann.w@t-online.de
Subject Re: Optimizing query?
Date
Msg-id wolfgang-1130202101708.A0312546@amadeus3.local
Whole thread Raw
In response to Re: Optimizing query?  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Optimizing query?  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
Pavel Stehule wrote:

>>
>> but maybe  https://github.com/dimitri/prefix can help
>>

Hi Pavel,

thanks - this works perfect. However, it does not seem to play well
with the optimizer, so I ended up with

select all candidates into a temp table using prefix operator
apply all other conditions by joining that temp table to original ones

Regards
Wolfgang

pgsql-general by date:

Previous
From: Jeff Janes
Date:
Subject: Re: trouble with upgrade from 9.0 (many schemas and tables)
Next
From: Pavel Stehule
Date:
Subject: Re: Optimizing query?