单实例,当MongoDB单表数据文件太大导致写入速度变慢


单实例,当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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM