On the Expected Size of Recursive Datalog Queries
Summary: Asymptotically exact formulas for expected fixpoint sizes of two Datalog recursions (same-generation, canonical factorable) and of their Magic Sets/Factoring rewrites under selection queries. Finds recursive relations near worst-case even on sparse bases; Magic Sets yields sizes within a small constant of no-rewrite, while Factoring (when applicable) yields much smaller relations—analytic formulas closely match experiments. (summarized by gpt-5-mini on Feb 09 2026)
Incoming Non-self Citations Over Time
Authors
Incoming Citations (Sorted by Pagerank)
Showing 2 of 2 citing papers.
| Rank | Citing Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 6,254 | Queries are easier than you thought (probably) | 1992 | PODS | 5.1318451e-05 |
| 10,415 | Dynamic Pruning for Recursive Joins | 2025 | SIGMOD | 4.1905499e-05 |
Previous
Page 1 / 1
Next
Outgoing Citations (Sorted by Pagerank)
Showing 6 of 6 cited papers.
Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.
| Rank | Cited Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 16 | MAGIC SETS AND OTHER STRANGE WAYS TO IMPLEMENT LOGIC PROGRAMS (Extended Abstract) | 1986 | PODS | 0.00099936325 |
| 359 | On the Power of Magic | 1987 | PODS | 0.00025830228 |
| 1,636 | Bounds on the Propagation of Selection into Logic Programs | 1987 | PODS | 0.00011058643 |
| 4,440 | Magic Counting Methods | 1987 | SIGMOD | 6.180671e-05 |
| 5,347 | Worst-case Complexity Analysis of Methods for Logic Query Implementation | 1987 | PODS | 5.555803e-05 |
| 9,128 | Counting Methods for Cyclic Relations | 1988 | PODS | 4.3866751e-05 |
Previous
Page 1 / 1
Next
Semantically Similar Papers
| Overall Rank | Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 4,179 | Argument Reduction by Factoring | 1989 | VLDB | 6.3751001e-05 |
| 897 | Estimating the Size of Generalized Transitive Closures | 1989 | VLDB | 0.00015484372 |
| 299 | On the Implementation of a Simple Class of Logic Queries for Databases | 1986 | PODS | 0.00028555103 |
| 6,253 | More Efficient Datalog Queries: Subsumptive Tabling Beats Magic Sets | 2011 | SIGMOD | 5.1318715e-05 |
| 4,440 | Magic Counting Methods | 1987 | SIGMOD | 6.180671e-05 |
| 432 | On the Complexity of Database Queries (Extended Abstract) | 1997 | PODS | 0.00023349408 |
| 12,914 | Structural Query Optimization — A Uniform Framework For Semantic Query Optimization In Deductive Databases | 1991 | PODS | 4.1905499e-05 |
| 2,048 | Efficient Evaluation of Right-, Left-, and Multi-Linear Rules | 1989 | SIGMOD | 9.689916e-05 |
| 9,833 | Magic Functions : A Technique To Optimize Extended Datalog Recursive Programs | 1987 | VLDB | 4.2710095e-05 |
| 6,234 | Inherent Complexity of Recursive Queries (Extended Abstract) | 1999 | PODS | 5.1387584e-05 |