[DMDB] Fix issues, improve query processing with notes on time complexities

This commit is contained in:
janishutz committed 2026-07-27 14:41:27 +02:00
1 parent d197d01f24
commit be2e079959
22 files changed
+142 -34

No files matched your search

@@ -1,6 +1,6 @@
Two terms important here are \textit{logical selection}, which describes \bi{what} we want to select and \textit{physical selection},
which describes \bi{how} the algorithm or procedure works that actually retrieves, or filters, the data.
The options include an \textit{file scan}, where we scan the entire file and thus the I/O cost is the number of pages in each relation.
The options include an \textit{file scan}, where we scan the entire file and thus the I/O cost is \cost{$N$}, where $N$ is the number of pages in each relation.
Alternatively, we can use \textit{index scan}, where we use an index to retrieve the matching rows.
The cost then of course depends on the index used and if said index can even be used to generate the resulsts needed. We will cover that in more detail now.