Why the sequel to NoSQL is SQL: an intro to table-groups
We are told to think that SQL is the source of all database evil. What if it's not? What if the problem is deeper than that? This presentation is about table-groups, a fundamental solution to the relational model.
mysql.. Use an ORM.. Crap, every object just exploded into 1000 liUle pieces; 1000 tables. What was that curse word? NORMALIZATION? Why oh Codd, Why???
t2.c1 t2.c2 t2.c3 t3.c1 t3.c2 t3.c3 Logical table 1: user Logical table 2: order Logical table 3: item 1 John Way 2 Ari Weil 10 1/4 ship 11 2/7 proc 12 6/10 pick 100 2323 book 101 2323 game 102 1212 bag Table data Table data Rather than storing tables – store groups!
t2.c3 t3.c1 t3.c2 t3.c3 Logical table 1: user Logical table 2: order Logical table 3: item 1 John Way 2 Ari Weil 10 1/4 ship 11 2/7 proc 12 6/10 pick 102 1212 bag 101 2323 book 100 3434 game physically data is interleaved Table Group Rows from tables within a group are interleaved Logically same schema and SQL