To access the full text documents, please follow this link: http://hdl.handle.net/2117/86232

Computing explanations for unlively queries in databases
Rull, Guillem; Farré Tost, Carles; Teniente López, Ernest; Urpí Tubella, Antoni
Universitat Politècnica de Catalunya. Departament de Llenguatges i Sistemes Informàtics
A query is lively in a database schema if it returns a non-empty answer for some database satisfying the schema. Debugging a database schema requires not only determining queries (as well as views or tables) that are not lively, but also fixing them. To make that task easier it is required to provide the designer with some explanation of why a query is not lively. To the best of our knowledge, the existing methods for liveliness checking in databases do not provide such explanations. An explanation is understood as the minimal set of constraints that are responsible for the non-liveliness of the tested query. In this paper we propose a method for computing such explanations which is independent of the particular method used to determine liveliness of a given query. Our method provides three levels of search: one explanation, a maximal set of non-overlapping explanations, and all explanations. The first two levels require only a linear number of callings to the underlying method. In addition, we propose a filter to reduce the number of callings to the underlying liveliness method. We also experimentally compare our method with a more naive method for query liveliness and with the best known method for finding unsatisfiable subsets of constraints.
-Àrees temàtiques de la UPC::Informàtica::Sistemes d'informació
-Database schema validation
-Existing methods
-Query liveliness
Article - Published version
Report
         

Show full item record

Related documents

Other documents of the same author

Rull, Guillem; Farré Tost, Carles; Teniente López, Ernest; Urpí Tubella, Antoni
Rull, Guillem; Farré Tost, Carles; Urpí Tubella, Antoni
Farré Tost, Carles; Teniente López, Ernest; Urpí Tubella, Antoni
Teniente López, Ernest; Farré Tost, Carles; Urpí Tubella, Antoni
Rull Fort, Guillem; Farré Tost, Carles; Queralt Calafat, Anna; Teniente López, Ernest; Urpí Tubella, Antoni
 

Coordination

 

Supporters