# 4. Cluster Management

As of CouchDB 2.0.0, CouchDB can be run in two different modes of operation:
  - Standalone
  - Cluster

This section details the theory behind CouchDB clusters, and provides specific operational instructions on node, database and shard management.

- 4.1. Theory
- 4.2. Node Management
  - 4.2.1. Adding a node
  - 4.2.2. Removing a node
- 4.3. Database Management
  - 4.3.1. Creating a database
  - 4.3.2. Deleting a database
  - 4.3.3. Placing a database on specific nodes
- 4.4. Shard Management
  - 4.4.1. Introduction
  - 4.4.2. Examining database shards
  - 4.4.3. Moving a shard
  - 4.4.4. Specifying database placement
  - 4.4.5. Resharding a database to a new q value
- 4.5. Clustered Purge
  - 4.5.1. Internal Structures
  - 4.5.2. Compaction of Purges
  - 4.5.3. Local Purge Checkpoint Documents
  - 4.5.4. Internal Replication
  - 4.5.5. Indexes
  - 4.5.6. Config Settings