Docs HomeMongoDB Manual

Data Center Awareness数据中心意识

On this page本页内容

MongoDB provides a number of features that allow application developers and database administrators to customize the behavior of a sharded cluster or replica set deployment so that MongoDB may be more "data center aware," or allow operational and location-based separation.MongoDB提供了许多功能,允许应用程序开发人员和数据库管理员自定义分片集群副本集部署的行为,以便MongoDB可以更“了解数据中心”,或允许操作和基于位置的分离。

MongoDB also supports workload isolation based on functional parameters, to ensure that certain mongod instances are only used for reporting workloads or that certain high-frequency portions of a sharded collection only exist on specific shards.MongoDB还支持基于功能参数的工作负载隔离,以确保某些mongod实例仅用于报告工作负载,或者确保分片集合的某些高频部分仅存在于特定的分片上。

The following documents, found either in this section or other sections of this manual, provide information on customizing a deployment for operation- and location-based separation:本节或本手册其他章节中的以下文档提供了有关自定义部署以实现基于操作和位置的分离的信息:

Workload Isolation in MongoDB DeploymentsMongoDB部署中的工作负载隔离
MongoDB lets you specify that certain application operations use certain mongod instances.MongoDB允许您指定某些应用程序操作使用某些mongod实例。
Zones分区
A zone represents one or more ranges of shard key values for a sharded collection. 一个区域表示一个分片集合的一个或多个分片键值范围。MongoDB routes reads and writes for sharded data covered by a zone only to shards inside that zone. MongoDB只将区域覆盖的分片数据的读写路由到该区域内的分片。For use in managing data distribution and deployment patterns.用于管理数据分发和部署模式。
Manage Shard Zones管理分片区域
Administrative tasks related to configuring zones in sharded clusters与在分片集群中配置区域相关的管理任务

Further Reading进一步阅读