我正在使用命令作为
mongoimport -h m3 -d staging -c coll --upsert --upsertFields name < part1
我64-bit
在一台机器上安装了 mongoDB,这就是我在 upserts 方面看到的
1300 433/second
1900 316/second
2400 266/second
2800 233/second
3100 206/second
3400 188/second
3700 168/second
4000 160/second
4200 150/second
4400 141/second
4600 135/second
4800 129/second
5100 124/second
5300 120/second
5500 117/second
5700 114/second
5900 109/second
6100 107/second
6300 105/second
6500 101/second
6700 100/second
6900 97/second
7100 94/second
7300 92/second
7500 90/second
7700 88/second
7900 86/second
8000 85/second
8200 83/second
8400 81/second
8600 80/second
8700 79/second
8900 77/second
9100 75/second
9300 74/second
9500 73/second
它几乎变得非常糟糕32/sec
。我的收藏最初是空的
如何增加每秒插入/更新插入?