Skip to main navigation Skip to search Skip to main content

SAP: Improving continuous top-K queries over streaming data

  • Rui Zhu
  • , Bin Wang*
  • , Xiaochun Yang
  • , Baihua Zheng
  • , Guoren Wang
  • *Corresponding author for this work
  • Ministry of Education in China
  • Singapore Management University

Research output: Contribution to journalArticlepeer-review

Abstract

Continuous top-k query over streaming data is a fundamental problem in database. In this paper, we focus on the sliding window scenario, where a continuous top- k query returns the top- k objects within each query window on the data stream. Existing algorithms support this type of queries via incrementally maintaining a subset of objects in the window and try to retrieve the answer from this subset as much as possible whenever the window slides. However, since all the existing algorithms are sensitive to query parameters and data distribution, they all suffer from expensive incremental maintenance cost. In this paper, we propose a self-adaptive partition framework to support continuous top-k query. It partitions the window into sub-windows and only maintains a small number of candidates with highest scores in each sub-window. Based on this framework, we have developed several partition algorithms to cater for different object distributions and query parameters. To our best knowledge, it is the first algorithm that achieves logarithmic complexity w.r.t. k for incrementally maintaining the candidate set even in the worst case scenarios.

Original languageEnglish
Article number7839230
Pages (from-to)1310-1328
Number of pages19
JournalIEEE Transactions on Knowledge and Data Engineering
Volume29
Issue number6
DOIs
Publication statusPublished - 1 Jun 2017
Externally publishedYes

Keywords

  • Continuous top-k query
  • dynamic partition
  • sliding window
  • streaming data

Fingerprint

Dive into the research topics of 'SAP: Improving continuous top-K queries over streaming data'. Together they form a unique fingerprint.

Cite this