4. Relational Design
Post_id Post Post_at …
1 What is relational db? 2014-12-09 08:32:16
2 Java …. 2014-12-09 08:45:44
Post_id User_id Comment
1 54 Organizes data into
multiple tables with
relation between them
1 63 ….
What is relational db?
• Organizes data into multiple tables with
relation between them
• Table which have relations
4
5. Problem
Can you examine the comments
without looking at post?
5
7. NoSQL
Provides a mechanism for storage
and retrieval of data that is
modeled in means other than the
tabular relations used in relational
databases
- wikipedia -
7
8. Non Relational Design
Post_id Post Created_at comments …
1 What is relational db? 2014-12-09
08:32:16
Organizes data into
multiple tables with
relation between them,
Table which have
relations,
…
8
9. Reasons to marry
• Scalability
• Big data
• Economics
• Flexible data model
9
10. Don’t kick out Relational DB
• Maturity
• Support & Design skills
• Analytics
10