ShardingSphere-Scaling (Experimental)
- 1. Rule Configuration
- 2. Import Dependencies
- 3. Start Server
- 4. Create Migration Job
- 5. Related documents
1. Rule Configuration
Edit %SHARDINGSPHERE_PROXY_HOME%/conf/server.yaml
. Please refer to Build Manual for more details.
%SHARDINGSPHERE_PROXY_HOME% is the shardingsphere proxy extract path. for example: /Users/ss/shardingsphere-proxy-bin/
2. Import Dependencies
If the backend database is PostgreSQL, there’s no need for additional dependencies.
If the backend database is MySQL, please download mysql-connector-java-5.1.47.jar and put it into %SHARDINGSPHERE_PROXY_HOME%/lib
directory.
3. Start Server
sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh
4. Create Migration Job
Use DistSQL interface to manage the migration jobs.
Please refer to Usage Manual for more details.
5. Related documents
- Features#Scaling : Core Concept, User Norms
- User Manual#Scaling : Build, Manual
- RAL#Scaling : DistSQL for Scaling
- Dev Manual#Scaling : SPI interfaces and implementations
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .