In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Master_info_repository has two values, file and table, which determine the state of the slave record master. If the parameter is file, the master.info file is created, and if the parameter value is table, the slave_master_info table is created in mysql.
The sync_master_info parameter determines how slave refreshes the state of the master. And the refresh method is different with different parameters of master_info_repository.
1) if master_info_repository=file,sync_master_info=N, where N > 0, then slave will be synchronized to the master.info file using fdatasync () after every N events. If sync_master_info=N, where Number0, then MySQL will write the status information to the OS Cache, waiting for the operating system to synchronize.
2) if master_info_repository=table,sync_master_info=N, if N > 0, then slave will update the mysql.slave_master_info table after every N events, and if Number0, then the mysql.slave_master_info table will never be updated.
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.