首先写入日志,然后再写入数据库,这样做的最大好处在于,所有日志文件写入操作本质上都是按顺序进行的。
The biggest benefit of writing to the log first, then writing to the database is that all writes to log files are sequential in nature.
所有新数据首先写入日志,然后再写入它的最终位置。
All new data is written to the journal first, and then to its final location.
开启该功能时,变更会先写入Journaling日志,定期集中提交(目前是每100 ms提交一次),然后在真实数据上进行这些变更。
When enabled, changes are written to the journal logs first. Periodic group commits (currently every 100ms) then handle playing these changes back on the real data.
应用推荐