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


If you remove a document from database, does mongodb remove it from disk?



If you remove a document from database, does mongodb remove it from disk?..

Answer / Km Shipra Singh

When you delete a document in MongoDB, the data is not immediately removed from the underlying storage. Instead, it is marked as deleted and will be eventually purged based on the 'write concern' configuration. The exact behavior may vary depending on the storage engine used (WiredTiger or MMAPv1).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

What is the “__v” field in mongoose?

1 Answers  


How you can inspect the source code of a function?

1 Answers  


What is write concern in mongodb?

1 Answers  


How many employees does mongodb have?

1 Answers  


Where is the mongodb database?

1 Answers  


How many text indexes can a mongodb collection have?

1 Answers  


What will have to do if a shard is down or slow and you do a query?

1 Answers  


what is objecld composed of?

1 Answers  


What is “namespace” in mongodb?

1 Answers  


What is the master or primary key in mongodb?

1 Answers  


What is the basic syntax to use index in mongodb?

1 Answers  


Can the old files in the ‘movechunk’ directory be removed?

1 Answers  


Categories