Hasso-Plattner-Institut
Prof. Dr. Tilmann Rabl
 

Database Systems II – Implementation of Database Systems

Prof. Tilmann Rabl, Martin Boissier, Ilin Tolovski

Databases and Data Engineering form the foundation of almost all large-scale applications. In this lecture, we study database systems primarily from an internal perspective, i.e., we discuss how database systems are built internally.

Core topics include the physical storage of data on disk, index structures for efficient data access (e.g., B-trees), various algorithms for relational algebra operators (in particular, different join algorithms), query optimization (especially join order optimization using dynamic programming), and database system recovery after a system failure (e.g., power outage). The lecture concludes with a block on web-scale data management.

Announcements

  • The introductory lecture will also be streamed live, Zoom link is available in Moodle
  • Course management will be done using the HPI Moodle
  • The lectures will be held on-site at HPI (L-E.03, Mondays 13:30 to 15 and Thursdays from 11 to 12:30)
  • Non-HPI participants : please send us an email to get access to the Moodle
  • All lectures are recorded and available in Tele-Task

Exercise

The lecture is accompanied by exercise sessions. Further information, schedules, announcements, and materials can be found on Moodle. We offer two identical weekly exercise sessions on Thursdays from 11:00 - 12:30. Please refer to the schedule below or in Moodle regarding room assignments.

In addition to the practical application of the lecture content, programming tasks will also be part of the exercise. These take place within a given programming framework and can be completed in Java or Kotlin (if needed, also in another JVM-compatible programming language).

We plan to have the exercise sessions every second Thursday, please refer to the Moodle schedule for any updates.

You need to pass all exercise quizzes and programming exercises with 50% or more in order to qualify for the final exam. One exercise quiz (not programming exercise) can be passed with 25%. 

Schedule

This is the preliminary schedule for Database Systems II. There might be small changes to the schedule during the semester. Please check Moodle for the most recent schedule.

Date

Topic

Type

Room(s)

13.10.

Intro / Review

Lecture

L-E.03

14.10. (15:15 - 16:45)

Exercise Intro

Exercise

L-1.02 (Plenary)

16.10.

Overview

Lecture

L-E.03

20.10.

Storage

Lecture

L-E.03

21.10. (15:15 - 16:45)

Exercise I

Exercise

L-E.03 & F-E.06

27.10.

Data Representation

Lecture

L-E.03

30.10.

Caching

Lecture

L-E.03

03.11.

Indexing I

Lecture

L-E.03

06.11.

Exercise II

Exercise

L-E.03 & F-E.06

10.11.

Indexing II

Lecture

L-E.03

13.11.

Hashing

Lecture

L-E.03

17.11.

MD Indexing

Lecture

moved to HS 3

20.11.

Exercise III

Exercise

D-E.9-10 & F-E.06

24.11.

MD Indexing II

Lecture

L-E.03

27.11.

Query Processing I

Lecture

L-E.03

01.12.

Query Processing II

Lecture

L-E.03

04.12.

Exercise IV

Exercise

L-E.03 & F-E.06

08.12.

Query Optimization I

Lecture

L-E.03

11.12.

Query Optimization II

Lecture

L-E.03

15.12.

Query Optimization III

Lecture

L-E.03

18.12.

Exercise V

Exercise

L-E.03 & F-E.06

Christmas Break

05.01.

Concurrency Control I 

Lecture

L-E.03

08.01.

Concurrency Control II

Lecture

L-E.03

12.01.

Parallel DBMS

Lecture

L-E.03

15.01.

Exercise VI

Exercise

moved to DE.9/10 & F-E.06

19.01.

Distributed DBMS

Lecture

L-E.03

22.01.

Web Scale DM I

Lecture

L-E.03

26.01.

Web Scale DM II

Lecture

L-E.03

29.01.

Exercise VII

Exercise

L-E.03 & F-E.06

02.02.

Exam Prep

Lecture

L-E.03

Literature

Hector Garcia-Molina, Jeffrey D. Ullman, Jennifer Widom: Database Systems - The Complete Book, Pearson Education International, 2002.
The database group has several copies of this book. Alternatively, you can buy it online.

Further recommended readings:

Exam & Grading

The final grade will be determined only by the exam. To qualify for the final exam, you need to pass the mandatory exercises.

Grade: 100% Exam

Exam Date: 05.02.2026.