MongoDB - SPLessons
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

MongoDB Overview

MongoDB Overview

shape Description

Mongo DB is a main NoSQL Database and is an open source software. MongoDB is created in C++ Language that gives programmed scaling,high execution and high availability. In MongoDB,NoSQL means versus relational databases and when it get connected the Mongo server is up and start running. MongoDB is the most popular and fastest growing NoSQL database. And Database is the heart of most internet and enterprise applications. The demand for fast application development has brought some extra technical features to the database,broadly termed as NoSQL Database. And many of the develop application uses object oriented language. And to perform these objects we use polymorphism, if the objects are not in uniform then use inheritance. But mapping those tables and rows can be quite a bit problem. And there is no schema that can be defined, and there is no tables and relationship exists between collections and objects. Each and every document in mongoDB is very flat and simple that the application that can be required. The mongoDB consists of various schemas that governs the collection, such as

shape Conceptual figure

Scalability

Databases of NoSQL were all worked with an attention on versatility, so they all incorporate a part of apportioning or sharding. That permits the database to scale out on product equipment conveyed in the cloud, empowering verging on boundless development with higher throughput and lower inactivity than social databases.

Locking

The relational model itself requires a relational database engine to manage rights in a very special way. To assure consistency and atomicity, it must lock rows and tables and only allow one writer access at a time. Protecting referential integrity across several tables and rows increases the time the lock has to be in effect. Increased locking time means less rights or updates per second, means higher latency of transaction and slower application.

Scaling out

Scaling out and replicating data to other servers can make things worse. If relational engines try to enforce consistency and extend these locks across the network, lock times are then longer, transaction latency is higher. This will actually make applications even slower.

Difference between MongoDB and RDBMS

shape Differences

Difference between MongoDB and RDBMS is as follows:
MangoDB RDBMS
Database Database
Document Tuple/Row
Collection Table
Field Column
Primary Key with default key_id Primary Key
Embedded Documents Table Join

Difference between client and database server

shape Differences

Difference between client and database server in MangoDB is as follows:
Client Database Server
Mongod Mysqld/Oracle
Mongo Mysql/sqlplus

Key features

shape Description

The key features of Mongo DB are as follows:

Summary

shape Key Points

  • MongoDB Overview - Describe the features and advantages of mongoDB.