Winter is a great time for self study in India. My productivity increases as temperature falls. There are a number of holidays in the winter months resulting in low workload. One can devote long hours for self study during the time without much distraction.
I work as a software engineer which requires constant learning. I also switch companies frequently. There are always new things to learn at a new work place. Learning at work has its own pros and cons. We are evaluated on the impact and deliverables and not for our learning. Our learning is a means to the end. So we have to be very pragmatic and decide what to learn and what to leave. This helps to focus on the essentials which is good under time pressure. But it can also make our knowledge shallow.
Every winter, I pick few areas to learn deep. It is solely for the joy of learning. There is no time pressure and I can dive deep. This winter, I have decided to focus on database internals, Gen-AI and Rust.
I have been using databases from the early days of my career. I started my career in Reference Data team at Intergraph and I worked with Microsoft SQL Server and Oracle. Over the years I got exposed to many more databases e.g. SQLite, MySQL, DynamoDB, MongoDB, PostgreSQL, Cosmos DB etc. My focus has primarily on using the databases. Occasionally, I have to peek into the internals to understand the abstractions. But I have not dived much into the database internals.
Currently I am working on managed MySQL database offering and I feel it is important to learn the database internals in depth. There are a number of good resources. Abundance of learning resources can distract someone from making steady progress. So I have decided to focus on a few key resources. I also go in the classic way i.e. covering lectures sequentially or reading the books from cover to cover. I take notes which helps in learning. This time I am also going to publish some of my learnings.
I have short-listed the following resources
- CMU Intro to Database Systems lectures on YouTube : One can access the recent course page here. The videos are from an earlier offering, but are recent and good. The videos also have links to notes and slides.
- Database Internals book (Alex Petrov, O’Reilly)
- Foundational papers in DBMS and Distributed Systems which I will append here as I cover those.
- SQLite, MySQL and PostgreSQL code as reference implementation.
I am looking forward to an interesting and valuable winter learnings on database internals.