MongoDB
Developers position the product as an intermediate link between classic DBMSs and NoSQL. MongoDB does not use schemas, as relational databases do, which increases the performance of the entire system.
Features
MongoDB has a number of features that set it apart from other products:
- Cross-platform compatibility. The DBMS is developed in the C++ programming language, so it can be easily integrated into any operating system (Windows, Linux, MacOS, etc.).
- Data format. MongoDB uses its own information storage format, Binary JavaScript Object Notation (BSON), which is based on the JavaScript language.
- Document. While relational databases use strings, MongoDB uses documents that store values and keys.
- Instead of tables, MongoDB uses collections. They contain different types of data sets.
- Replication. The information storage system in the DBMS is represented by nodes. There is one primary node and many secondary nodes. Data is replicated between points. If one primary node fails, the secondary node becomes the primary node.
- Indexing. The technology is applied to any field in the document at the user’s discretion. Indexed information is processed faster.
- To store large amounts of data, MongoDB uses its own GridFS technology, which consists of two collections. The first (files) contains file names and metadata about them. The second (chunks) stores segments of information that do not exceed 256 KB in size.
- The DBMS performs searches based on special queries. For example, a user can create a range query and get an instant response.
- The load balancer is used in the DBMS not only to distribute the load between different databases, but also for horizontal scaling. Database segments are distributed across different nodes, which increases performance. At the same time, databases located on different nodes are synchronized with each other and ensure the integrity of information for the client.
- MongoDB can be delivered to the end customer as a cloud solution.
DBMSs are used to store events in the system (logging), record information from monitoring sensors at the enterprise, as well as in the field of e-commerce and mobile applications. MongoDB is often used as a storage in the field of machine learning and artificial intelligence.
MongoDB belongs to the NoSQL DBMS class and works with documents rather than records. It is a cross-platform product that can be easily integrated into any operating system. A number of unique features allow the DBMS to be used for specific tasks, in which it provides maximum performance and reliability.