Created
May 6, 2014 18:19
-
-
Save FrancescaK/92b1eec30d9fa73d54a2 to your computer and use it in GitHub Desktop.
Tiered_Storage_Gist12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh.status() | |
--- Sharding Status --- | |
sharding version: { | |
"_id" : 1, | |
"version" : 3, | |
"minCompatibleVersion" : 3, | |
"currentVersion" : 4, | |
"clusterId" : ObjectId("5314f1487abd6cb2803696d6") | |
} | |
shards: | |
{ "_id" : "shard0000", "host" : "Server1:27017", "tags" : [ "current" ] } | |
{ "_id" : "shard0001", "host" : "Server1:27017", "tags": [ "tier-2" ] } | |
{ "_id" : "shard0002", "host" : "Server1:27017", "tags": [ "tier-2" ] } | |
databases: | |
{ "_id" : "admin", "partitioned" : false, "primary" : "config" } | |
{ "_id" : "test", "partitioned" : false, "primary" : "shard0000" } | |
{ "_id" : "enron", "partitioned" : true, "primary" : "shard0000" } | |
enron.messages | |
shard key: { "date" : 1 } | |
chunks: | |
shard0001 7 | |
shard0002 6 | |
shard0000 2 | |
{ "date" : { "$minKey" : 1 } } -->> { "date" : ISODate("2001-02-16T10:55:00Z") } on : shard0001 Timestamp(2, 0) | |
{ "date" : ISODate("2001-02-16T10:55:00Z") } -->> { "date" : ISODate("2001-03-06T10:04:00Z") } on : shard0002 Timestamp(3, 0) | |
{ "date" : ISODate("2001-03-06T10:04:00Z") } -->> { "date" : ISODate("2001-03-20T22:12:00Z") } on : shard0001 Timestamp(4, 0) | |
{ "date" : ISODate("2001-03-20T22:12:00Z") } -->> { "date" : ISODate("2001-04-03T13:37:14Z") } on : shard0002 Timestamp(5, 0) | |
{ "date" : ISODate("2001-04-03T13:37:14Z") } -->> { "date" : ISODate("2001-04-17T13:50:16Z") } on : shard0001 Timestamp(6, 0) | |
{ "date" : ISODate("2001-04-17T13:50:16Z") } -->> { "date" : ISODate("2001-04-27T16:29:00Z") } on : shard0002 Timestamp(7, 0) | |
{ "date" : ISODate("2001-04-27T16:29:00Z") } -->> { "date" : ISODate("2001-05-09T12:27:00Z") } on : shard0001 Timestamp(8, 0) | |
{ "date" : ISODate("2001-05-09T12:27:00Z") } -->> { "date" : ISODate("2001-05-18T07:46:00Z") } on : shard0002 Timestamp(9, 0) | |
{ "date" : ISODate("2001-05-18T07:46:00Z") } -->> { "date" : ISODate("2001-05-30T19:21:00Z") } on : shard0001 Timestamp(10, 0) | |
{ "date" : ISODate("2001-05-30T19:21:00Z") } -->> { "date" : ISODate("2001-06-08T12:49:56Z") } on : shard0002 Timestamp(11, 0) | |
{ "date" : ISODate("2001-06-08T12:49:56Z") } -->> { "date" : ISODate("2001-07-01T00:00:00Z") } on : shard0001 Timestamp(12, 0) | |
{ "date" : ISODate("2001-07-01T00:00:00Z") } -->> { "date" : ISODate("2001-07-12T20:25:00Z") } on : shard0002 Timestamp(13, 0) | |
{ "date" : ISODate("2001-07-12T20:25:00Z") } -->> { "date" : ISODate("2001-08-01T00:00:00Z") } on : shard0001 Timestamp(14, 0) | |
{ "date" : ISODate("2001-08-01T00:00:00Z") } -->> { "date" : ISODate("2001-08-20T19:34:00Z") } on : shard0000 Timestamp(14, 1) | |
{ "date" : ISODate("2001-08-20T19:34:00Z") } -->> { "date" : { "$maxKey" : 1 } } on : shard0000 Timestamp(1, 12) | |
tag: tier-2 { "date" : { "$minKey" : 1 } } -->> { "date" : ISODate("2001-08-01T00:00:00Z") } | |
tag: current { "date" : ISODate("2001-08-01T00:00:00Z") } -->> { "date" : { "$maxKey" : 1 } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment