Re: Windowing Qual Pushdown

From: Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>
To: Daniel Farina <drfarina(at)acm(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Windowing Qual Pushdown
Date: 2010-03-23 07:40:12
Message-ID: e08cc0401003230040u5ad1f182t9ab2b7c5788cacb8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2010/3/23 Daniel Farina <drfarina(at)acm(dot)org>:
> On Tue, Mar 23, 2010 at 12:19 AM, Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2010-03-23 07:42:40 Re: WIP: preloading of ispell dictionary
Previous Message Daniel Farina 2010-03-23 07:22:10 Re: Windowing Qual Pushdown