官术网_书友最值得收藏!

fsync

MongoDB normally writes all operations to the disk every 60 seconds. fsync will force data to persist to disk immediately and synchronously.

If we want to take a backup of our databases we need to apply a lock as well. Locking will block all writes and some reads while fsync is operating.

In almost all cases, it's better to use journaling and refer to our techniques for backup and restore in Chapter 7, Monitoring, Backup, and Security, for maximum availability and performance.

主站蜘蛛池模板: 德阳市| 班戈县| 芜湖县| 保定市| 梨树县| 乌审旗| 尼勒克县| 疏勒县| 新宁县| 清远市| 喀喇沁旗| 东台市| 衡东县| 兰坪| 高州市| 陆丰市| 虞城县| 治县。| 松滋市| 克拉玛依市| 武平县| 麻栗坡县| 苏尼特右旗| 中江县| 迭部县| 卓资县| 阳城县| 蛟河市| 龙泉市| 吉安县| 临沭县| 丹巴县| 高安市| 余江县| 柳江县| 普格县| 九龙县| 桂林市| 漳平市| 鹿邑县| 泰和县|