Abstract
Skyline queries are essential for multi-criteria decision-making, identifying points in a dataset that are not dominated by any other. However, traditional algorithms are often "blocking," requiring extensive processing before returning any results. This paper introduces two novel progressive algorithms—Bitmap and Index—designed to return skyline points to the user almost immediately, significantly improving the user experience in large-scale database systems.
Introduction
In database systems, a skyline query retrieves all points that are not "dominated" by any other point. A point dominates another if it is as good or better in all dimensions and strictly better in at least one. For instance, in a hotel search based on price and proximity, a hotel that is both cheaper and closer to the beach dominates one that is more expensive and further away.
The primary challenge with existing methods like Block Nested Loops (BNL) or Divide-and-Conquer (DC) is their blocking nature; they often need to process the entire dataset before returning the first result. In modern applications, users prefer "satisficing" answers quickly. This paper addresses this need through non-blocking, progressive computation.
Methodology
The authors propose two distinct approaches to achieve progressive results:
1. Bitmap-based Algorithm
This method utilizes bit-slices to represent data. For each dimension, a bit-vector is created where a bit is set if a point's value meets a specific threshold. By leveraging hardware-accelerated bitwise AND and OR operations, the system can determine dominance without a full database scan. This approach is entirely non-blocking and highly efficient for datasets with low cardinality (few distinct values).
2. Index-based Algorithm
This approach transforms multi-dimensional points into a single-dimensional space using a specific transformation function ($y = d_{max} + x_{max}$). These transformed points are stored in a standard B+-tree. By processing points in an order that prioritizes those most likely to be in the skyline, the algorithm can prune large sections of the search space and return results in rapid "bursts."
Experimental Evaluation
The algorithms were evaluated using synthetic datasets (100,000 tuples, 2-10 dimensions) representing three distributions:
- Independent: Randomly generated attribute values.
- Correlated: Points good in one dimension tend to be good in others.
- Anti-correlated: Points good in one dimension are likely poor in others, creating the largest and most complex skylines.
Key Results and Insights
The experimental results demonstrate that the Index method is generally the most robust, providing the fastest initial response times across most scenarios.
- Efficiency: The Index method outperformed traditional BNL and DC methods, especially in high-dimensional and anti-correlated datasets.
- Cardinality Impact: The Bitmap method is exceptionally fast when the number of distinct values is small but scales poorly as data becomes more continuous.
- Memory Robustness: Unlike DC, which struggles when data exceeds main memory, the Index method remains efficient even with small buffer sizes due to its reliance on standard B+-tree structures.
Conclusion
By shifting the focus from total execution time to initial response time, the Bitmap and Index algorithms provide a more interactive experience for skyline queries. While the Bitmap approach excels in low-cardinality environments, the Index approach offers a versatile and high-performance solution for general-purpose progressive skyline computation.
Summary updated