Download presentation
Presentation is loading. Please wait.
Published byGodwin Bryan Modified over 9 years ago
1
What is MongoDB? Developed by 10gen It is a NoSQL database A document-oriented database It uses BSON format
2
The Basics A MongoDB instance may have zero or more databases A database may have zero or more ‘collections’. A collection may have zero or more ‘documents’. A document may have one or more ‘fields’. MongoDB ‘Indexes’ function much like their RDBMS counterparts.
3
MongoDB vs. RDBMS Collection vs. table Document vs. row Field vs. column Collection isn't strict about what goes in it (it's schema-less)
4
MongoDB in action…
5
More actions…
6
Using MongoDB with Rails require 'rubygems' require 'mongo' source 'http://gemcutter.org' gem "rails", "3.2.1" gem "mongo_mapper" bundle install
7
Why use MongoDB Simple queries Makes sense with most web applications Easier and faster integration of data Not well suited for heavy and complex transactions systems.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.