Answer Posted / Kumar Nishant
No, in MongoDB, updates do not immediately fsync to disk. By default, data is stored in memory and flushed to disk asynchronously. However, you can use the journaling option 'j' for writing operations, which will force a write to the journal before confirming the write operation, providing a level of durability. But it should be noted that this can have a performance impact.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers