Does an update fsync to disk immediately?
Answer / 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 |
What is data model in mongodb?
Does mongodb store data in memory?
Where is my mongodb database?
To do safe backups what is the feature in mongodb that you can use?
How do you display the list of all collections of current database?
Which operations lock the database in mongodb?
How do you limit the number of result returned?
Is mongodb good for large data?
Why is mongodb called mongodb?
Why mongodb is so popular?
How to retrieve data from multiple collections in mongodb?
What are mongodb shards?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)