mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-09-10 19:15:25 +02:00
[DMDB] Learnings from practice exams, plus some more tips and tricks
This commit is contained in:
@@ -15,3 +15,5 @@
|
||||
|
||||
The cost here is \cost{$P_R + P_R \cdot P_S$ I/Os}, where $P_X$ is the number of pages in the relation $X$.
|
||||
Furthermore, the DBMS should put the smaller relation on the outer loop to improve performance.
|
||||
|
||||
For multiple joins, we want to start with the smallest table (on the inside) and move up to larger ones, processing the largest one \textit{last} (such that it is the outer loop)
|
||||
|
||||
Reference in New Issue
Block a user