Efficient temporal counting with bounded error

被引:2
|
作者
Tao, Yufei [1 ]
Xiao, Xiaokui [1 ]
机构
[1] Chinese Univ Hong Kong, Dept Comp Sci & Engn, Hong Kong, Hong Kong, Peoples R China
来源
VLDB JOURNAL | 2008年 / 17卷 / 05期
关键词
temporal database; aggregate search; approximate query processing;
D O I
10.1007/s00778-007-0066-x
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper studies aggregate search in transaction time databases. Specifically, each object in such a database can be modeled as a horizontal segment, whose y-projection is its search key, and its x-projection represents the period when the key was valid in history. Given a query timestamp q(t) and a key range (q) over right arrow (k), a count-query retrieves the number of objects that are alive at qt, and their keys fall in (q) over right arrow (k). We provide a method that accurately answers such queries, with error less than 1/epsilon + epsilon . N-alive(q(t)), where Nalive(qt) is the number of objects alive at time qt, and e is any constant in (0, 1]. Denoting the disk page size as B, and n = N/B, our technique requires O(n) space, processes any query in O(log(B) n) time, and supports each update in O(log(B) n) amortized I/Os. As demonstrated by extensive experiments, the proposed solutions guarantee query results with extremely high precision (median relative error below 5%), while consuming only a fraction of the space occupied by the existing approaches that promise precise results.
引用
收藏
页码:1271 / 1292
页数:22
相关论文
共 50 条