[Paper Review] Querying Visible and Invisible Tables in the Presence of Integrity Constraints.
This paper investigates query containment and inference in relational databases where some tables are visible (with known data) and others are invisible (unknown), under integrity constraints. It classifies the complexity of determining whether positive or negative query answers can be inferred from visible data and constraints, revealing a sharp divide between decidable and undecidable cases at the schema level.
We provide a wide-ranging study of the scenario where a subset of the tables in a relational schema are visible to a user (that is, their complete contents are known) while the remaining tables are invisible. The schema also has a set of integrity constraints, which may relate the visible tables to invisible ones but also may constrain both the visible and invisible instances. We want to determine whether information about a user query can be inferred using only the visible information and the constraints. We consider whether positive information about the query can be inferred, and also whether negative information (the query does not hold) can be inferred. We further consider both the instance-level version of the problem (the visible table extensions are given) and the schema-level version, where we want to know whether information can be leaked in some instance of the schema. Our instance-level results classify the complexity of these problems, both as a function of all inputs, and in the size of the instance alone. Our schema-level results exhibit an unusual dividing line between decidable and undecidable cases.
Motivation & Objective
- To determine whether query answers (positive or negative) can be inferred solely from visible table contents and integrity constraints.
- To analyze both instance-level and schema-level versions of the query inference problem.
- To classify the computational complexity of query inference as a function of input size and constraint structure.
- To identify the boundary between decidable and undecidable cases in the schema-level formulation.
Proposed method
- Models the problem using relational schemas with visible and invisible tables, along with integrity constraints linking them.
- Applies formal query containment techniques to assess whether a query's result can be deduced from visible data and constraints.
- Analyzes complexity in two settings: instance-level (given specific visible table extensions) and schema-level (over all possible instances of the schema).
- Uses logical and computational complexity theory to classify the problem's tractability, distinguishing between PTIME, NP, and undecidable cases.
- Identifies structural properties of constraints that determine decidability in the schema-level setting.
- Employs reductions and constructions to prove undecidability in certain schema-level configurations.
Experimental results
Research questions
- RQ1Can positive query answers be inferred from visible data and integrity constraints?
- RQ2Can negative query answers (i.e., that a query does not hold) be inferred under the same conditions?
- RQ3What is the computational complexity of query inference when only visible table instances are given?
- RQ4Is the schema-level query inference problem decidable, and if not, what structural features cause undecidability?
- RQ5What conditions on integrity constraints lead to a sharp divide between decidable and undecidable schema-level inference?
Key findings
- The instance-level problem exhibits a range of complexity: from PTIME to NP-complete, depending on the query and constraint structure.
- For some configurations, even positive query answers cannot be inferred efficiently, indicating inherent computational hardness.
- The schema-level problem shows a sharp dividing line: certain constraint patterns lead to undecidability, while others remain decidable.
- Undecidability arises from complex interactions between constraints and the potential for infinite data in invisible tables.
- The paper identifies structural conditions on constraints that determine whether schema-level inference is decidable.
- The results reveal that the presence of self-referential or recursive constraints can trigger undecidability in schema-level query inference.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.