sustainablelasas.blogg.se

Command to start mongodb server
Command to start mongodb server










If this name database doesn’t exist, it will get created, and else it will return the existed one. In MongoDB use, DATABASE_NAME is used to create a database. Hence more efficient.īasic of MongoDB Commands 1. The result of which automatic load balancing happens. MongoDB command comes with the auto-sharding feature, in which process distributes data across multiple physical partitions known as shards.The result of which it’s a great advantage in case of hardware failure. This database can run over multiple servers hence data is duplicated over multiple servers.To prevent database downtime, this replica feature is proved to be an essential feature. MongoDB command uses a master-slave replication concept.No downtime, if the application is scaled.This goes with the case, where the app needs to be built from scratch or the case of updating a single record. It can easily control the data which is placed globally, ensuring fast performance and compliance.Instead of using the relational database concept of storing data in the form of the table, MongoDB architecture is made up of collections and documents. It is one of the NoSQL databases, highly used for big data applications and other complex job processing for the data that doesn’t go well with the relational database. MongoDB is a cross-platform, document-oriented, open-source database management system that provides, high availability, high performance, and easy scalability.












Command to start mongodb server