Modeling MongoDB with Relational Model Proposed by Christopher Polanco
Outline Introduction MongoDB Relation Algebra Relational Model of MongoDB MongoDB Relational Algebra Operations of MongoDB
Introduction E.F. Codd Relational DB SQL Relational DB not enough NoSQL
MongoDB Open source document-oriented DB BSON Many features Load Balancing Indexing Replication Etc Many Differences
Relational Algebra E.F. Codd Six primitive operators union set difference Cartesian product selection projection rename
Relational Model of MongoDB Modeling MongoDB Relation DB similarities Collection -> Table Document -> Tuple Keys -> Fields Keys defined in tuple
Operation of MongoDB Find SELECT Distinct Used to query all the values of a given key Group GROUP BY Join Not Supported
GROUP BY
Conclusion
Questions?