In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
After using the binlog_ignore_db parameter on MySQL master, all statements executed by mysq-e do not write binlog.
Looking at the MySQL operation manual, ignoring the copy of a library has two parameters:
1 、 binlog_ignore_db
If this parameter is set to master, such as binlog_ignore_db=test, then all operations (add, delete, change) against the library will not be recorded, so that the number of binlog accepted by slave will be reduced, and the network I will be reduced.
2 、 replicate_ignore_db
If this parameter is set on slave, such as replicate_ignore_db=test, then all operations (add, delete, change) under the library will not be performed by the SQL thread, so that although the performance of slave O has not been improved, it ensures the security of slave data.
If the binlog_ignore_db=test parameter is used in master, the executed SQL must use the use command, otherwise the data cannot be synchronized
Suggestion: if you want to ignore a library on slave, use replicate_ignore_db instead of binlog_ignore_db.
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.