计算机与数字工程2016,Vol.44Issue(9):1855-1859,5.DOI:10.3969/j.issn.1672-9722.2016.09.048
基于 Zookeeper 框架实现 MySQL 分布式数据库集群磁
Design and Implementation of Zookeeper in Distributed MySQL Database Cluster
张旭刚 1李东辉 1俞俊 1朱广新 1郑磊1
作者信息
- 1. 南京南瑞集团公司信息系统集成分公司 南京 210000
- 折叠
摘要
Abstract
Data consistency is always based on log replication among MySQL cluster .First ,master database receives io_thread request from slave database ,read log information of specified location and repsond the information to io _thread of slave database .Then ,io_thread of slave databased appends the log information to relay‐log ,sql thread of slave database ana‐lyses relay‐log and executes the sql statements .The MySQL cluster based on log replication lacks unified architecture to real‐ize automated management and needs maintenace for monitoring data consistency ,master‐slave switchover and rejoining clus‐ter after disaster recovery .To realize automated management for MySQL Cluster ,the topic adopts zookeeper to monitor and manage state ,resources ,data consistency and switchover between master and slave databased .关键词
MySQL Zookeeper/主从切换/自动化管理Key words
MySQL Zookeeper/master-slave switch/automated management分类
信息技术与安全科学引用本文复制引用
张旭刚,李东辉,俞俊,朱广新,郑磊..基于 Zookeeper 框架实现 MySQL 分布式数据库集群磁[J].计算机与数字工程,2016,44(9):1855-1859,5.