Magic is relevant
Inderpal Singh Mumick, Sheldon J. Finkelstein, Hamid Pirahesh et al. · Proceedings - ACM-SIGMOD International Conference on Management of Data · 1990
We define the magic-sets transformation for traditional relational systems (with duplicates, aggregation and grouping), as well as for relational systems extended with recursion. We compare the magic-sets rewriting to traditional optimization techniques for nonrecursive queries, and use performance experiments to argue that the magic-sets transformation is often a better optimization technique.
Cited by 112 works. doi:10.1145/93597.98734 Open-access PDF
Authors
References
- System R
- Access path selection in a relational database management system
- Introduction to a system for distributed databases (SDD-1)
- On optimizing an SQL-like nested query
- An amateur's introduction to recursive query processing strategies
- On compiling queries in recursive first-order databases
- Using Semi-Joins to Solve Relational Queries
- Magic sets and other strange ways to implement logic programs (extended abstract)
- Of Nests and Trees: A Unified Approach to Processing Queries That Contain Nested Subqueries, Aggregates, and Quantifiers
- Grammar-like functional rules for representing query optimization alternatives