Implement DB sharding with ibatis