The paper presents an approach to recursive query optimization based upon the integration of partial evaluation and already existing rule transformation based, optimization methods such as Magic Set, Minimagic and Counting. The basic idea is to partially evaluate a logic program with respect to a query (goal), thus eliminating unnecessary intermediate (IDB) predicates and then further optimize the program, with respect to evaluation, by using one of the mentioned optimization methods. The advantage of the proposal is twofold: on one hand to give the user freedom of using all the power of a logical language to define the query program and, on the other, to keep efficiency into reasonable range.

Recursive query optimization and partial evaluation

Asirelli P;
1990

Abstract

The paper presents an approach to recursive query optimization based upon the integration of partial evaluation and already existing rule transformation based, optimization methods such as Magic Set, Minimagic and Counting. The basic idea is to partially evaluate a logic program with respect to a query (goal), thus eliminating unnecessary intermediate (IDB) predicates and then further optimize the program, with respect to evaluation, by using one of the mentioned optimization methods. The advantage of the proposal is twofold: on one hand to give the user freedom of using all the power of a logical language to define the query program and, on the other, to keep efficiency into reasonable range.
1990
Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" - ISTI
Logic programming
Partial evaluation
Deductive database
Recursive query optimization
File in questo prodotto:
File Dimensione Formato  
prod_453336-doc_171952.pdf

accesso aperto

Descrizione: Recursive query optimization and partial evaluation
Dimensione 1.35 MB
Formato Adobe PDF
1.35 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/396401
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact