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...


How to update operations immediately sync to disk in mongodb?



How to update operations immediately sync to disk in mongodb?..

Answer / Bhuwanesh Garbyal

By default, MongoDB uses a write concern of journaling (w:1), which ensures that all updates are written to the journal on disk before the acknowledgement is sent back to the client. To force immediate synchronization to disk for every operation, you can set the write concern to 'journaled' or 'majority', as both ensure a majority vote from replica sets.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

Is mongodb cloud based?

1 Answers  


How does sharding work with replication?

1 Answers  


What is replication in mongodb?

1 Answers  


How to check if mongoose is installed?

1 Answers  


What is sharding in mongodb?

1 Answers  


Now days, what makes mongodb best?

1 Answers  


What is mongodb built?

1 Answers  


How did mongodb get its name?

0 Answers  


How much ram do I need for mongodb?

1 Answers  


What is a mongodb shard?

1 Answers  


How is data stored in mongodb?

1 Answers  


What is the difference between mongodb and redis database?

1 Answers  


Categories