Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

question about mongodb

Posted on 2016-07-13
1
Medium Priority
?
102 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

721 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