In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
What are the differences between NoSQL database Cassandra and HBase and MongoDB in dealing with failures? in view of this problem, this article introduces the corresponding analysis and solutions in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
When an application is dealing with a large amount of unstructured data created by NoSQL, it is important to maintain the stability and effectiveness of the operation. It is also important for users to understand the characteristics and nuances of each database when deciding on the main architecture of the persistent stack (persistence stack).
What are the differences between NoSQL databases Cassandra, HBase and MongoDB in dealing with failures
Cassandra
Cassandra ensures the efficiency of write operations, but it takes a long time to recover data from errors. Because Cassandra recognizes all the data that needs to be recovered, and then restores the latest version of each data. And because it responds to requests to add nodes during data recovery, it is likely to return incorrect results. If the level of data consistency cannot be improved, it cannot be used to require "read processing" services.
What are the differences between NoSQL databases Cassandra, HBase and MongoDB in dealing with failures
HBase
Due to the structural problems of HBase, there may be a variety of factors leading to its errors. However, unlike Cassandra, which must recover data from errors, HBase only needs to recover if an error occurs in HDFS (Hadoop Distributed File System-Hadoop distributed File system), which results in a short downtime for HBase. During the period of HDFS failure, the failure time caused by HBase does not seem to be long.
MongoDB
MongoDB provides a technology called automatic backup on error (failover), and it also produces a short downtime. However, its asynchronous replication method may result in the loss of some data after automatic backup.
The answers to the questions about the differences between NoSQL database Cassandra and HBase and MongoDB in dealing with failures are shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.