Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Does an update fsync to disk immediately?



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

Post New Answer

More MongoDB Interview Questions

What is the difference between mongodb and mongoose?

1 Answers  


Which function is used to create an index?

1 Answers  


How you can inspect the source code of a function?

1 Answers  


What is replica set in mongodb?

1 Answers  


What is dynamic schema in mongodb?

1 Answers  


What is bson in mongodb?

1 Answers  


Which is the best mongodb gui?

1 Answers  


Is mongodb the same as nosql?

1 Answers  


What is replication in mongodb?

1 Answers  


What is the role of 8 analysers in mongodb?

1 Answers  


Is mongodb better than cassandra?

1 Answers  


What is the need to provide size option on create collection?

1 Answers  


Categories