Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
3
Impact
~498 people reached

  • 0 posts edited
  • 0 helpful flags
  • 5 votes cast
Sep
6
comment Is sharding effective for small collections?
Honestly, I find that you can often "cheat" on the indexes too. If you have two collections foo and bar with the same data structure, you can merge them into the baz collection and override the _ids (in code): { _id: "foo123" }, { _id: "bar123" }. You have a larger index, but you have only one index that includes the type. Not a requirement, just "food for thought".
Sep
6
comment Is sharding effective for small collections?
FYI default chunk size is 64MB as of 1.8.