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.

This page lists the documents, tutorials, and reference pages that describe sharding.

For an overview, see Sharding Fundamentals. To configure, maintain, and troubleshoot sharded clusters, see Sharded Cluster Administration. For deployment architectures, see Sharded Cluster Architectures. For details on the internal operations of sharding, see Sharding Internals. For procedures for performing certain sharding tasks, see the Tutorials list.

Documentation¶

The following is the outline of the main documentation:

  • Sharding Fundamentals
    • Sharding Overview
    • Sharding Requirements
    • Shard Keys
    • Config Servers
    • mongos and Querying
    • Balancing and Distribution
    • Security Considerations for Sharded Clusters
  • Sharded Cluster Administration
    • Set up a Sharded Cluster
    • Cluster Management
    • Chunk Management
    • Balancer Operations
    • Config Server Maintenance
    • Troubleshooting
  • Sharded Cluster Architectures
    • Deploying a Test Cluster
    • Deploying a Production Cluster
    • Sharded and Non-Sharded Data
    • High Availability and MongoDB
  • Sharding Internals
    • Shard Keys
    • Cluster Balancer
    • Config Database

Tutorials¶

The following tutorials describe specific sharding procedures:

  • Deploy a Sharded Cluster
  • Add Shards to an Existing Cluster
  • Remove Shards from an Existing Sharded Cluster
  • Enforce Unique Keys for Sharded Collections
  • Convert a Replica Set to a Replicated Sharded Cluster

Reference¶

The following reference section describes sharding commands:

  • Sharding Commands

MongoDB Manual

  • About MongoDB Documentation
  • Installing MongoDB
  • Replication
  • Sharding
    • Documentation
      • Sharding Fundamentals
      • Sharded Cluster Administration
      • Sharded Cluster Architectures
      • Sharding Internals
    • Tutorials
      • Deploy a Sharded Cluster
      • Add Shards to an Existing Cluster
      • Remove Shards from an Existing Sharded Cluster
      • Enforce Unique Keys for Sharded Collections
      • Convert a Replica Set to a Replicated Sharded Cluster
    • Reference
  • Administration
  • Security
  • Indexes
  • Aggregation
  • Application Development
  • Using the MongoDB Shell
  • Use Cases
  • Frequently Asked Questions
  • Reference

Index

Formats

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

Translations

  • Japanese
  • Chinese

Knowledge Base

  • Tutorials
  • Frequently Asked Questions
  • Use Cases

MongoDB Wiki

  • Getting Started
    • Introduction
    • Downloads
    • SQL to MongoDB Mapping
  • Developer Documentation
    • Connections
    • Databases
    • Collections
    • Documents
    • GridFS
    • Querying
    • Optimization
    • Inserting
    • Updating
    • Removing
    • MapReduce
  • Administrative Documentation
    • Journaling
    • Production Notes
    • Durability and Repair
    • GridFS Tools
    • DB Operations from the Shell
    • Windows
    • Troubleshooting
  • Community and Ecosystem
    • 10gen
    • MongoDB Events
    • MongoDB Masters
    • Slides and Video
    • Hosting Center
    • MongoDB Monitoring Service (docs)
    • Administrative Interfaces
    • MongoDB Books
  • Drivers
    • JavaScript (wiki, docs)
    • Python (wiki, docs)
    • Ruby (wiki, docs)
    • PHP (wiki, docs)
    • Perl (wiki, docs)
    • Java (wiki, docs)
    • Scala (wiki, docs)
    • C# (wiki, docs)
    • C (wiki, docs)
    • C++ (wiki, docs)
    • Haskell (wiki, docs)
    • Erlang (wiki, docs)

This documentation is a product of the MongoDB Documentation Project: fork the repository on GitHub, or open a Jira Case to contribute.

© Copyright 2011-2012, 10gen, Inc. Licensed under Creative Commons. 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.