In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
For more important systems, the more the better, but there is always a minimum. It's like someone asking oracle rac how many nodes would be better. [@ more@]
The answer is three: main library, read library, and ready library.
Because of the management principle of Myisam locks, the query will block updates, and mysqlhotcopy will lock the table to prevent updates and queries. The availability of the system is greatly affected.
In this way, for systems that do read-write separation, in addition to writing and reading libraries, there must be a library for backup and report queries. Because report queries generally take a long time, it is impossible to allow the read library to be blocked for a long time, and as the database capacity increases, the backup time will become very long. Therefore, the role of the library is to alleviate these two parts, and another function of the library is to do replication. As we all know, when you do replication, you must lock all the tables, so reading the library obviously cannot be used as this role. And in critical systems, in order to prevent human error, delayed replication of MYSQL may be used. How to achieve delayed replication can be seen in my blog or google. Then the standby library can play this role at this time, so even if the conditions are again limited, there should be at least three libraries for highly available systems.
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.