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