apache.shardingsphere 读写分离、分库分表(后续再完善读写分离+分库分表)
读写分离#添加依赖 <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>sharding-jdbc-core</artifactId> <version>4.0.0-RC1</version> </dependency>#yml数据库配置(根节点)database0: url: jd
原创
2021-05-11 11:47:31 ·
471 阅读 ·
0 评论