MongoDB Advantages over RDBMS
·
Schema less − MongoDB
is a document database in which one collection holds different documents.
Number of fields, content and size of the document can differ from one document
to another.
1.
Structure of a single
object is clear.
2.
No complex joins.
3.
Deep query-ability.
MongoDB supports dynamic queries on documents using a document-based query
language that's nearly as powerful as SQL.
·
Ease of scale-out −
1.
MongoDB is easy to
scale.
2.
Conversion/mapping
of application objects to database objects not needed.
3.
Uses internal memory
for storing the (windowed) working set, enabling faster access of data.
Why MongoDB?
1-Document
Oriented Storage − Data is stored in the form
of JSON style documents.
2- Index on any attribute
3- Fast in-place updates
4-Professional support by MongoDB
5-Replication and high availability
6-Auto-sharding
7- Rich queries
Where to Use
MongoDB?
1.Big Data
2.Mobile and Social Infrastructure
3.User Data Management
4.Data Hub
5.Content Management and Delivery etc.
Features of MongoDB
Support ad hoc queries
|
In MongoDB, you can
search by field, range query and it also supports regular expression
searches.
|
Indexing
|
You can index any field
in a document.
|
Duplication of data
|
MongoDB can run over
multiple servers. The data is duplicated to keep the system up and also keep
its running condition in case of hardware failure.
|
Replication
|
MongoDB supports Master
Slave replication.
A master can perform
Reads and Writes and a Slave copies data from the master and can only be used
for reads or back up (not writes)
|
|
|
Load balancing
|
It has an automatic
load balancing configuration because of data placed in shards.
|
Supports map reduce and aggregation tools.
|
|
Uses JavaScript instead of Procedures.
|
|
It is a schema-less database written in
C++.
|
|
Stores files of any size easily without
complicating your stack.
|
|
Easy to administer in the case of failures.
|
|
Provides high performance.
|
|
It also supports:
1.
JSON data model with dynamic schemas
2.
Auto-sharding for horizontal scalability
3. Built in replication for high
availability
|