您的位置:首页 > 数据库 > Mongodb

MongoDB如何确保高可用

2016-09-24 17:50 309 查看
原文地址:https://www.mongodb.com/faq?jmp=footer

How does MongoDB ensure high availability?

Back to Table of Contents

MongoDB automatically maintains replica sets, multiple copies of data that are distributed across servers, racks and data centers. Replica sets help prevent database downtime using native replication and automatic failover.

A replica set consists of multiple replica set members. At any given time one member acts as the primary member, and the other members act as secondary members. If the primary member fails for any reason (e.g., hardware failure), one of the secondary members
is automatically elected to primary and begins to process all reads and writes.

Learn more in the MongoDB Architecture Guide.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: