Content deleted Content added
Siddharthist (talk | contribs) ←Created page with '{{Userspace draft|source=ArticleWizard|date={{Subst:CURRENTMONTHNAME}} {{Subst:CURRENTYEAR}}}} {{Subst:Nul| ← do not change this line, it will set the date automatically}} A '''worst-case optimal join algorithm''' is an algorithm for computing relational joins with a runtime that is bounded by the worst-case output size of the join. Traditional ''binary join'' algorithms such as hash join operate over two...' |
m Open access bot: arxiv updated in citation with #oabot. |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 1:
{{Short description|Algorithm for computing relational joins}}
[[Image:Comparison of join algorithms.png|thumb|An illustration of properties of join algorithms. When performing a join between more than two relations on more than two attributes, binary join algorithms such as [[hash join]] operate over two relations at a time, and join them on all attributes in the join condition; worst-case optimal algorithms such as generic join operate on a single attribute at a time but join all the relations on this attribute.<ref>{{Cite arXiv |last1=Wang |first1=Yisu Remy |last2=Willsey |first2=Max |last3=Suciu |first3=Dan |date=2023-01-27 |title=Free Join: Unifying Worst-Case Optimal and Traditional Joins |class=cs.DB |eprint=2301.10841 }}</ref>]]
A '''worst-case optimal join algorithm''' is an [[algorithm]] for computing [[Join (SQL)|relational joins]] with a runtime that is bounded by the [[Worst-case complexity|worst-case]] output size of the join. Traditional ''binary join'' algorithms such as [[hash join]] operate over two relations at a time; joins between more than two relations are implemented by repeatedly applying binary joins. Worst-case optimal join algorithms are asymptotically faster in worst case than any join algorithm based on such iterated binary joins.
The first worst-case optimal join algorithm, ''generic join'', was published in 2012.<ref>{{Cite
== References ==
Line 9 ⟶ 10:
{{Reflist}}
=== Sources ===
*{{Cite journal |
*{{Cite journal |last1=Ngo |first1=Hung Q |last2=Ré |first2=Christopher |last3=Rudra |first3=Atri |date=2014-02-28 |title=Skew strikes back: new developments in the theory of join algorithms |url=https://doi.org/10.1145/2590989.2590991 |journal=ACM SIGMOD Record |volume=42 |issue=4 |pages=5–16 |doi=10.1145/2590989.2590991 |s2cid=6384477 |issn=0163-5808|url-access=subscription }}
== External links ==
|