Tag-aware Sharding commands

use dbversity db.nosql.ensureIndex({“mongodb” : 1}) db.rbdms.ensureIndex({“oracle” : 1}) db.newsql.ensureIndex({“memsql” : 1}) sh.enableSharding(“dbversity”) use admin db.runCommand({shardCollection: “dbversity.nosql”, key : {“mongodb”:1}}) db.runCommand({shardCollection: “dbversity.rbdms”, key : {“oracle”:1}}) db.runCommand({shardCollection: “dbversity.newsql”, key : {“memsql”:1}}) sh.startBalancer() sh.isBalancerRunning() sh.getBalancerState() for (var i=0; i