The difference between HBase and MongoDB in design

Source: Internet
Author: User
Tags mongodb
Yesterday, search MongoDB data, introduction of the application of more, the principle of the introduction of not much.
Rough to look at, overall, the design of the two ideas are similar, mainly through the range to distribute data, background process data splitting

The difference between the two is mainly:
1. HBase relies on Hdfs;mongodb to be stored directly on the local disk
2, HBase according to the column family to store the data in different files; MongoDB is not separated, the entire document is stored in one (or a group) of files, Save a namespace through a generic. ns file (the difference between column-based and document-based should mean this place)
3, hbase a region only one hregionserver external service (no load balancing concept); MongoDB shards (similar to region) supports load balancing (master-slave structure, synchronization via log, This hbase is also in the development plan)
4, HBase According to the size of the file to control the division of region, MongoDB based on the load to determine shards split (no in-depth study, do not know how to load)

MongoDB Related introduction:
http://www.mongodb.org/
Http://www.slideshare.net/mdirolf/inside-mongodb-the-internals-of-an-opensource-database
Http://www.ningoo.net/html/2011/mongodb_in_a_nutshell_1.html

Http://blog.csdn.net/daizhj

Http://vschart.com/compare/hbase/vs/mongodb

Http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis

Http://hammerprinciple.com/databases/items/hbase/mongodb

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.