MongoDB is an open source NoSQL database that works on many platforms. MongoDB gets its name from ‘Humongous’ which means extremely large. IT empowers organizations to be more agile and scalable. Instead of storing all information in a relational database, it uses BSON (Binary JSON) format. Schemas don’t have to be rigid. They can vary.
What if you could store the programmatic models almost exactly like you model them? What if you could store them as they are instead of in a series of rows in tables? With MongoDB, you’re going to be able to do just that! Here’s how you insert data into MongoDB:
here mydb is the name of the database.
db.mydb.find() will display this record.
Similarly there are functions for sorting and displaying data in ascending and descending manner.
If you wanted to remove this database you would simply say
We have just scratched the surface. MongoDB is very fast. (It’s written in C++)
Now here’s from the MongoDB website
MongoDB is built for scalability, performance and high availability. Auto-sharding allows MongoDB to scale from single server deployments to large, complex multi-data center architectures. Leveraging native caching and RAM, MongoDB provides high performance for both reads and writes. Built-in replication with automated failover enables enterprise-grade reliability and operational flexibility. MongoDB also provides native, idiomatic drivers for all popular programming languages and frameworks to make development natural.
There are many competitors to MongoDB like CouchBase ,RIak, Cassandra, Neo4j but all differ in some aspects. Overall MongoDB is a good bet if you are starting with NoSQL database.