MongoDB 限制:2.5 亿后插入记录缓慢
MongoDB Limits : Slow to insert records after 250 million
所以我在 Windows 2016 年的服务器上安装了最新的 MongoDb,在我达到大约 2.5 亿条记录(2 个字段,URL、正文、URL 上的 1 个索引),现在插入需要更长的时间(从几秒到几分钟)。
快速磁盘 (SAN),大量 ram(它使用 128gb 中的 64gb),有某种限制吗?
我的目标是插入 28 亿条记录。
Mongo 4.2 Windows 服务器 2016 DC
数据只是 URL
上的 ID/URL/Body 索引
CFG(默认)
mongod.conf
for documentation of all options, see:
http://docs.mongodb.org/manual/reference/configuration-options/
Where and how to store data. storage: dbPath: Z:\data journal:
enabled: true
engine:
mmapv1:
wiredTiger:
where to write logging data. systemLog: destination: file logAppend: true path: C:\Program
Files\MongoDB\Server.2\log\mongod.log
network interfaces net: port: 27017 bindIp: 192.168.0.150,127.0.0.1
processManagement:
security:
operationProfiling:
replication:
sharding:
Enterprise-Only Options:
auditLog:
snmp:
is there some sort of limit?
MongoDB 描述了限制 here。
MongoDB不限制自身性能.
所以我在 Windows 2016 年的服务器上安装了最新的 MongoDb,在我达到大约 2.5 亿条记录(2 个字段,URL、正文、URL 上的 1 个索引),现在插入需要更长的时间(从几秒到几分钟)。
快速磁盘 (SAN),大量 ram(它使用 128gb 中的 64gb),有某种限制吗?
我的目标是插入 28 亿条记录。
Mongo 4.2 Windows 服务器 2016 DC
CFG(默认)
mongod.conf
for documentation of all options, see:
http://docs.mongodb.org/manual/reference/configuration-options/
Where and how to store data. storage: dbPath: Z:\data journal:
enabled: true
engine:
mmapv1:
wiredTiger:
where to write logging data. systemLog: destination: file logAppend: true path: C:\Program
Files\MongoDB\Server.2\log\mongod.log
network interfaces net: port: 27017 bindIp: 192.168.0.150,127.0.0.1
processManagement:
security:
operationProfiling:
replication:
sharding:
Enterprise-Only Options:
auditLog:
snmp:
is there some sort of limit?
MongoDB 描述了限制 here。
MongoDB不限制自身性能.