I'm searching at methods for creating my very own DBMS on your own in C++ (for entertainment and academic reasons). I'm tied to the starting point it. Can anybody let me know the way i must start (design) this. Will postgresql code and also the architecture constitute any help?

Thanks ahead of time.

Take a look at SQLite and it is doccumentation. it may be a good thing to begin.

Begin by reading through "Transaction Processing: Concepts &lifier Techniques" by Grey and Reuter. It is going through virtually all of the aspects of a DBMS. Following a references is extremely interesting.

It's almost two decades old now, but nonetheless very relevant.