Sorting in case of Sharding in mongodb

I implemented sharding in mongodb when we outlined a collection of up to two mongod skulls based on a hashed fragment key, so that it performs parallel sorting inside the fragments. After that, how does it sort the collection based on _id? and what other considerations might be? what:

  • Limiting the hashed fragment key?
  • What sorting procedure does the mongo query router use to sort records received from fragments?
  • Will the request be affected due to network latency?
+4
source share
1 answer

( , Google .)

0

Source: https://habr.com/ru/post/1540184/


All Articles