daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest May 16th, 2018 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. > printShardingStatus( db.getSisterDB( "config" ) );
  2. --- Sharding Status ---
  3.   sharding version: { "_id" : ObjectId("4b19c4c7b91c4d86cca3a965"), "version" : 2 }
  4.   shards:
  5.       { "_id" : ObjectId("4b19c508b91c4d86cca3a966"), "host" : "localhost:10000" }
  6.       { "_id" : ObjectId("4b19c50cb91c4d86cca3a967"), "host" : "localhost:10001" }
  7.   databases:
  8.     { "name" : "admin", "partitioned" : false, "primary" : "localhost:20000", "_id" : ObjectId("4b19c508d62f31a9332663ee") }
  9.         my chunks
  10.     { "name" : "irc_logs", "partitioned" : true, "primary" : "localhost:10001", "sharded" : { "irc_logs.messages" : { "key" : { "_id" : 1 }, "unique" : false } }, "_id" : ObjectId("4b19c525d62f31a9332663ef") }
  11.         my chunks
  12.             irc_logs.messages { "_id" : { $minKey : 1 } } -->> { "_id" : ObjectId("4b19c56a3e54861c3e000002") } on : localhost:10001 { "t" : 1259982786000, "i" : 2 }
  13.             irc_logs.messages { "_id" : ObjectId("4b19c56a3e54861c3e000002") } -->> { "_id" : ObjectId("4b19d0343e54861d0704928a") } on : localhost:10001 { "t" : 1259982901000, "i" : 2 }
  14.             irc_logs.messages { "_id" : ObjectId("4b19d0343e54861d0704928a") } -->> { "_id" : ObjectId("4b19d3563e54861d0709d2bd") } on : localhost:10001 { "t" : 1259983703000, "i" : 2 }
  15.             irc_logs.messages { "_id" : ObjectId("4b19d3563e54861d0709d2bd") } -->> { "_id" : { $maxKey : 1 } } on : localhost:10001 { "t" : 1259983703000, "i" : 3 }
  16.     { "name" : "test", "partitioned" : false, "primary" : "localhost:10000", "_id" : ObjectId("4b19ce8bd62f31a9332663f1") }
  17.         my chunks
  18.  
  19. >
RAW Paste Data
Top