Any good learning resources for implementing your own DBMS, and DB internals? (not DB theory, not SQL, not intro).
https://github.com/rqlite/rqlite/blob/master/DOC/DESIGN.md
I built a distributed database using Raft and SQLite, and I put a lot of thought into its design and implementation -- to make it as simple (but not simplistic) and clear as possible. One goal was clear separation between the consensus layer, the database access, and the HTTP API. I think it's a good resource to study (even if I do say so myself).
Here's a Github mirror so you can browse around: https://github.com/postgres/postgres
Note that the offical repo is at git.postgresql.org.