This sample demonstrates database sharding using Java.
In a console window run
xsql –size 1024m –p 5000Then in a second console window run
xsql –size 1024m –p 5001Then in a third console window run
ShardingBut it is more instructive to run one instance in your development environment debugger, stepping through the code.