Intro to Relational Databases
-
Upload
patricia-gorla -
Category
Technology
-
view
446 -
download
2
description
Transcript of Intro to Relational Databases
Intro to Relational Databases
Patricia Gorla@patriciagorlaApache Cassandra ArchitectThe Last Pickle
About Me
• Cassandra Architect chez The Last Pickle
• Datastax MVP for Cassandra
• Database Geek
Google Trend Ranking db-engines.com
Data has Relationships
…but not all data models are created equal.
Case Study eCommerce
Customer TablePrimary Key Customer Name Address Phone Number
231 Yves Oran 732 13001732 Coco Saumur 123 12342599 Ralph New York 523 10929
Case Study eCommerce
Customer TablePrimary Key Customer Name Address Phone Number
231 Yves Oran 732 13001732 Coco Saumur 123 12342599 Ralph New York 523 10929
Order TableOrder Number Customer ID Product ID
10001 599 LUX10002 599 CDG10002 231 CDG
Customer TablePrimary Key Customer Name Address Phone Number
231 Yves Oran 732 13001732 Coco Saumur 123 12342599 Ralph New York 523 10929
Order TableOrder Number Customer ID Product ID
10001 599 LUX10002 599 CDG10002 231 CDG
Product TableProduct ID Product Name Price
LUX BlenderBottle 7.99CDG Pellegrino 1.49BOI Eden Pond Turmeric 32.99CHO CeraVe Moisturizer 12.99
Relational theory is built upon set theory.
Limitations Because nothing is perfect
Polyglot Persistence