Books & Videos

Table of Contents

  1. Introduction to MongoDB

    1. Chapter 1 Introduction

      1. Ease of Use
      2. Easy Scaling
      3. Tons of Features…
      4. …Without Sacrificing Speed
      5. Let's Get Started
    2. Chapter 2 Getting Started

      1. Documents
      2. Collections
      3. Databases
      4. Getting and Starting MongoDB
      5. Introduction to the MongoDB Shell
      6. Data Types
      7. Using the MongoDB Shell
    3. Chapter 3 Creating, Updating, and Deleting Documents

      1. Inserting and Saving Documents
      2. Removing Documents
      3. Updating Documents
      4. Setting a Write Concern
    4. Chapter 4 Querying

      1. Introduction to find
      2. Query Criteria
      3. Type-Specific Queries
      4. $where Queries
      5. Cursors
      6. Database Commands
  2. Designing Your Application

    1. Chapter 5 Indexing

      1. Introduction to Indexing
      2. Using explain() and hint()
      3. When Not to Index
      4. Types of Indexes
      5. Index Administration
    2. Chapter 6 Special Index and Collection Types

      1. Capped Collections
      2. Time-To-Live Indexes
      3. Full-Text Indexes
      4. Geospatial Indexing
      5. Storing Files with GridFS
    3. Chapter 7 Aggregation

      1. The Aggregation Framework
      2. Pipeline Operations
      3. MapReduce
      4. Aggregation Commands
    4. Chapter 8 Application Design

      1. Normalization versus Denormalization
      2. Optimizations for Data Manipulation
      3. Planning Out Databases and Collections
      4. Managing Consistency
      5. Migrating Schemas
      6. When Not to Use MongoDB
  3. Replication

    1. Chapter 9 Setting Up a Replica Set

      1. Introduction to Replication
      2. A One-Minute Test Setup
      3. Configuring a Replica Set
      4. Changing Your Replica Set Configuration
      5. How to Design a Set
      6. Member Configuration Options
    2. Chapter 10 Components of a Replica Set

      1. Syncing
      2. Heartbeats
      3. Elections
      4. Rollbacks
    3. Chapter 11 Connecting to a Replica Set from Your Application

      1. Client-to-Replica-Set Connection Behavior
      2. Waiting for Replication on Writes
      3. Custom Replication Guarantees
      4. Sending Reads to Secondaries
    4. Chapter 12 Administration

      1. Starting Members in Standalone Mode
      2. Replica Set Configuration
      3. Manipulating Member State
      4. Monitoring Replication
      5. Master-Slave
  4. Sharding

    1. Chapter 13 Introduction to Sharding

      1. Introduction to Sharding
      2. Understanding the Components of a Cluster
      3. A One-Minute Test Setup
    2. Chapter 14 Configuring Sharding

      1. When to Shard
      2. Starting the Servers
      3. How MongoDB Tracks Cluster Data
      4. The Balancer
    3. Chapter 15 Choosing a Shard Key

      1. Taking Stock of Your Usage
      2. Picturing Distributions
      3. Shard Key Strategies
      4. Shard Key Rules and Guidelines
      5. Controlling Data Distribution
    4. Chapter 16 Sharding Administration

      1. Seeing the Current State
      2. Tracking Network Connections
      3. Server Administration
      4. Balancing Data
  5. Application Administration

    1. Chapter 17 Seeing What Your Application Is Doing

      1. Seeing the Current Operations
      2. Using the System Profiler
      3. Calculating Sizes
      4. Using mongotop and mongostat
    2. Chapter 18 Data Administration

      1. Setting Up Authentication
      2. Creating and Deleting Indexes
      3. Preheating Data
      4. Compacting Data
      5. Moving Collections
      6. Preallocating Data Files
    3. Chapter 19 Durability

      1. What Journaling Does
      2. Turning Off Journaling
      3. What MongoDB Does Not Guarantee
      4. Checking for Corruption
      5. Durability with Replication
  6. Server Administration

    1. Chapter 20 Starting and Stopping MongoDB

      1. Starting from the Command Line
      2. Stopping MongoDB
      3. Security
      4. Logging
    2. Chapter 21 Monitoring MongoDB

      1. Monitoring Memory Usage
      2. Calculating the Working Set
      3. Tracking Performance
      4. Monitoring Replication
    3. Chapter 22 Making Backups

      1. Backing Up a Server
      2. Backing Up a Replica Set
      3. Backing Up a Sharded Cluster
      4. Creating Incremental Backups with mongooplog
    4. Chapter 23 Deploying MongoDB

      1. Designing the System
      2. Virtualization
      3. Configuring System Settings
      4. Configuring Your Network
      5. System Housekeeping
  1. Appendix Installing MongoDB

    1. Choosing a Version

    2. Windows Install

    3. POSIX (Linux, Mac OS X, and Solaris) Install

  2. Appendix MongoDB Internals

    1. BSON

    2. Wire Protocol

    3. Data Files

    4. Namespaces and Extents

    5. Memory-Mapped Storage Engine

  3. Colophon