This is a web frontend to PostgreSQL 8.3.5 with our implementation of the skyline operator (SQL SKYLINE OF-clause) [Borzsonyi2001].
SQL Query:You may wish to consult the [PostgreSQL 8.3.5 Documentation].
TODO: describe extended query syntax
SELECT * FROM nba.players SKYLINE OF (h_feet * 12 + h_inches) MAX NULLS LAST, weight MAX NULLS LAST; SELECT * FROM boot SKYLINE OF personen MAX, tiefgang MIN; SELECT b.*, sb.segelflaeche FROM boot b JOIN sportboot sb ON (b.id = sb.id) SKYLINE OF b.personen MAX, b.tiefgang MIN, sb.segelflaeche MAX; SELECT e.*, w.sumlaenge FROM ( SELECT mname, wname, wjahr, sum(punkte) as sumpunkte FROM erzielt GROUP BY mname, wname, wjahr ) as e JOIN ( SELECT name as wname, jahr as wjahr, sum(laenge) as sumlaenge FROM wettfahrt GROUP BY wname, wjahr ) as w ON (e.wname = w.wname AND e.wjahr = w.wjahr) SKYLINE OF sumpunkte MAX, sumlaenge MIN;
EXPLAIN ANALYZE SELECT * from rds3d('indep', 1000, 0)
SKYLINE OF d1 MIN, d2 MIN, d3 MIN
WITH BNL SLOTS=10;
EXPLAIN ANALYZE SELECT * from rds3d('indep', 1000, 0)
SKYLINE OF d1 MIN, d2 MIN, d3 MIN
WITH EF EFSLOTS=5 SFS;
random_dataset : "rds" dimension "d" "(" distribution_type "," rows "," seed ")"
dimension := "1" | "2" | ... | "20"
distribution_type := "'indep'" | "'corr'" | "'anti'"
rows := "0" | "1" | ...
seed := "0" | "1" | ...
Examples:
SELECT * from rds3d('anti', 100, 0) SKYLINE OF d1 MIN, d2 MIN, d3 MIN;
SELECT * from rds4d('corr', 100, 1) SKYLINE OF d1 MIN, d2 MIN, d3 MIN, d4 MIN;
Is there a dataset missing, that you'd like to query on? Let us know, and feel free to contact Hannes Eder.
The source code for our implementation is available as patch, which applies against PostgreSQL 8.3-stable (currently 8.3.6):
skyline-of-200903111.patch.tar.gz
WIP (Work In Progress): We are currently porting our implementation to 8.4-devel.
skyline-of-200811131.patch.tar.gz (applies only to PostgreSQL 8.3-stable as of 2008-11-13, which is outdated now; use a newer version from above)
The file skyline-of-200901261.patch.tar.gz is incomplete so it was taken offline.