GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - yudiandemingzi/spring-boot-sharding-sphere: SpringBoot + ShardingSphere 实现读写分离 分库分表

BranchesTags
Open more actions menu

Latest commit

 

History

24 Commits
24 Commits

Folders and files

NameName
Last commit message
Last commit date
db-read-write
db-read-write
 
 
sub-db-table-read-write
sub-db-table-read-write
 
 
sub-db-table
sub-db-table
 
 
sub-table-read-write
sub-table-read-write
 
 
sub-table
sub-table
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

ShardingSphere实现分库 + 读写分离

有关ShardingSphere实现分库分表前面写了7篇博客作为该项目做详细说明。

1、分库分表(1) --- 理论

2、分库分表(2) --- ShardingSphere(理论)

3、分库分表(3) ---SpringBoot + ShardingSphere实现读写分离

4、分库分表(4) ---SpringBoot + ShardingSphere 实现分表

5、分库分表(5) ---SpringBoot + ShardingSphere 实现分库分表

6、分库分表(6)--- SpringBoot+ShardingSphere实现分表+ 读写分离

7、分库分表(7)--- SpringBoot+ShardingSphere实现分库分表 + 读写分离

该项目拉下后配置数据库地址,和创建相应的库和表后就可以运行成功。

一、项目概述

1、技术架构

项目总体技术选型

SpringBoot2.0.6 + shardingsphere4.0.0-RC1 + Maven3.5.4  + MySQL + lombok(插件)

2、项目说明

场景 在实际开发中,如果数据库压力大我们可以通过 分库分表 的基础上进行 读写分离,来减缓数据库压力。

3、项目整体结构

spring-boot-sharding-ssphere # 父工程
 
  | #实现读写分离功能
  ---db-read-write 
 
  | #实现分表功能
  ---sub-table
    
  | #实现分库分表功能
  ---sub-db-table                      
     
  | #实现分表 + 读写分离
  ---sub-table-read-write                                        
  
   | #实现分库分表 + 读写分离
  ---sub-db-table-read-write                  
                        

acda64387e0896604b5932dc433c8b77


About

SpringBoot + ShardingSphere 实现读写分离 分库分表

Resources

Readme
Activity

Stars

366 stars

Watchers

7 watching

Forks

225 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.