Differences between hbase and MongoDB in Design

Source: Internet
Author: User

Reprinted: http://leongfans.iteye.com/blog/1019383

I searched MongoDB information yesterday and introduced a lot of applications, but not many principles.
After a rough look, the two design ideas are similar in general. They mainly distribute data by dividing intervals and split data by background processes.

The differences between the two are as follows:
1. hbase depends on HDFS. MongoDB is directly stored on a local disk.
2. hbase stores data in different files according to the column family. MongoDB does not list data, and the entire document is stored in one (or a group of) files. Each file has a common one. NS file storage namespace (the difference between column-based and document-based should refer to this place)

3. hbase a region only has one hregionserver to provide external services (without the concept of Server Load balancer). MongoDB's shards (similar to Region) Support Server Load balancer (master-slave structure, log synchronization, this hbase is also under development plan)

4. hbase controls region split Based on the file size. MongoDB determines shards Split Based on the load (without in-depth research, I do not know how to split Based on the load)

MongoDB 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
Blog of http://blog.csdn.net/daizhj cool man

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.