mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-07-27 21:29:09 +02:00
15 lines
539 B
TeX
15 lines
539 B
TeX
\subsubsection{Conclusion}
|
|
We can use all algorithms for equality joins (equi-joins), but if we have equalities over multiple attributes, then:
|
|
\begin{itemize}
|
|
\item PNL, BNL: work the same
|
|
\item INL, BINL: build indexes on one, or all attributes of the equality conditions
|
|
\item SMJ, HJ: Sort or hash on the combination of the attributes
|
|
\end{itemize}
|
|
|
|
For inequality joins:
|
|
\begin{itemize}
|
|
\item PNL, BNL: work the same
|
|
\item INL, BINL: need clustered B+ tree index
|
|
\item SMJ, HJ: don't work at all
|
|
\end{itemize}
|