Skip to main content

Features of MongoDB

Features of MongoDB


These are some important features of MongoDB:


1. Support ad hoc queries


In MongoDB, you can search by field, range query and it also supports regular expression searches.


2. Indexing


You can index any field in a document.


3. Replication


MongoDB supports Master Slave replication.


A master can perform Reads and Writes and a Slave copies data from the master and can only be used for reads or back up (not writes)


4. Duplication of data


MongoDB can run over multiple servers. The data is duplicated to keep the system up and also keep its running condition in case of hardware failure.


5. Load balancing


It has an automatic load balancing configuration because of data placed in shards.


6. Supports map reduce and aggregation tools.


7. Uses JavaScript instead of Procedures.


8. It is a schema-less database written in C++.


9. Provides high performance.


10. Stores files of any size easily without complicating your stack.


11. Easy to administer in the case of failures.


12. It also supports:


JSON data model with dynamic schemas


Auto-sharding for horizontal scalability


Built in replication for high availability


Now a day many companies using MongoDB to create new types of applications, improve performance and availability.


Comments

Popular posts from this blog

JavaScript Array Methods

JavaScript Arrays JavaScript arrays are used to store multiple values in a single variable. Displaying Arrays In this tutorial we will use a script to display arrays inside a <p> element with id="demo": Example < p  id= "demo" > < /p > < script > var cars = ["Saab", "Volvo", "BMW"]; document.getElementById("demo").innerHTML = cars; < /script > The first line (in the script) creates an array named cars. The second line "finds" the element with id="demo", and "displays" the array in the "innerHTML" of it. Example var cars = ["Saab", "Volvo", "BMW"]; Spaces and line breaks are not important. A declaration can span multiple lines: Example var cars = [     "Saab",     "Volvo",     "BMW" ]; Never put a comma after the last element (like &