MongoDB : introduction to MongoDB
MongoDB is an is a cross-platform open-source document database, and the leading NoSQL database. Written in C, C++ and Java script .
MongoDB features:
1. Document-Oriented Storage »
JSON-style documents with dynamic schemas offer simplicity and power.
2. Ad hoc queries
MongoDB supports search by field, range queries, regular expression searches. Queries can return specific fields of documents and also include user-defined JavaScript functions.
3. Full Index Support »
Index on any attribute, just like you’re used to.
4. Replication & High Availability »
Mirror across LANs and WANs for scale and peace of mind.
Replication
MongoDB provides high availability with replica sets. A replica set consists of two or more copies of the data. Each replica set member may act in the role of primary or secondary replica at any time. The primary replica performs all writes and reads by default. Secondary replicas maintain a copy of the data on the primary using built-in replication. When a primary replica fails, the replica set automatically conducts an election process to determine which secondary should become the primary. Secondaries can also perform read operations, but the data is eventually consistent by default.
Load balancing
MongoDB scales horizontally using sharding. The user chooses a shard key, which determines how the data in a collection will be distributed. The data is split into ranges (based on the shard key) and distributed across multiple shards. (A shard is a master with one or more slaves.)MongoDB can run over multiple servers, balancing the load and/or duplicating data to keep the system up and running in case of hardware failure. Automatic configuration is easy to deploy, and new machines can be added to a running database.
5. Auto-Sharding »
Scale horizontally without compromising functionality.
6. Querying »
Rich, document-based queries.
7. Fast In-Place Updates »
Atomic modifiers for contention-free performance.
8. Map/Reduce »
Flexible aggregation and data processing.
Aggregation
MapReduce can be used for batch processing of data and aggregation operations. The aggregation framework enables users to obtain the kind of results for which the SQLGROUP BY clause is used.
Server-side JavaScript execution
JavaScript can be used in queries, aggregation functions (such as MapReduce), and sent directly to the database to be executed.
9. GridFS »
Store files of any size without complicating your stack.
I like the helpful info you provide to your
articles. I will bookmark your blog and take a look at once more here
regularly. I’m slightly sure I will be informed lots of new stuff proper here!
Good luck for the following!
Howdy just wanted to give you a quick heads up. The text
in your article seem to be running off the screen in Firefox.
I’m not sure if this is a formatting issue or something to do with internet browser compatibility but I figured I’d
post to let you know. The style and design look great
though! Hope you get the issue fixed soon. Cheers
Pretty section of content. I just stumbled upon your blog and in accession capital to assert that I get in fact enjoyed account your blog posts.
Anyway I will be subscribing to your augment and even I achievement you
access consistently quickly.
Thank you for the auspicious writeup. It in fact was a amusement account
it. Look advanced to far added agreeable from you!
By the way, how can we communicate?
Thanks for writing us.
Please mark a mail to info@eduguru.in
Regards,
Eduguru Team
Hi, the whole thing is going well here and ofcourse every
one is sharing information, that’s genuinely good, keep up writing.
Very nice post. I just stumbled upon your blog and wanted to say that I’ve truly enjoyed browsing your blog posts.
In any case I will be subscribing to your rss feed and I hope
you write again very soon!
An interesting discussion is definitely worth comment.
I do think that you need to write more about this topic, it might not
be a taboo subject but typically folks don’t talk about these issues.
To the next! Many thanks!!
I just like the valuable information you supply for your articles.
I’ll bookmark your weblog and check again here frequently.
I’m moderately certain I’ll be informed lots of new stuff proper here!
Good luck for the following!
You actually make it appear really easy together with your presentation but I find this matter to be
actually one thing that I believe I’d by no means understand.
It kind of feels too complex and extremely wide for me.
I’m having a look ahead on your subsequent put up, I’ll attempt to get the hold of it!
I was wondering if you ever considered changing the layout of your website?
Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so
people could connect with it better. Youve got an awful lot of text
for only having 1 or 2 images. Maybe you could space it out better?
Hi! This is my 1st comment here so I just wanted to give a quick shout out and say
I really enjoy reading through your posts. Can you suggest any other blogs/websites/forums that cover the same subjects?
Many thanks!
Also visit my blog: website (Arielle)
Magnificent beat ! I would like to apprentice while you amend your site, how could i subscribe
for a blog site? The account helped me a acceptable deal.
I had been tiny bit acquainted of this your broadcast provided bright
clear concept
I’m not sure where you are getting your information, but great topic.
I needs to spend some time learning much more or understanding more.
Thanks for wonderful info I was looking for this information for my mission.