Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > printShardingStatus( db.getSisterDB( "config" ) );
- --- Sharding Status ---
- sharding version: { "_id" : ObjectId("4b19c4c7b91c4d86cca3a965"), "version" : 2 }
- shards:
- { "_id" : ObjectId("4b19c508b91c4d86cca3a966"), "host" : "localhost:10000" }
- { "_id" : ObjectId("4b19c50cb91c4d86cca3a967"), "host" : "localhost:10001" }
- databases:
- { "name" : "admin", "partitioned" : false, "primary" : "localhost:20000", "_id" : ObjectId("4b19c508d62f31a9332663ee") }
- my chunks
- { "name" : "irc_logs", "partitioned" : true, "primary" : "localhost:10001", "sharded" : { "irc_logs.messages" : { "key" : { "_id" : 1 }, "unique" : false } }, "_id" : ObjectId("4b19c525d62f31a9332663ef") }
- my chunks
- irc_logs.messages { "_id" : { $minKey : 1 } } -->> { "_id" : ObjectId("4b19c56a3e54861c3e000002") } on : localhost:10001 { "t" : 1259982786000, "i" : 2 }
- irc_logs.messages { "_id" : ObjectId("4b19c56a3e54861c3e000002") } -->> { "_id" : ObjectId("4b19d0343e54861d0704928a") } on : localhost:10001 { "t" : 1259982901000, "i" : 2 }
- irc_logs.messages { "_id" : ObjectId("4b19d0343e54861d0704928a") } -->> { "_id" : ObjectId("4b19d3563e54861d0709d2bd") } on : localhost:10001 { "t" : 1259983703000, "i" : 2 }
- irc_logs.messages { "_id" : ObjectId("4b19d3563e54861d0709d2bd") } -->> { "_id" : { $maxKey : 1 } } on : localhost:10001 { "t" : 1259983703000, "i" : 3 }
- { "name" : "test", "partitioned" : false, "primary" : "localhost:10000", "_id" : ObjectId("4b19ce8bd62f31a9332663f1") }
- my chunks
- >
Add Comment
Please, Sign In to add comment