Live data from Hacker News

SimpleDB: A Basic RDBMS Built from Scratch

awelm.com

31–40 of 53 posts

Re: SimpleDB: A Basic RDBMS Built from Scratch

#32

I love seeing these educational databases. I'm still waiting for one to implement some form of MVCC, every one so far always seems to use 2 phase locking.

Thanks! I'd also like to see a MVCC implementation because that would shed some light on how mysql works. I'll add MVCC to the future improvements section

Re: SimpleDB: A Basic RDBMS Built from Scratch

#33
post #18

A quick question about the MIT course this student followed[1]. Am I correct in assuming that the way to follow this course would be to take the lecture notes, the assigned reading material, and simply read it before then moving on to the assignments? Just wanted to make sure I'm not missing some video/other content before I take a look into this stuff. [1] https://ocw.mit.edu/courses/electrical-engineering-and-compu…

How does this stack up against Intro to Database Systems from CMU?

Re: SimpleDB: A Basic RDBMS Built from Scratch

#35

I love seeing these educational databases. I'm still waiting for one to implement some form of MVCC, every one so far always seems to use 2 phase locking.

What other educational databases are you looking at? Curious in case I'm missing any of them.

RisingLight, SimpleDB by Edward Sciore, SimpleDB for the MIT course are the main ones that come to my mind immediately. I forgot that Erik Grinaker's ToyDB implements MVCC but I remember it being hard to grok and not very straightforward.

Re: SimpleDB: A Basic RDBMS Built from Scratch

#37

I love seeing these educational databases. I'm still waiting for one to implement some form of MVCC, every one so far always seems to use 2 phase locking.

https://github.com/erikgrinaker/toydb

You're right, I forgot about this one. I think because when I last looked at it, the MVCC part wasn't very straightforward to me.

Re: SimpleDB: A Basic RDBMS Built from Scratch

#38

Hey, this is really great. Fun fact - there is another SimpleDB also written in Java [1]. The book (out of print I think) is a good read. [1] http://cs.bc.edu/~sciore/simpledb/

Indeed, thanks for the link! We used this SimpleDB in university 15 years ago and implemented our own database nodes like hash joins, table scans, index scans, etc. as well as the paging logic and more. This was really useful to better understand ideas behind many databases.
Post reply on HN