Learning objectives
What you will be able to explain
- Which two locality types are highlighted as central for caching effectiveness?
- Which formula for cache-hit-ratio is shown in the storage lecture?
- What does the virtual-memory slide explicitly state?
- How are pages characterized in the data-layout lecture?
- In slotted pages, how is tupleID represented?
- What is a direct consequence of DSM/column layout mentioned in the slides?
Section 01
Which two locality types are highlighted as central for caching effectiveness? to What does the virtual-memory slide explicitly state?
01
Which two locality types are highlighted as central for caching effectiveness?
Source: 01_Storage.pdf, page 10
02
Which formula for cache-hit-ratio is shown in the storage lecture?
Source: 01_Storage.pdf, page 10
03
What does the virtual-memory slide explicitly state?
Source: 01_Storage.pdf, page 20
Section 02
How are pages characterized in the data-layout lecture? to What is a direct consequence of DSM/column layout mentioned in the slides?
01
How are pages characterized in the data-layout lecture?
Source: 02_Data_Layouts.pdf, page 10
02
In slotted pages, how is tupleID represented?
Source: 02_Data_Layouts.pdf, page 11
03
What is a direct consequence of DSM/column layout mentioned in the slides?
Source: 02_Data_Layouts.pdf, page 31
Section 03
Which NSM/DSM/PAX comparison is consistent with the table in the lecture? to How is CLOCK (Second Chance) characterized?
01
Which NSM/DSM/PAX comparison is consistent with the table in the lecture?
Source: 02_Data_Layouts.pdf, page 45
02
Which policy is based on recency according to the eviction-policy slide?
Source: 03_Caching.pdf, pages 20 and 22
03
How is CLOCK (Second Chance) characterized?
Source: 03_Caching.pdf, page 25
Section 04
During CLOCK eviction search, what happens when a page with bit=1 is encountered? to In indexing basics, when is an index usually most useful?
01
During CLOCK eviction search, what happens when a page with bit=1 is encountered?
Source: 03_Caching.pdf, page 26
02
What is the key idea behind prefetching pages in the caching lecture?
Source: 03_Caching.pdf, page 33
03
In indexing basics, when is an index usually most useful?
Source: 04_Indexing 1.pdf, page 8
Section 05
What is a dense index? to What is true for a secondary index in this lecture?
01
What is a dense index?
Source: 04_Indexing 1.pdf, pages 12 and 14
02
Which statement about sparse indexes is correct?
Source: 04_Indexing 1.pdf, pages 12 and 16
03
What is true for a secondary index in this lecture?
Source: 04_Indexing 1.pdf, page 23
Section 06
Which balancing property is stated for B-trees? to What can happen during B-tree insertion if there is no room?
01
Which balancing property is stated for B-trees?
Source: 05_Indexing 2.pdf, page 12
02
What design goal is emphasized for B-trees in DBMS?
Source: 05_Indexing 2.pdf, page 12
03
What can happen during B-tree insertion if there is no room?
Source: 05_Indexing 2.pdf, page 29
Section 07
Which deletion behavior is shown for B+-trees? to Which two collision-handling strategies are explicitly listed?
01
Which deletion behavior is shown for B+-trees?
Source: 05_Indexing 2.pdf, page 35
02
What is the range of hash function output h(K) in the lecture’s basic model?
Source: 06_Indexing 3_hash_tables.pdf, page 8
03
Which two collision-handling strategies are explicitly listed?
Source: 06_Indexing 3_hash_tables.pdf, page 9
Section 08
Why is dynamic resizing discussed for hash tables? to Which set is shown as kinds of multidimensional indexes?
01
Why is dynamic resizing discussed for hash tables?
Source: 06_Indexing 3_hash_tables.pdf, page 11
02
Which dynamic hash-table families are covered in the lecture?
Source: 06_Indexing 3_hash_tables.pdf, page 20
03
Which set is shown as kinds of multidimensional indexes?
Source: 07_1_Multidimensional Indexing.pdf, page 63
Section 09
How are bitmap indexes described conceptually? to How is point search explained for the grid file?
01
How are bitmap indexes described conceptually?
Source: 07_1_Multidimensional Indexing.pdf, page 92
02
What is the core construction idea of a grid file?
Source: 07_2_multidimensional indexing_pt2.pdf, page 2
03
How is point search explained for the grid file?
Source: 07_2_multidimensional indexing_pt2.pdf, page 3
Section 10
Which statement matches the kd-tree slide? to What is emphasized about logical vs. physical query operators?
01
Which statement matches the kd-tree slide?
Source: 07_2_multidimensional indexing_pt2.pdf, page 20
02
For an R-tree point query, what is required when regions overlap?
Source: 07_2_multidimensional indexing_pt2.pdf, page 40
03
What is emphasized about logical vs. physical query operators?
Source: 08_Query Execution.pdf, page 5
Section 11
Which dimensions of processing models are listed in the query-execution lecture? to What is the parser’s responsibility in query optimization?
01
Which dimensions of processing models are listed in the query-execution lecture?
Source: 08_Query Execution.pdf, page 10
02
How is morsel-driven parallelism described?
Source: 08_Query Execution.pdf, page 62
03
What is the parser’s responsibility in query optimization?
Source: 09_Query_Optimization.pdf, page 8
Section 12
Which is a preprocessing task (not parser-only)? to What assumption is called out as strong when combining conjunctive selectivities?
01
Which is a preprocessing task (not parser-only)?
Source: 09_Query_Optimization.pdf, page 11
02
How is output cardinality linked to selectivity in the lecture?
Source: 09_Query_Optimization.pdf, page 26
03
What assumption is called out as strong when combining conjunctive selectivities?
Source: 09_Query_Optimization.pdf, page 29
Section 13
What is the Selinger-style enhancement over plain DP in the slides? to When is a schedule conflict-serializable?
01
What is the Selinger-style enhancement over plain DP in the slides?
Source: 09_Query_Optimization.pdf, page 49
02
What does 'serializable' mean in the concurrency lecture?
Source: 10_Concurrency Control.pdf, page 24
03
When is a schedule conflict-serializable?
Source: 10_Concurrency Control.pdf, page 36
Section 14
What does 2PL guarantee, and what can still occur? to What is true for READ COMMITTED according to the isolation-level slide?
01
What does 2PL guarantee, and what can still occur?
Source: 10_Concurrency Control.pdf, page 47
02
Which statement correctly describes Strict 2PL in the slides?
Source: 10_Concurrency Control.pdf, page 53
03
What is true for READ COMMITTED according to the isolation-level slide?
Source: 10_Concurrency Control.pdf, page 70
Section 15
What does the STEAL policy permit? to Which WAL rule is stated for update logging?
01
What does the STEAL policy permit?
Source: 11_Recovery.pdf, page 7
02
Which method/policy pairing is shown in the recovery overview?
Source: 11_Recovery.pdf, page 10
03
Which WAL rule is stated for update logging?
Source: 11_Recovery.pdf, page 16
Section 16
What is the three-pass recovery order shown in the lecture? to What characterizes a homogeneous distributed database in the lecture?
01
What is the three-pass recovery order shown in the lecture?
Source: 11_Recovery.pdf, page 24
02
How is speedup defined in the parallel-databases lecture?
Source: 12_Parallel_DBs_and_Big_data.pdf, page 7
03
What characterizes a homogeneous distributed database in the lecture?
Source: 12_Parallel_DBs_and_Big_data.pdf, page 15
Section 17
Which mapping between parallelism mode and workload focus is stated? to How are replication and fragmentation described for distributed storage?
01
Which mapping between parallelism mode and workload focus is stated?
Source: 12_Parallel_DBs_and_Big_data.pdf, page 24
02
How are replication and fragmentation described for distributed storage?
Source: 12_Parallel_DBs_and_Big_data.pdf, page 31
Knowledge check
Turn understanding into recall.
The quiz now follows the same concepts in scored form. You can return to this lesson from the quiz whenever a gap appears.