Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 4332E632ADA for ; Sun, 8 Aug 2010 10:40:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 69703-09 for ; Sun, 8 Aug 2010 13:40:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qw0-f46.google.com (mail-qw0-f46.google.com [209.85.216.46]) by mail.postgresql.org (Postfix) with ESMTP id B51036327CF for ; Sun, 8 Aug 2010 10:40:09 -0300 (ADT) Received: by qwh6 with SMTP id 6so6429444qwh.19 for ; Sun, 08 Aug 2010 06:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=hYDQMWbYU8BSBxOI9f6rIRqxFGcIgitOri1jTyXPYWU=; b=ihmFPGImmEm7afC9xUIE1XKRz26waJrRVifogcA5qN0IgkmPvbpVyXkssa0rmm2msL oEtWcU1SZA1WzpLVT5yHl0Rwub2Ocks/0JsCLCxocMno/23AKaX7jAVD6oG8shBKvIqR SGlC0pFCJ+BMjOlqVus8nECyHnHgauB9Nowj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GOfePyUpNMmzGuDx25gZR/phrtueyYfuMqD42M0AAGQ3HOuuMUsNZ60CZgGOZxSxjC zaRS8P/TyM0qXMwCsuiXN2yZ8P6m9+/ZLcQSMHDv+uQFIaKBao5GC+tk3IJQv2MpI6Ub vv6XvzR1WVMeEU0lmc2Nma5ipODqwH50/seBU= MIME-Version: 1.0 Received: by 10.220.88.152 with SMTP id a24mr9064913vcm.269.1281274807914; Sun, 08 Aug 2010 06:40:07 -0700 (PDT) Received: by 10.220.70.193 with HTTP; Sun, 8 Aug 2010 06:40:07 -0700 (PDT) In-Reply-To: <4C5E25FC.9080303@postnewspapers.com.au> References: <4C5E25FC.9080303@postnewspapers.com.au> Date: Sun, 8 Aug 2010 15:40:07 +0200 Message-ID: Subject: Re: Using SKYLINE command on PostgreSQL From: Yeb Havinga To: Craig Ringer Cc: LaboRecherche , pgsql-sql@postgresql.org Content-Type: multipart/alternative; boundary=00163628528cc912d0048d50095e X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-5 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201008/40 X-Sequence-Number: 34480 --00163628528cc912d0048d50095e Content-Type: text/plain; charset=ISO-8859-1 On Sun, Aug 8, 2010 at 5:35 AM, Craig Ringer wrote: > > The masters thesis page does contain a patch against PostgreSQL 8.3: > http://skyline.dbai.tuwien.ac.at/ > That page has a nice web page and examples where queries can be run. 'The skyline operator' is described in http://www.dbis.ethz.ch/research/publications/38.pdf. It reminds me a bit of the staircase join operator, something on my personal wish list for postgres as well (latest patch seems to have got lost on the internet). > > They say they're porting the patch to 8.4devel, but I suspect that since > 8.4 has been out for ages and 9.0 is almost released, they've probably > lost interest and dropped the work. > I looked a bit in the latest patch. There's a lot of FIXME's and TODO's in it. It adds at least one plan node, so it's probably hard to rewrite into contrib form. That'll probably make it harder to get accepted for mainline postgres, also because the skyline queries can be translated into 'normal' sql (referenced pdf, section 3.1), though the authors claim the performance using skyline is better. Since 8.3 CTE's have been introduced and maybe that makes writing these kinds of queries easier. Also the knngist ordering of 'interesting points' might be a solution for problems in the same ballpark. regards, Yeb Havinga --00163628528cc912d0048d50095e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Sun, Aug 8, 2010 at 5:35 AM, Craig Ringer <craig@pos= tnewspapers.com.au> wrote:

The masters thesis page does contain a patch against PostgreSQL 8.3:
=A0http://= skyline.dbai.tuwien.ac.at/

That page has a nic= e web page and examples where queries can be run. 'The skyline operator= ' is described in http://www.dbis.ethz.ch/research/publications/38.pdf. It re= minds me a bit of the staircase join operator, something on my personal wis= h list for postgres as well (latest patch seems to have got lost on the int= ernet).

They say they're porting the patch to 8.4devel, but I suspect that sinc= e
8.4 has been out for ages and 9.0 is almost released, they've probably<= br> lost interest and dropped the work.

I looked a bit= in the latest patch. There's a lot of FIXME's and TODO's in it= . It adds at least one plan node, so it's probably hard to rewrite into= contrib form. That'll probably make it harder to get accepted for main= line postgres, also because the skyline queries can be translated into '= ;normal' sql (referenced pdf, section 3.1), though the authors claim th= e performance using skyline is better. Since 8.3 CTE's have been introd= uced and maybe that makes writing these kinds of queries easier. Also the k= nngist ordering of 'interesting points' might be a solution for pro= blems in the same ballpark.

regards,
Yeb Havinga

--00163628528cc912d0048d50095e--