We have 3 shard cluster, The cluster shard1 and shard2 have the highest hardware specification. but the shard3 has lower hardware specification. we have collection called users and has field cookies.
Is there any possibility to config to shard based on whether or not the field for cookie exists ?
if it exists, the document should be on shard1 and shard2, and if it does not exist, the document should be on shard3.
The goal is for cost optimization our cluster.
Skip to main content
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
mongodb replica set one shard cannot be restored | 0 | 528 | May 2024 |
MongoDB Server Error | 1 | 839 | Jun 2024 |
Issues facing in the MongoDB Sharding configurations | 0 | 273 | Jul 2024 |
Error while connecting the Mongos to mongo config server | 2 | 366 | Jul 2024 |
Migrating shard cluster to replica set | 0 | 50 | Aug 2024 |