ShardingSphere-Scaling (Experimental)

Rule Configuration

Edit %SHARDINGSPHERE_PROXY_HOME%/conf/server.yaml.

%SHARDINGSPHERE_PROXY_HOME% is the shardingsphere proxy extract path. for example: /opt/shardingsphere-proxy-bin/

Please refer to Build Manual for more details.

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.

Start Server

  1. sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh

Create Migration Job

Use DistSQL interface to manage the migration jobs.

Please refer to Usage Manual for more details.