MongoDB
MongoDB is a document-oriented database and it
is an open source database management system. MongoDB is a non-relational
database technology. MongoDB is a NoSQL database using for big data storage.
MongoDB architecture is prepared up of collection and documents when the relational
database uses table and rows. MongoDB is developed by MongoDB Inc. - https://www.mongodb.com/company?jmp=footer.
History of MongoDB
In 2007, Tengen(10gen) Company started
developing MongoDB. MongoDB was developed by Dwight Merriman and Eliot Horowitz
the team behind DoubleClick. In 2009, Tengen(10gen) shifted to the open source
development model and it's proposing commercial support and other database
related services. In 2013 Tengen(10gen) change its company name to MongoDB Inc.
and MongoDB published in 2017, it’s listed on NASDAQ as MDB.
Why use MongoDB?
1.
MongoDB is a NoSQL type database and it's having data in a
relational type format data stores in documents. So MongoDB is a document-oriented
database. Document database makes MongoDB very flexible and adjustable to real
business situation and requirements.
2.
MongoDB delivers high
accessibility with replication sets and consists of two or more copies of the
information. The role of primary or secondary nodes at any time in Replication.
In Primary node, all writes and reads are done and in secondary nodes maintain
a copy of the data of the primary using built-in replication.
3.
Range query and regular
expression search supports in MongoDB. In MongoDB, queries return specific
fields of documents and also contain user-defined JavaScript functions.
4.
Indexing uses to improve the
performance of what you search in a database. You can index any field in a
document with primary and secondary indices. Using index feature performance
automatically increased.
What are the concept and terminology?
Here is the compare MySQL and MongoDB
MySQL
MongoDB
Database Database
Index Index
Table Collection
Column Field
Row Document
Joining Linking
Partition Sharding
Following are some point where you can use MongoDB
v
When you want to in order to store the structured data of a
social networking website.
v
When you need a schema-less document store, you have a stable
schema.
v
When you want to check Real-time analytics.
v
When you want to represent data in a bunch of documents then you
go to the MongoDB.
v
When you need Content Management.
v
When you develop a big Mobile application.
v
When you need a map/reduce data processing of your Blog.
v
When big organization data want to represent in a bunch of
documents.
v
When you want to represent data as autonomous packages of data.
Advantages and Disadvantage of mongoDB
Advantages of MongoDB
v
MongoDB is a document oriented database.
v
MongoDB is a schema-less database.
v
MongoDB is a high-performance database.
v
MongoDB also provides ACID properties at the document level.
v
MongoDB has replication and gridFS features and its features
help to increase data availability.
v
MongoDB easy to access the document by indexing.
v
MongoDB is a horizontally scalable database.
v
MongoDB environment set up is easy.
v
MongoDB supports common certification mechanisms, like LDAP, AD,
and certificates.
v
MongoDB document storage using BSON format which extends JSON
implementation to additional data types.
v
MongoDB is an easy of scale out. The scale reads by using
replica sets and scale writes by using sharding.
Disadvantages of MongoDB
v
In MongoDB has no join, therefore, less flexibility with
querying.
v
MongoDB has a complex transaction.
v
Data size in MongoDB is familiarly higher because each document
has a field name stored.
v
In MongoDB where you can bind the logic, there is no function or
stored procedure exists.
Comments
Post a Comment