I haven't find a good introductory yet complete resource about build a complete database. I'm on the hunt for it (building also a relational language).
And then there is Database Systems, The Complete Book where the second half of the book offers in deep coverage of the implementation of database systems.
Specially, because RDBMS look like are at all or nothing. I wonder if is possible to pick "only" the transactional/storage and made by myself the query/optimizer/api on top. I will be happy if is possible to build on top of something like sqlite, unfortunately, I don't know C at all (work with F#,C#, Delphi, Python).
In the other hand, know the basic steps could be good enough...