July 11 SSDBM'08
Caching Dynamic Skyline Queries
- D. Sacharidis1, P. Bouros1, T. Sellis1,2
1National Technical University of Athens 2Institute for Management of Information Systems – R.C. Athena
Caching Dynamic Skyline Queries D. Sacharidis 1 , P. Bouros 1 , T. - - PowerPoint PPT Presentation
Caching Dynamic Skyline Queries D. Sacharidis 1 , P. Bouros 1 , T. Sellis 1,2 1 National Technical University of Athens 2 Institute for Management of Information Systems R.C. Athena July 11 SSDBM'08 Outline Introduction Skyline (SL)
July 11 SSDBM'08
1National Technical University of Athens 2Institute for Management of Information Systems – R.C. Athena
July 11 SSDBM'08
July 11 SSDBM'08
July 11 SSDBM'08
Distance from sea Price
July 11 SSDBM'08
Distance from sea Price
Skyline points
July 11 SSDBM'08
Distance from sea Price
Skyline points p1
July 11 SSDBM'08
Distance from sea Price
Skyline points p1 p2
July 11 SSDBM'08
– Given a query point q – DSL contains points not dynamically dominated by
– x dynamically dominates y iff x as preferable as y w.r.t. q in all dimensions and strictly more preferable w.r.t. q in at least one
– Transform points w.r.t. q
July 11 SSDBM'08
– Given a query point q – DSL contains points not dynamically dominated by
– x dynamically dominates y iff x as preferable as y w.r.t. q in all dimensions and strictly more preferable w.r.t. q in at least one
– Transform points w.r.t. q
Distance from sea Price
Query point q
July 11 SSDBM'08
– Given a query point q – DSL contains points not dynamically dominated by
– x dynamically dominates y iff x as preferable as y w.r.t. q in all dimensions and strictly more preferable w.r.t. q in at least one
– Transform points w.r.t. q
Distance from sea Price
Dynamic Skyline points q
July 11 SSDBM'08
– Given a query point q – DSL contains points not dynamically dominated by
– x dynamically dominates y iff x as preferable as y w.r.t. q in all dimensions and strictly more preferable w.r.t. q in at least one
– Transform points w.r.t. q
Distance from sea Price
Dynamic Skyline points q p4 p5
July 11 SSDBM'08
July 11 SSDBM'08
Distance from sea Price
July 11 SSDBM'08
Distance from sea Price
qa qb
July 11 SSDBM'08
– p1 is contained DSL(qa) – p1 dominates p2, p3, p4
– Exclude p2, p3, p4 from dominance test for DSL(q)
Distance from sea Price
qa qb p1 p2 p3 p4 q
July 11 SSDBM'08
July 11 SSDBM'08
July 11 SSDBM'08
July 11 SSDBM'08
July 11 SSDBM'08
July 11 SSDBM'08
about dominance relationships than DSL
– Useful for pruning
dimensional points and a query point q
– Space partitioned in 2d
– o-th orthant skyline (OSL) of q contains points of the o-th
dominated by others inside
July 11 SSDBM'08
about dominance relationships than DSL
– Useful for pruning
dimensional points and a query point q
– Space partitioned in 2d
– o-th orthant skyline (OSL) of q contains points of the o-th
dominated by others inside
Quadrant 2
Distance from sea Price
Quadrant 0 Quadrant 3 Quadrant 1 Query point q
July 11 SSDBM'08
about dominance relationships than DSL
– Useful for pruning
dimensional points and a query point q
– Space partitioned in 2d
– o-th orthant skyline (OSL) of q contains points of the o-th
dominated by others inside
Quadrant 2
Distance from sea Price
Quadrant 0 Quadrant 3 Quadrant 1 Query point q
July 11 SSDBM'08
about dominance relationships than DSL
– Useful for pruning
dimensional points and a query point q
– Space partitioned in 2d
– o-th orthant skyline (OSL) of q contains points of the o-th
dominated by others inside
Quadrant 2
Distance from sea Price
Quadrant 0 Quadrant 3 Quadrant 1 Query point q Quadrant 2 skyline points
July 11 SSDBM'08
Quadrant 2
Distance from sea Price
Quadrant 0 Quadrant 3 Quadrant 1 q
July 11 SSDBM'08
Quadrant 2
Distance from sea Price
Quadrant 0 Quadrant 3 Quadrant 1 q
July 11 SSDBM'08
Quadrant 2
Distance from sea Price
Quadrant 0 Quadrant 3 Quadrant 1 q
July 11 SSDBM'08
Quadrant 2
Distance from sea Price
Quadrant 0 Quadrant 3 Quadrant 1 q
July 11 SSDBM'08
Quadrant 2
Distance from sea Price
Quadrant 0 Quadrant 3 Quadrant 1 q
July 11 SSDBM'08
Quadrant 2
Distance from sea Price
Quadrant 0 Quadrant 3 Quadrant 1 q p1 p2
July 11 SSDBM'08
Quadrant 2
Distance from sea Price
Quadrant 0 Quadrant 3 Quadrant 1 q p3 p2
July 11 SSDBM'08
July 11 SSDBM'08
– Query cache contains (query point qj, OSLs) – OSLs encode by bitmaps
– OSL contains information about dominance test inside orthant – Discard points inside orthants from dominance tests
– Compute bitmap representation – For each point p consider its position (orthant) w.r.t. to cache queries qj – If p in the same orthant o w.r.t qj as qj w.r.t. q and p not in OSLo (qj) then exclude it from OSLo(q), DSL(q)
July 11 SSDBM'08
July 11 SSDBM'08
– Consider as input the query point cache Q – Only query points in OSL of Q w.r.t. q are useful – Update cache - remove:
(LRU) query point
(LFU) query point
July 11 SSDBM'08
– Consider as input the query point cache Q – Only query points in OSL of Q w.r.t. q are useful – Update cache - remove:
(LRU) query point
(LFU) query point
Distance from sea Price
qa qb qc qd q
July 11 SSDBM'08
– Consider as input the query point cache Q – Only query points in OSL of Q w.r.t. q are useful – Update cache - remove:
(LRU) query point
(LFU) query point
Distance from sea Price
qa qb qc qd q Redundant queries
July 11 SSDBM'08
– Consider as input the query points in cache Q – Only query points in OSL of Q w.r.t. q are useful – Update cache - remove:
(LRU) query point
(LFU) query point
Distance from sea Price
qa qb qc qd q Redundant queries
July 11 SSDBM'08
– Consider as input the query points in cache Q – Only query points in OSL of Q w.r.t. q are useful – Update cache - remove:
(LRU) query point
(LFU) query point
Distance from sea Price
qa qb qc qd q Redundant queries
July 11 SSDBM'08
– Great pruning power
prune points of dataset from DSL computation
– Depends on
in an orthant j
antisymetric orthant of j
– Query point with less pruning power (LPP)
Distance from sea Price
qa q
July 11 SSDBM'08
– Great pruning power
prune points of dataset from DSL computation
– Depends on
in an orthant j
antisymetric orthant of j
– Query point with less pruning power (LPP)
Distance from sea Price
qa q 2:2 4 5:2 4 3:2 4 74:2 4
July 11 SSDBM'08
– Great pruning power
prune points of dataset from DSL computation
– Depends on
in an orthant j
antisymetric orthant of j
– Query point with less pruning power (LPP)
Distance from sea Price
qa q 2:3 4 5:7 4 3:4 4 74:88 4
July 11 SSDBM'08
– Great pruning power
prune points of dataset from DSL computation
– Depends on
in an orthant j
antisymetric orthant of j
– Query point with less pruning power (LPP)
Distance from sea Price
qa q 2:3 176 5:7 4 3:4 4 74:88 4
July 11 SSDBM'08
– Great pruning power
prune points of dataset from DSL computation
– Depends on
in an orthant j
antisymetric orthant of j
– Query point with less pruning power (LPP)
Distance from sea Price
qa q 2:3 176 5:7 20 3:4 21 74:88 222
July 11 SSDBM'08
– Great pruning power
prune points of dataset from DSL computation
– Depends on
in an orthant j
antisymetric orthant of j
– Query point with less pruning power (LPP)
Distance from sea Price
qa q 2:3 176 5:7 20 3:4 21 74:88 222
July 11 SSDBM'08
– Distribution types
– Number of points N
– Dimensionality
– Domain size for dimension
– Bitmap (NO-CACHE) – cDBM with LFU,LRU,LPP cache replacement policies – Query cache
July 11 SSDBM'08
domain size
Anti-correlated Independent
July 11 SSDBM'08
– d = 4 dimensions of |D| = 20 domain size
– N = 50k, |D| = 20 Correlated vary d Correlated vary N
July 11 SSDBM'08
July 11 SSDBM'08