Sharding¶

Sharding distributes a single logical database system across a cluster of machines. Sharding uses range-based portioning to distribute documents based on a specific shard key.

For a general introduction to sharding, cluster operations, and relevant implications and administration see: FAQ: Sharding with MongoDB.

Sharded Cluster Use and Operation¶

The documents in this section introduce sharded clusters, their operation, functioning, and use. If you are unfamiliar with data partitioning, or MongoDB’s sharding implementation begin with these documents:

  • Sharded Cluster Overview
  • Sharded Cluster Administration
  • Sharded Cluster Architectures
  • Sharded Cluster Internals and Behaviors

Sharded Cluster Tutorials and Procedures¶

The documents listed in this section address common sharded cluster operational practices in greater detail.

Getting Started With Sharded Clusters¶

  • Deploy a Sharded Cluster
  • Add Shards to a Cluster
  • View Cluster Configuration

Sharded Cluster Maintenance and Administration¶

  • Manage the Config Servers
  • Manage Chunks in a Sharded Cluster
  • Manage Sharded Cluster Balancer
  • Remove Shards from an Existing Sharded Cluster

Backup and Restore Sharded Clusters¶

  • Backup a Small Sharded Cluster with mongodump
  • Create Backup of a Sharded Cluster with Filesystem Snapshots
  • Create Backup of a Sharded Cluster with Database Dumps
  • Restore a Single Shard
  • Restore Sharded Clusters
  • Schedule Backup Window for Sharded Clusters

Application Development Patterns for Sharded Clusters¶

The following documents describe processes that application developers may find useful when developing applications that use data stored in a MongoDB sharded cluster. For some cases you will also want to consider the documentation of Data Center Awareness.

  • Tag Aware Sharding
  • Enforce Unique Keys for Sharded Collections
  • Convert a Replica Set to a Replicated Sharded Cluster

Sharded Cluster Reference¶

Consider the following reference material relevant to sharded cluster use and administration.

  • Sharding Commands
  • Config Database Contents
  • mongos
  • <   Replica Set Features and Version Compatibility
  • Sharded Cluster Overview  >

MongoDB Manual (Index)

  • Installing MongoDB
  • Administration
  • Security
  • Core MongoDB Operations (CRUD)
  • Aggregation
  • Indexes
  • Replication
  • Sharding
    • Sharded Cluster Use and Operation
      • Sharded Cluster Overview
      • Sharded Cluster Administration
      • Sharded Cluster Architectures
      • Sharded Cluster Internals and Behaviors
    • Sharded Cluster Tutorials and Procedures
      • Getting Started With Sharded Clusters
        • Deploy a Sharded Cluster
        • Add Shards to a Cluster
        • View Cluster Configuration
      • Sharded Cluster Maintenance and Administration
        • Manage the Config Servers
        • Manage Chunks in a Sharded Cluster
        • Manage Sharded Cluster Balancer
        • Remove Shards from an Existing Sharded Cluster
      • Backup and Restore Sharded Clusters
        • Backup a Small Sharded Cluster with mongodump
        • Create Backup of a Sharded Cluster with Filesystem Snapshots
        • Create Backup of a Sharded Cluster with Database Dumps
        • Restore a Single Shard
        • Restore Sharded Clusters
        • Schedule Backup Window for Sharded Clusters
      • Application Development Patterns for Sharded Clusters
        • Tag Aware Sharding
        • Enforce Unique Keys for Sharded Collections
        • Convert a Replica Set to a Replicated Sharded Cluster
    • Sharded Cluster Reference
      • Sharding Commands
  • Application Development
  • Using the mongo シェル
  • ユースケース
  • MongoDB Tutorials
  • Frequently Asked Questions
  • Reference
  • About MongoDB Documentation

MongoDB.org

MongoDB Ecosystem

Formats

  • MongoDB Manual, Single HTML Page
  • MongoDB Manual, PDF Format
  • MongoDB Manual, ePub Format

MongoDB Resources

  • はじめに
    • はじめに
    • ダウンロード
  • Community and Ecosystem
    • 10gen
    • MongoDB Events
    • Planet MongoDB
    • MongoDB Masters
    • スライドとビデオ
    • Hosting Center
    • Windows
    • MongoDB Monitoring Service (docs)
    • Administrative Interfaces
    • MongoDB Books
  • ドライバ
    • JavaScript (docs)
    • Python (docs)
    • Ruby (docs)
    • PHP (docs)
    • Perl (docs)
    • Java (docs)
    • Scala (docs)
    • C# (docs)
    • C (docs)
    • C++ (docs)
    • Haskell (docs)
    • Erlang (docs)

© Copyright 2011-2013, 10gen, Inc. MongoDB®, Mongo®, and the leaf logo are registered trademarks of 10gen, Inc.

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.