Created
May 6, 2014 18:13
-
-
Save FrancescaK/7500ead3d04d50d63939 to your computer and use it in GitHub Desktop.
Tiered_Storage_Gist9
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
var configdb = db.getSiblingDB("config") | |
configdb.tags.find().pretty() | |
{ | |
"_id" : { | |
"ns" : "enron.messages", | |
"min" : { | |
"date" : { "$minKey" : 1 } | |
} | |
}, | |
"ns" : "enron.messages", | |
"min" : { | |
"date" : { "$minKey" : 1 } | |
}, | |
"max" : { | |
"date" : ISODate("2001-07-01T00:00:00Z") | |
}, | |
"tag" : "tier-2" | |
} | |
{ | |
"_id" : { | |
"ns" : "enron.messages", | |
"min" : { | |
"date" : ISODate("2001-07-01T00:00:00Z") | |
} | |
}, | |
"ns" : "enron.messages", | |
"min" : { | |
"date" : ISODate("2001-07-01T00:00:00Z") | |
}, | |
"max" : { | |
"date" : { "$maxKey" : 1 } | |
}, | |
"tag" : "current" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment