随笔分类 -  shardingjdbc

分库分表
摘要:application.yml spring: shardingsphere: props: sql-show: true datasource: names: db0,db1 db0: type: com.zaxxer.hikari.HikariDataSource driver-class-na 阅读全文
posted @ 2025-06-12 14:36 Peter.Jones 阅读(16) 评论(0) 推荐(0)
摘要:pom.xml <!-- 数据库分片 --> <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId> 阅读全文
posted @ 2025-06-12 14:30 Peter.Jones 阅读(21) 评论(0) 推荐(0)