Re: Optimizing query?

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: hamann(dot)w(at)t-online(dot)de
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Optimizing query?
Date: 2013-02-02 10:11:18
Message-ID: CAFj8pRCCkLKptsY_cwDRBywTk-OGhPyofO5MFbhuL5UUR1SHZw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2013/2/2 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>:
> 2013/2/2 <hamann(dot)w(at)t-online(dot)de>:
>> 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
>>

seriously - it is typical solution - and it is great so PostgreSQL
help to you :)

Regards

Pavel

>
> you can send proposals to enhancing to Dimitry - He will be happy :)
>
> Regards
>
> Pavel
>
>> Regards
>> Wolfgang
>>
>>
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-general

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Karel Riverón Escobar 2013-02-02 15:42:04 What language is faster, C or PL/PgSQL?
Previous Message Pavel Stehule 2013-02-02 09:25:40 Re: Optimizing query?