DBSI Teaser Presentation NoSQL Databases (MongoDB) By: Avni Malhan (MT15012) Karishma Tirthani (MT15027) Neeti Arora (MT15039)
What is NoSQL? NoSQL Data models MongoDB : Brief Overview MongoDB vs. RDBMS Indexing
What is NoSQL(Not only SQL databases)? Not Relational! Distributed Web 2.0(Google,Amazon) Aggregate - oriented May not require fixed schema Scale-out
What is NoSQL? NoSQL Data models MongoDB : Brief Overview MongoDB vs. RDBMS Indexing
Data Models Column Families Document Store Key Value Tuple Store Hadoop(Java),Accumulo Document Store MongoDB,CouchDB Key Value Tuple Store DynamoDB,Redis Graph Databases ArangoDB,Sparksee
What is NoSQL? NoSQL Data models MongoDB : Brief Overview MongoDB vs. RDBMS Indexing
MongoDB Document Databases(written in C++)
Collection - Collection is a group of MongoDB documents. It is the equivalent of an RDBMS table. Document - A document is a set of key-value pairs. Documents have dynamic schema. Replication Applications - content management systems, blogging platforms, web analytics, real-time analytics, ecommerce-applications.
What is NoSQL? NoSQL Data models MongoDB : Brief Overview MongoDB vs. RDBMS Indexing
RDBMS MongoDB Modeling Embedded Relationships
Creating a collection in MongoDB Creating table in RDBMS Find Document Query in MongoDB(from collection: products) Select Query in RDBMS(from table: book_author)
What is NoSQL? NoSQL Data models MongoDB : Brief Overview MongoDB vs. RDBMS Indexing
Indexing! Without Indexing With Indexing
Conclusion MongoDB works in favor of JSON-like documents. Allows dynamic schema. Document-oriented. Models Embedded relationships. Indexing reduces search time complexity.
References http://nosql-database.org/ https://www.thoughtworks.com/insights/blog/nosql-databases-overview http://www.tutorialspoint.com/mongodb https://docs.mongodb.org/v3.0/reference/method/db.collection.find/ http://www.slideshare.net/mongodb/mongodb-days-uk-indexing-and-performance-tuning