Overview how to design a database instead of DBMS! 🤔 this class mainly focuses on the conceptual design
Data Models and Relational Levels of Abstraction def in Data model abstractions example Data Independence Entity-Relationship Model (ERM) Def Entity: a real-world object that can be described and identified by a set of attributes Entity Set: a collection of similar entities all entities in an entity set have the same attributes each entity set has a key each attribute has a domain Relationship: a connection between two entity sets Key and Participation Constraints Key Constraints Participation Constraints Weak Entity Alternative Notation and Terminology decoder graph 😅 math notation 😅 Binary vs Ternary Relationships 上面的更加紧密并且可以记录qty
Intro relational operator: tuples(in other way, relations) in, tuples out
1 2 3 4 5 6 7 abstract class Iterator { // set up the children and the dataflow graph void setup(List<Iterator> inputs); void init(args); // state tuple next(); // returns the next tuple void close(); } presudo code select on the fly 🤔
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 init() { child.