Posts

Showing posts from September, 2012

Mongo Db - First Look

Definition Mongo db is a scalable, high-performance, open source, schema-free, document-oriented database. Advantages Here are some of the advantages of MongoDB for building web applications: A document-based data model. The basic unit of storage is analogous to JSON, Python dictionaries, Ruby hashes, etc. This is a rich data structure capable of holding arrays and other documents. This means you can often represent in a single entity a construct what would require several tables to properly represent in a relational db. Deep query-ability. MongoDB supports dynamic queries on documents using a document-based query language that's nearly as powerful as SQL. No schema migrations. Since MongoDB is schema-free, your code defines your schema. Better performance. There are many reasons for this. One is that, since the document model frequently doesn't need joins, MongoDB doesn't support them; another is that MongoDB uses memory-mapped files and a different consistenc