Re: PostgreSQL - 'SKYLINE OF' clause added!

From: Gavin Sherry <swm(at)alcove(dot)com(dot)au>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, Chris Browne <cbbrowne(at)acm(dot)org>
Subject: Re: PostgreSQL - 'SKYLINE OF' clause added!
Date: 2007-03-07 00:29:47
Message-ID: Pine.LNX.4.58.0703071122220.5520@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 6 Mar 2007, Alvaro Herrera wrote:

> Also, keep in mind that there were plenty of changes in the executor.
> This stuff is not likely to be very easy to implement efficiently using
> our extant executor machinery; note that Ranbeer mentioned
> implementation of "block nested loop" and other algorithms. Not sure
> how easy would be to fold that stuff into the optimizer for multi-input
> aggregates, instead of hardwiring it to the SKYLINE OF syntax.
>

Yes, there's been a lot of working on calculating skyline efficiently,
with different sorting techniques and so on. This is the most interesting
part of the idea. You could calculate the query Ranbeer gave using pure
SQL and, perhaps, use of some covariance aggregates or something already.
Of course, it gets harder when you want to calculate across many
dimensions.

Personally, I'd love to see some of these newer data analysis
capabilities added to PostgreSQL -- or at least put out there as
interesting patches.

Thanks,

Gavin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2007-03-07 00:38:44 Re: Bug: Buffer cache is not scan resistant
Previous Message Jeff Davis 2007-03-07 00:28:03 Re: Bug: Buffer cache is not scan resistant