Lots of MongoDB users enjoy the flexibility of custom shard keys in organizing a sharded collection's documents. For certain common workloads though, like key/value lookup, using the natural choice of _id as a shard key isn't optimal because default ObjectId's are ascending, resulting in poor write distribution.
No comments:
Post a Comment