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