Advanced Databases

German / English
Office hours:
WS 2021/2022
Course Evaluations:



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


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]


Silberschatz, Korth, Sudarshan.
Database System Concepts.
McGraw-Hill, 2011 (6th edition)

Multiple copies of the book are available in the textbook collection of the department library (Itzling).


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


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.


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.


Meetings Topic Download Submission details
14.10.2021 Vorbesprechung (online) Link PostgreSQL | Source code of PostgreSQL


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