Cost-Based Optimization for Magic: Algebra and Implementation
Summary: Cost-based optimization treats magic sets rewriting as a join-like method, with cost formulas to select the best variant and a bounded search space; implemented in IBM DB2 V2 with practical performance gains. An algebraic model extends multiset relational algebra with a multiset theta-semi-join operator, defining search space and equivalence rules to enable a rule-based optimizer for non-recursive SQL. (summarized by gpt-5-nano on Feb 09 2026)
Incoming Non-self Citations Over Time
Authors
Incoming Citations (Sorted by Pagerank)
Showing 31 of 31 citing papers.
Previous
Page 1 / 1
Next
Outgoing Citations (Sorted by Pagerank)
Showing 9 of 9 cited papers.
Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.
| Rank | Cited Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 1 | Access Path Selection in a Relational Database Management System | 1979 | SIGMOD | 0.0040449103 |
| 16 | MAGIC SETS AND OTHER STRANGE WAYS TO IMPLEMENT LOGIC PROGRAMS (Extended Abstract) | 1986 | PODS | 0.0010066783 |
| 143 | Optimization of Nonrecursive Queries | 1986 | VLDB | 0.00041510555 |
| 438 | Query Optimization for Parallel Execution | 1992 | SIGMOD | 0.00023199245 |
| 837 | An Extended Relational Algebra with Control Over Duplicate Elimination | 1982 | PODS | 0.00016097758 |
| 876 | Parametric Query Optimization | 1992 | VLDB | 0.00015716096 |
| 1,423 | Magic is Relevant | 1990 | SIGMOD | 0.00012054867 |
| 4,199 | Implementation of Magic-sets in a Relational Database System | 1994 | SIGMOD | 6.3662839e-05 |
| 8,010 | Compiling Query Constraints | 1994 | PODS | 4.6065603e-05 |
Previous
Page 1 / 1
Next
Semantically Similar Papers
| Overall Rank | Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 594 | A Rule-Based View of Query Optimization | 1987 | SIGMOD | 0.00019534507 |
| 143 | Optimization of Nonrecursive Queries | 1986 | VLDB | 0.00041510555 |
| 3,283 | Magic Conditions | 1990 | PODS | 7.280826e-05 |
| 2,042 | Efficient Evaluation of Right-, Left-, and Multi-Linear Rules | 1989 | SIGMOD | 9.699257e-05 |
| 445 | The Magic of Duplicates and Aggregates | 1990 | VLDB | 0.0002294367 |
| 16 | MAGIC SETS AND OTHER STRANGE WAYS TO IMPLEMENT LOGIC PROGRAMS (Extended Abstract) | 1986 | PODS | 0.0010066783 |
| 6,957 | Adding Magic to an Optimising Datalog Compiler | 2008 | SIGMOD | 4.8859842e-05 |
| 7,075 | Magic-sets Transformation in Nonrecursive Systems | 1992 | PODS | 4.842703e-05 |
| 4,199 | Implementation of Magic-sets in a Relational Database System | 1994 | SIGMOD | 6.3662839e-05 |
| 1,423 | Magic is Relevant | 1990 | SIGMOD | 0.00012054867 |