DDBMS is a project mainly written in C++ and PERL, it's free.
A small distributed data base system for study