English

Fully Dynamic Data Structure for Top-k Queries on Uncertain Data

Databases 2010-07-30 v1 Data Structures and Algorithms

Abstract

Top-kk queries allow end-users to focus on the most important (top-kk) answers amongst those which satisfy the query. In traditional databases, a user defined score function assigns a score value to each tuple and a top-kk query returns kk tuples with the highest score. In uncertain database, top-kk answer depends not only on the scores but also on the membership probabilities of tuples. Several top-kk definitions covering different aspects of score-probability interplay have been proposed in recent past~\cite{R10,R4,R2,R8}. Most of the existing work in this research field is focused on developing efficient algorithms for answering top-kk queries on static uncertain data. Any change (insertion, deletion of a tuple or change in membership probability, score of a tuple) in underlying data forces re-computation of query answers. Such re-computations are not practical considering the dynamic nature of data in many applications. In this paper, we propose a fully dynamic data structure that uses ranking function PRFe(α)PRF^e(\alpha) proposed by Li et al.~\cite{R8} under the generally adopted model of xx-relations~\cite{R11}. PRFePRF^e can effectively approximate various other top-kk definitions on uncertain data based on the value of parameter α\alpha. An xx-relation consists of a number of xx-tuples, where xx-tuple is a set of mutually exclusive tuples (up to a constant number) called alternatives. Each xx-tuple in a relation randomly instantiates into one tuple from its alternatives. For an uncertain relation with NN tuples, our structure can answer top-kk queries in O(klogN)O(k\log N) time, handles an update in O(logN)O(\log N) time and takes O(N)O(N) space. Finally, we evaluate practical efficiency of our structure on both synthetic and real data.

Keywords

Cite

@article{arxiv.1007.5110,
  title  = {Fully Dynamic Data Structure for Top-k Queries on Uncertain Data},
  author = {Manish Patil and Rahul Shah and Sharma V. Thankachan},
  journal= {arXiv preprint arXiv:1007.5110},
  year   = {2010}
}
R2 v1 2026-06-21T15:54:27.248Z