Advantages of MongoDB
Any Relation Database has a unique Schema Design to index the data tables and relationships between those tables. Meanwhile in MongoDB there is no concept of relationship.
Advantages of MongoDB compared to RDBMS
Less Schema: MongoDB is a database based on Document, in which a Collection holds different Documents. The number of fields, content and size of this Document may be different from another Document.
The structure of an object is clear.
Do not have complex Join.
Further query capabilities. MongoDB supports dynamic queries on documents using a powerful query language based on documents like SQL.
Tuning
MongoDB is easy to expand.
The conversion / mapping of application objects to database objects is not necessary.
Use internal memory to store tasks, faster access to data.
Why should MongoDB be used?
The repository stores the Document orientation: The data is stored in JSON-style documents
Indexed on any attribute
Replication and high availability
Automatic Shard
Multiple queries
Faster update
Professional support by MongoDB
Where to use MongoDB
Large amount of data
Manage user data
Content distribution and management (CM)
Data Hub
According to Tutorialspoint
Previous article: Overview of MongoDB
Next article: Installing MongoDB
You should read it
May be interested
- Shard in MongoDBsharding is a process of storing data records across multiple devices and it is a method of mongodb to meet the requirement for increasing data. when the size of the data increases, a single device cannot be enough to store data.
- Learn about Java Driver in MongoDBin the following article, we will introduce you some basic features of mongodv java driver as well as how to deploy and apply in practice.
- Install MongoDBinstructions for installing mongodb on windows.
- Map Reduce in MongoDBin mongodb documentation, map-reduce is a data processing system that condenses a large amount of data into useful overall results. mongodb uses mapreduce command for map-reduce operation. in general, map reduce is used to handle large data sets.
- Aggregation in MongoDBaggregation can be understood as aggregation. the aggregation operation handles data records and returns calculated results. the operations group the values from multiple documents together, and can perform multiple operations on the grouped data to return a single result. in sql, count (*) and group by are equivalent to aggregation in mongodb.
- Data modeling in MongoDBdata in mongodb has a flexible schema. documents in the same collection need not have the same set of fields or structures, and common fields in collection documents can keep different data types.
- How to use Aggregation Pipeline in MongoDBif you are using mongodb's mapreduce, it is best to switch to aggregation pipeline for more efficient computation.
- GridFS in MongoDBgridfs is the mongodb specification for storing and collecting large files such as images, audio, video files, etc. it is a type of file system to store files but its data is stored inside mongodb collections. .
- Query analysis in MongoDBanalyzing queries is a very important aspect to assess the effectiveness of database and the effectiveness of the designed index. we will explore the two most frequently used queries, $ explain and $ hint.
- Projection in MongoDBin mongodb, projection's meaning is to select only the necessary data instead of selecting the entire data of a document. if a document has 5 fields and you only need 3 fields, you should only select 3 fields from that document.