I studied the correct relational algebra, from Christopher's book. Depth Database: Relational Theory for Practitioners . Throughout the book, he uses the language that he and Hugh Darwin invented to convey the theory - Tutorial D. In general, I think that Tutorial D is a very workable query language, much more flexible than SQL, and therefore (just for fun) I was very interested in writing a (ineffective, no doubt) small RDBMS based on Tutorial D, and not SQL.
Understanding that this is a mammoth task, even in order to do something basic, I wonder if there are existing storage systems that do not represent tables in the sense of SQL, but represent relationships in a relational sense and do not assume any specific query language is used to access to data, but simply provides low-level functions such as product , join , intersect , union , project , etc. (at C level, not at the query language level).
Do I make sense? :) Basically, I would like to take something like this and stick with the Tutorial D interface (or the like) in front of it.
It is really easy to do everything in memory, but presenting data structures on a disk in the form in which it is even moderately efficient is quite difficult and probably over my head without serious research.
source share