Created
May 6, 2014 18:17
-
-
Save FrancescaK/b83a518ec21ae1e56f0b to your computer and use it in GitHub Desktop.
Tiered_Storage_Gist11
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("53616554992f1bbce576f9fd") | |
} | |
shards: | |
{ "_id" : "shard0000", "host" : "Server1:27017", "tags" : [ "current" ] } | |
{ "_id" : "shard0001", "host" : "Server2:27017", "tags" : [ "tier-2" ] } | |
{ "_id" : "shard0002", "host" : "Server3: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: | |
shard0002 6 | |
shard0001 7 | |
shard0000 3 | |
{ "date" : { "$minKey" : 1 } } -->> { "date" : ISODate("2001-02-01T07:48:00Z") } on : shard0002 Timestamp(5, 0) | |
{ "date" : ISODate("2001-02-01T07:48:00Z") } -->> { "date" : ISODate("2001-02-09T11:24:00Z") } on : shard0002 Timestamp(6, 0) | |
{ "date" : ISODate("2001-02-09T11:24:00Z") } -->> { "date" : ISODate("2001-02-23T08:09:00Z") } on : shard0002 Timestamp(7, 0) | |
{ "date" : ISODate("2001-02-23T08:09:00Z") } -->> { "date" : ISODate("2001-03-06T09:11:00Z") } on : shard0002 Timestamp(8, 0) | |
{ "date" : ISODate("2001-03-06T09:11:00Z") } -->> { "date" : ISODate("2001-03-19T19:21:00Z") } on : shard0002 Timestamp(9, 0) | |
{ "date" : ISODate("2001-03-19T19:21:00Z") } -->> { "date" : ISODate("2001-03-28T15:04:00Z") } on : shard0002 Timestamp(10, 0) | |
{ "date" : ISODate("2001-03-28T15:04:00Z") } -->> { "date" : ISODate("2001-04-10T16:06:49Z") } on : shard0001 Timestamp(10, 1) | |
{ "date" : ISODate("2001-04-10T16:06:49Z") } -->> { "date" : ISODate("2001-04-23T17:00:35Z") } on : shard0001 Timestamp(3, 10) | |
{ "date" : ISODate("2001-04-23T17:00:35Z") } -->> { "date" : ISODate("2001-05-06T23:20:00Z") } on : shard0001 Timestamp(3, 11) | |
{ "date" : ISODate("2001-05-06T23:20:00Z") } -->> { "date" : ISODate("2001-05-11T15:19:00Z") } on : shard0001 Timestamp(4, 1) | |
{ "date" : ISODate("2001-05-11T15:19:00Z") } -->> { "date" : ISODate("2001-05-23T10:06:00Z") } on : shard0001 Timestamp(4, 2) | |
{ "date" : ISODate("2001-05-23T10:06:00Z") } -->> { "date" : ISODate("2001-06-05T16:24:00Z") } on : shard0001 Timestamp(3, 14) | |
{ "date" : ISODate("2001-06-05T16:24:00Z") } -->> { "date" : ISODate("2001-07-01T00:00:00Z") } on : shard0001 Timestamp(3, 15) | |
{ "date" : ISODate("2001-07-01T00:00:00Z") } -->> { "date" : ISODate("2001-07-27T09:08:00Z") } on : shard0000 Timestamp(3, 2) | |
{ "date" : ISODate("2001-07-27T09:08:00Z") } -->> { "date" : ISODate("2001-09-01T03:05:08Z") } on : shard0000 Timestamp(3, 3) | |
{ "date" : ISODate("2001-09-01T03:05:08Z") } -->> { "date" : { "$maxKey" : 1 } } on : shard0000 Timestamp(4, 0) | |
tag: tier-2 { "date" : { "$minKey" : 1 } } -->> { "date" : ISODate("2001-07-01T00:00:00Z") } | |
tag: current { "date" : ISODate("2001-07-01T00:00:00Z") } -->> { "date" : { "$maxKey" : 1 } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment