Skip to main navigation Skip to search Skip to main content

The hardness of resilience for nested aggregation query

  • Dongjing Miao
  • , Jiguo Yu*
  • , Zhipeng Cai
  • *Corresponding author for this work
  • School of Computer Science and Technology, Harbin Institute of Technology
  • Qilu University of Technology
  • Qufu Normal University
  • Georgia State University

Research output: Contribution to journalArticlepeer-review

Abstract

Resilience problem is defined on a database d, given a boolean query q where q(d) is initially true, and an integer k, it is to find the tuple set d of smallest size such that the query result q(d∖d) becomes false. As a potential explanation of a specified query, resilience plays a fundamental and important role in query explanation, database debugging and error tracing. Complexity results of resilience decision on relational algebraic queries have been studied previously. In this paper, we investigate the resilience decision problem on aggregation queries. New results on the hardness are provided. We show that, this problem is polynomially intractable on nested COUNT and SUM query both under data complexity and parametric complexity, and even it is NP-hard to approximate it within a constant ratio under the active domain constraint.

Original languageEnglish
Pages (from-to)152-159
Number of pages8
JournalTheoretical Computer Science
Volume803
DOIs
StatePublished - 10 Jan 2020
Externally publishedYes

Keywords

  • Aggregation
  • Complexity
  • Database
  • Resilience

Fingerprint

Dive into the research topics of 'The hardness of resilience for nested aggregation query'. Together they form a unique fingerprint.

Cite this