單實例,當MongoDB單表數據文件太大導致寫入速度變慢
解決辦法(待測試):
文件拆分成小文件。主要參數有
Storage options:
--storageEngine arg what storage engine to use - defaults
to wiredTiger if no data files present
--directoryperdb each database will be stored in a
separate directory
--quota limits each database to a certain
number of files (8 default)
--quotaFiles arg number of files allowed per db, implies
--quota