2020年7月12日

MySQL主从

摘要: MySQL主从配置 读写分离:写数据到主库,读数据到从库,从库会自动同步主库的数据 复制原有mysql,重命名并修改my.ini 主库my.ini [mysqld] #开启日志 log_bin = mysql-bin #屏蔽系统库同步 binlog-ignore-db = mysql binlog- 阅读全文

posted @ 2020-07-12 16:39 大桃桃 阅读(163) 评论(0) 推荐(0) 编辑

Shardingsphere分库分表

摘要: 中文官方文档 https://shardingsphere.apache.org/document/current/cn/overview/ 依赖包 <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>shard 阅读全文

posted @ 2020-07-12 16:01 大桃桃 阅读(348) 评论(0) 推荐(1) 编辑

导航