外部存储器中线性空间的最佳平面范围天际线报告
Optimal Planar Range Skyline Reporting with Linear Space in External Memory
摘要:
设P是R^2中的n个点的集合。给定一个矩形Q = [α_1,α_2] x [β_1,β_2],范围天际线查询返回P \cap Q中点的最大值。一个重要的变体是所谓的顶开查询,其中Q是一个3边矩形,其上边缘以y = \infty为基础(即β_2 = \infty)。这些查询在许多数据库应用程序中至关重要。在内部存储器中,广泛的研究致力于设计能够有效地回答这样的查询的数据结构。相比之下,目前还没有明确的了解他们的确切复杂性,在外部存储器。本文提出了几种线性大小的结构,以最佳的I/O成本回答上述查询。我们证明了一个top-open查询可以在O(log_B(n)+ k/B)I/O中解决,其中B是块大小,k是查询结果中的点数。当数据点位于一个U × U网格中,且U ≥ n时,查询代价为O(log log_B(U)+ k/B),当U = O(n)时,查询代价为O(1 + k/B).同样的效率也适用于3边查询,其中Q是右开矩形。然而,如果Q是一个左开或下开的3边矩形,问题的难度会增加。我们证明了在最坏的情况下,任何线性大小的结构必须执行Ω((n/B)^ \eps + k/B)I/O来解决这样的查询,其中\eps > 0可以是任意小的常数。事实上,左开和右开查询和一般(4边)查询一样困难,我们给出了一个线性大小的结构,查询时间为O((n/B)^ \eps + k/B)。有趣的是,这表明4侧范围天际线查询与4侧范围报告具有完全相同的难度(其中目标是简单地报告整个P \cap Q)。也就是说,天际线的要求根本不会改变问题的难度。
英文摘要:
Let P be a set of n points in R^2. Given a rectangle Q = [α_1, α_2] x [β_1, β_2], a range skyline query returns the maxima of the points in P \cap Q. An important variant is the so-called top-open queries, where Q is a 3-sided rectangle whose upper edge is grounded at y = \infty (that is, β_2 = \infty). These queries are crucial in numerous database applications. In internal memory, extensive research has been devoted to designing data structures that can answer such queries efficiently. In contrast, currently there is no clear understanding about their exact complexities in external memory. This paper presents several structures of linear size for answering the above queries with the optimal I/O cost. We show that a top-open query can be solved in O(log_B(n) + k/B) I/Os, where B is the block size and k is the number of points in the query result. The query cost can be made O(log log_B(U) + k/B) when the data points lie in a U x U grid for some integer U >= n, and further lowered to O(1 + k/B) if U = O(n). The same efficiency also applies to 3-sided queries where Q is a right-open rectangle. However, the hardness of the problem increases if Q is a left- or bottom-open 3-sided rectangle. We prove that any linear-size structure must perform Ω((n/B)^\eps + k/B) I/Os to solve such a query in the worst case, where \eps > 0 can be an arbitrarily small constant. In fact, left- and right-open queries are just as difficult as general (4-sided) queries, for which we give a linear-size structure with query time O((n/B)^\eps + k/B). Interestingly, this indicates that 4-sided range skyline queries have exactly the same hardness as 4-sided range reporting (where the goal is to report simply the whole P \cap Q). That is, the skyline requirement does not alter the problem difficulty at all.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。