Advanced Databases
News
- Question answering session on Wed Jan 12, 14:00, online in a Webex meeting.
- Kickoff meeting ("Vorbesprechung") for the lecture (VO) on
Wed Oct 6Wed Oct 13, 14:00 online in a Webex meeting. - The lecture will be held online. Videos with explainations for each set of slides will be available online in Blackboard.
Lecture
The lecture will be held online. Videos with explainations on the slides will be made available in Blackboard.
Questions and discussions
For questions and discussions (also among students) regarding course specific topics please use the Slack channel #adb-vo-2021ws (Workspace dbteaching.slack.com).
Slides
Each set of slides treats a specific topic area and will be discussed in one or more lecture units. Slides that have not yet been discussed during the lecture may be subject to change. Once a slide has been treated in the lecture only bug fixes will be applied. Slide sets have a version (date) on the title page.
The slides and their discussion during the lecture are essential for the exam.
Note: The slide version of last year is already online to give you an overview, but this version may be subject to changes. The chapter numbers refer to the book "Database System Concepts" (see above).
Topic | Chapter | Slides | ||
---|---|---|---|---|
1. | Transactions: Transaction Concept, Transaction State, Concurrent Executions, Serializability, Recoverability, Implementation Isolation, Transaction Definition in SQL, Testing for Serializability | Ch. 14 | [1up] [4up] | |
2. | Concurrency Control: Lock-Based Protocols, Timestamp-Based Protocols, Validation-Based Protocols, Multiversion Schemes, Insert and Delete Operations, Concurrency in Index Structures | Ch. 15 | [1up] [4up] | |
3. | Recovery System: Failure Classification, Storage Structure, Recovery and Atomicity, Log-Based Recovery, Recovery Algorithm, Recovery with Early Lock Release and Logical Undo, ARIES | Ch. 16 | [1up] [4up] | |
Literature
Silberschatz, Korth, Sudarshan.
Database System Concepts.
McGraw-Hill, 2011 (6th edition)
Exam
The exam will we written. In the case of very few registrations for an exam date, the exam will be held as an oral exam; in this case the students will be notified before the exam.
The exam dates will be announced on PlusOnline.
At the written exam you are allowed to use one A4 sheet with your personal notes (both sides, hand written or printed). During the oral exam no notes are allowed.
The exam may be held online. The kind of exercises, notes allowed during the exam, and the exam duration are not affected by whether the written exam is held online.
You may register or cancel the registration up to 48 hours before the exam. If you do not show up for a registered exam, you will be blocked for this exam according to the university regulations §15(7).
Example exams: 03.06.2016, 19.05.2017, 02.02.2018, 06.02.2019
Proseminar
We will practice the concepts discussed in the lecture regarding transactions, concurrency, and recovery. We will exercise numerous techniques to deal with the problems related to these topics and apply the gained knowledge in a practical setting. To this end, there will be an initial individual task, and four group tasks (all named Homeworks). Each group contains a maximum of 3 students. Every homework solution (including source code) is submitted via Blackboard. The key results and a small live demo of the group tasks are presented in person in the seminar. You can freely decide whether you present in German or English.
Because of limited space capacities, we split the seminar into two slots. That is, in the first slot half of the groups present their results, while the second half is not present. There will be additional online appointments (e.g., when there is no student presentation) for Q and A, or providing required input additional background (on demand).
The first appointment is online at 14.10.2021 including: Kickoff, detailed schedule of the PS, and Short description of the first task.
Homeworks
The purpose of the homeworks is to apply the our knowledge in a practical setting. Homeworks are mandatory and make 100% of the lab grade. Homeworks partially rely on PostgreSQL databse management system. Install it locally on your machine.
Schedule
Meetings | Topic | Download | Submission details |
---|---|---|---|
14.10.2021 | Vorbesprechung (online) Link | PostgreSQL | Source code of PostgreSQL |
Evaluation
The evaluation is based solely on the submitted homeworks with the following grading scale.
Points | Mark |
---|---|
[8.75, 10.00] | 1 |
[7.50, 8.75) | 2 |
[6.25, 7.50) | 3 |
[5.00, 6.25) | 4 |
[0.00, 5.00) | 5 |