Re: Windowing Qual Pushdown - Mailing list pgsql-hackers

From Hitoshi Harada
Subject Re: Windowing Qual Pushdown
Date
Msg-id e08cc0401003230040u5ad1f182t9ab2b7c5788cacb8@mail.gmail.com
Whole thread Raw
In response to Re: Windowing Qual Pushdown  (Daniel Farina <drfarina@acm.org>)
Responses Re: Windowing Qual Pushdown
Re: Windowing Qual Pushdown
List pgsql-hackers
2010/3/23 Daniel Farina <drfarina@acm.org>:
> On Tue, Mar 23, 2010 at 12:19 AM, Hitoshi Harada <umi.tanuki@gmail.com> wrote:
>> If you implement that optimization, we need have kind of
>> implicit, homologous qual information. Sure, it's possible.
>
> I'm not sure precisely what you mean here.  Do you predict the
> mechanism will be complicated?  It's been a burning itch of mine for a
> little while now.  I do not know exactly how windowing functions look
> in Query values just yet, although I'm very familiar with older
> structures there.

I believe the changes will probably not be 2-3 lines (ie. a member
added to Query structure, etc) if I try it. But the optimizer part is
too complicated to me so that I am not sure, either. My idea above is
that the similar mechanism you see in GROUP BY optimization will help
you and the issue is not so particular about window functions.

Regards,


--
Hitoshi Harada


pgsql-hackers by date:

Previous
From: Daniel Farina
Date:
Subject: Re: Windowing Qual Pushdown
Next
From: Pavel Stehule
Date:
Subject: Re: WIP: preloading of ispell dictionary