Sharding

    Shards are configured per collection so multiple shards of data formthe collection as a whole. To determine in which shard the data is tobe stored ArangoDB performs a hash across the values. By default thishash is being created from _key.

    To configure the hashing for another attribute:

    On which node in a cluster a particular shard is kept is undefined.There is no option to configure an affinity based on certain shard keys.