Created
May 6, 2014 18:11
-
-
Save FrancescaK/6ce0b2ca9092da898244 to your computer and use it in GitHub Desktop.
Tiered_Storage_Gist6
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
db.messages.ensureIndex({date:1}) | |
sh.shardCollection('enron.messages',{date:1}) | |
{ "collectionsharded" : "enron.messages", "ok" : 1 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment