Getting Started
What is MongoDB?
Install / Config
C.R.U.D. Ops
Data Modeling
Database Mgmt
MongoDB Database Management
Sharding Overview
What is "sharding"?
.
Splitting a single collection among several MongoDB instances
In production, each shard should be a
replica set
Why would you use sharding?
.
When a collection becomes too large for a single server
What is a "sharded cluster"?
.
A combination of the following:
MongoDB Shard Routing Service (mongos)
Configuration Server
Two or more shards
How is key space allocated?
.
Range based
Hash function based
How should you choose a shard key?
.
The key should be:
Relatively random, and
Provide for an even distribution of data
+
o
-