Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

question about mongodb

Posted on 2016-07-13
1
Medium Priority
?
107 Views
Last Modified: 2016-07-19
Hello

Configuring shared: What will happen if we lose a node? do we lose the entire base?
• What is happening in case of write conflict? are we able to rebuild the database from a source (Primary storage)?

Thanks

Regards
0
Comment
Question by:bibi92
1 Comment
 
LVL 8

Accepted Solution

by:
Dung Dinh earned 2000 total points
ID: 41718965
High Availability and Scalability solution in MongoDB, we should often combine Replication and Sharding. For example, we will have three shards. In each shard, we implement Replication solution. This makes sure that the entire base is not lost.


>> What is happening in case of write conflict?
MongoDB has locking mechanism and other concurrency control measure to prevent multiple clients from modifying the same piece of data.
https://docs.mongodb.com/manual/faq/concurrency/

>>are we able to rebuild the database from a source
Yes, we can use some BACKUP / RESTORE methods in MongoDB.
https://docs.mongodb.com/manual/tutorial/backup-and-restore-tools/
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Screencast - Getting to Know the Pipeline
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question