ACM Home Page
Please provide us with feedback. Feedback
Magic conditions
Full text PdfPdf (1.98 MB)
Source Symposium on Principles of Database Systems archive
Proceedings of the ninth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems table of contents
Nashville, Tennessee, United States
Pages: 314 - 330  
Year of Publication: 1990
ISBN:0-89791-352-3
Authors
Inderpal Singh Mumick  Stanford University
Sheldon J. Finkelstein  Tandem Computers and IBM Almaden Research Center
Hamid Pirahesh  IBM Almaden Research Center
Raghu Ramakrishnan  University of Wisconsin at Madison
Sponsors
SIGART: ACM Special Interest Group on Artificial Intelligence
SIGMOD: ACM Special Interest Group on Management of Data
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 17,   Citation Count: 27
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/298514.298584
What is a DOI?

ABSTRACT

Much recent work has focussed on the bottom-up evaluation of Datalog programs. One approach, called Magic-Sets, is based on rewriting a logic program so that bottom-up fixpoint evaluation of the program avoids generation of irrelevant facts ([BMSU86, BR87, Ram88]). It is widely believed that the principal application of the Magic-Sets technique is to restrict computation in recursive queries using equijoin predicates. We extend the Magic-Set transformation to use predicates other than equality (X > 10, for example). This Extended Magic-Set technique has practical utility in “real” relational databases, not only for recursive queries, but for non-recursive queries as well; in ([MFPR90]) we use the results in this paper and those in [MPR89] to define a magic-set transformation for relational databases supporting SQL and its extensions, going on to describe an implementation of magic in Starburst ([HFLP89]). We also give preliminary performance measurements. In extending Magic-Sets, we describe a natural generalization of the common class of bound (b) and free (ƒ) adornments. We also present a formalism to compare adornment classes.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
BKMR89
Isaac Balbin, David B. Kemp, Krishnamurthy Meenakshi, and Kotagiri Ramamohanarao. Propagating Constraints in Recursive Deductive Databases. In North American Conference on Logic Programming (NACLP), Cleveland, Ohio, October 16-20 1989.
BMSU86
BR87
HFLP89
 
HP88
Waqar Hasan and Hamid Pirahesh. Query Rewrite Optimization in Starburst. Research Report, RJ 6337 (62349), IBM Research Division, Computer Science, Almaden Research Center, San Jose, California 95120- 6099, August 4 1988.
 
ISO88
ISO_ANSI. Working Draft; Database Language SQL2. 1988.
 
MPR89
Inderpal Singh Mumick, Hamid Pirahesh, and Raghu Ramakrishnan. Duplicates and Aggregates in Datalog. Research Report, IBM Reseaxch Division, Computer Science, Almaden Research Center, San Jose, California 95120-6099, December 1989.
MFPR90
Mor88
 
Ram88
Raghu Ramakrishnan. Magic Templates: A Spellbinding Approach to Logic Programs. In Robert A. Kowalski and Keneth A. Bowen, editors, Logic Programming: Proceedings of the Fifth International Conference and Symposium, Seattle, Vol 1, pages 140-159, MIT Press, Cambridge, MA, August 1988.
 
Ull88

CITED BY  27

Collaborative Colleagues:
Inderpal Singh Mumick: colleagues
Sheldon J. Finkelstein: colleagues
Hamid Pirahesh: colleagues
Raghu Ramakrishnan: colleagues