, ObjectID, , .
(http://docs.mongodb.org/manual/core/sharded-cluster-internals/ " " ):
"[T] [ObjectID] , , . [] , , . ."
, OID "", , , , OID, , - / . ( OID, - , ..).
In contrast, if you select a random row as the fragment key, the records will be evenly distributed across the cluster, and your throughput will be the total input-output of the entire cluster.
(EDIT should be complete: with the key of the OID fragment, since the new records landed on the “rightmost” fragment, the balancer will handle moving them elsewhere, so they will end up on other machines. But this does not solve the I / O problem it really makes her worse.)
source
share