mongorestore问题
https://groups.google.com/g/mongodb-user/c/NYCXhKvxh-4
https://groups.google.com/g/mongodb-user/c/Bjta64RXRVE
https://groups.google.com/g/mongodb-user/c/2Ob300olwKM
https://groups.google.com/g/mongodb-user/c/XQN9wUrTWQY
https://support.huaweicloud.com/mongoug-nosql/mongo_migration_0004.html
https://www.alibabacloud.com/help/zh/mongodb/use-cases/confirm-the-progress-of-adding-or-removing-shard-nodes
echo never > /sys/kernel/mm/transparent_hugepage/enabled
echo never > /sys/kernel/mm/transparent_hugepage/defrag
systemctl list-units|grep mongo|awk '{print $1}'|xargs -I {} systemctl cat {}|egrep mongodb.*service|awk '{print $NF}'|xargs -I {} sed -i 's#ExecStart = /data/#ExecStart = /usr/bin/numactl --interleave=all /data/#g' {}
systemctl list-units|grep mongo|awk '{print $1}'|xargs -I {} systemctl cat {}|egrep mongodb.*service|awk '{print $NF}'|xargs -I {} cat {}|grep ExecStart
https://www.mongodb.com/zh-cn/docs/manual/administration/production-notes/
shared
https://www.mongodb.com/zh-cn/docs/manual/sharding/
https://www.mongodb.com/zh-cn/docs/manual/core/hashed-sharding/
https://help.aliyun.com/zh/mongodb/use-cases/configure-sharding-to-maximize-the-performance-of-shards
https://www.mongodb.com/zh-cn/docs/v5.0/core/sharding-choose-a-shard-key/#std-label-sharding-shard-key-selection
浙公网安备 33010602011771号