Is there a book where you build a database engine from scratch?
I know there are plenty of books where you write your own ray tracer from scratch in C++ and same for OSes (and they include code snippets). Is there anything like this for database management systems? I'm aware of the cow book, but I'm looking for something that walks you through implementing an entire database engine with code snippets. I understand the theoretical components but I have a hard time architecting them together in code.
Not aware of book. But I often dig through source code of badger and cockroach DB.
Yugabyte has a good video series on their architectural choices.