MongoDB: The Definitive Guide - Kristina Chodorow

MongoDB: The Definitive Guide

Powerful and Scalable Data Storage
Buch | Softcover
432 Seiten
2013 | 2nd Revised edition
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-4468-9 (ISBN)
44,85 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
How does MongoDB help you manage a huMONGOus amount of data collected through your web application? With this updated edition, you'll learn the many advantages of using document-oriented databases, and discover why MongoDB is a reliable, high-performance system that allows for almost infinite horizontal scalability.
Manage the huMONGOus amount of data collected through your web application with MongoDB. This authoritative introduction—written by a core contributor to the project—shows you the many advantages of using document-oriented databases, and demonstrates how this reliable, high-performance system allows for almost infinite horizontal scalability.

This updated second edition provides guidance for database developers, advanced configuration for system administrators, and an overview of the concepts and use cases for other people on your project. Ideal for NoSQL newcomers and experienced MongoDB users alike, this guide provides numerous real-world schema design examples.
  • Get started with MongoDB core concepts and vocabulary
  • Perform basic write operations at different levels of safety and speed
  • Create complex queries, with options for limiting, skipping, and sorting results
  • Design an application that works well with MongoDB
  • Aggregate data, including counting, finding distinct values, grouping documents, and using MapReduce
  • Gather and interpret statistics about your collections and databases
  • Set up replica sets and automatic failover in MongoDB
  • Use sharding to scale horizontally, and learn how it impacts applications
  • Delve into monitoring, security and authentication, backup/restore, and other administrative tasks

Kristina Chodorow, a software engineer at 10gen, is a core contributor to the MongoDB project and has worked on the database server, PHP driver, Perl driver, and many other areas. She's given talks at conferences around the world, including OSCON, LinuxCon, FOSDEM, and Latinoware.

Introduction to MongoDB
Chapter 1 Introduction
Ease of Use
Easy Scaling
Tons of Features…
…Without Sacrificing Speed
Let's Get Started
Chapter 2 Getting Started
Documents
Collections
Databases
Getting and Starting MongoDB
Introduction to the MongoDB Shell
Data Types
Using the MongoDB Shell
Chapter 3 Creating, Updating, and Deleting Documents
Inserting and Saving Documents
Removing Documents
Updating Documents
Setting a Write Concern
Chapter 4 Querying
Introduction to find
Query Criteria
Type-Specific Queries
$where Queries
Cursors
Database Commands
Designing Your Application
Chapter 5 Indexing
Introduction to Indexing
Using explain() and hint()
When Not to Index
Types of Indexes
Index Administration
Chapter 6 Special Index and Collection Types
Capped Collections
Time-To-Live Indexes
Full-Text Indexes
Geospatial Indexing
Storing Files with GridFS
Chapter 7 Aggregation
The Aggregation Framework
Pipeline Operations
MapReduce
Aggregation Commands
Chapter 8 Application Design
Normalization versus Denormalization
Optimizations for Data Manipulation
Planning Out Databases and Collections
Managing Consistency
Migrating Schemas
When Not to Use MongoDB
Replication
Chapter 9 Setting Up a Replica Set
Introduction to Replication
A One-Minute Test Setup
Configuring a Replica Set
Changing Your Replica Set Configuration
How to Design a Set
Member Configuration Options
Chapter 10 Components of a Replica Set
Syncing
Heartbeats
Elections
Rollbacks
Chapter 11 Connecting to a Replica Set from Your Application
Client-to-Replica-Set Connection Behavior
Waiting for Replication on Writes
Custom Replication Guarantees
Sending Reads to Secondaries
Chapter 12 Administration
Starting Members in Standalone Mode
Replica Set Configuration
Manipulating Member State
Monitoring Replication
Master-Slave
Sharding
Chapter 13 Introduction to Sharding
Introduction to Sharding
Understanding the Components of a Cluster
A One-Minute Test Setup
Chapter 14 Configuring Sharding
When to Shard
Starting the Servers
How MongoDB Tracks Cluster Data
The Balancer
Chapter 15 Choosing a Shard Key
Taking Stock of Your Usage
Picturing Distributions
Shard Key Strategies
Shard Key Rules and Guidelines
Controlling Data Distribution
Chapter 16 Sharding Administration
Seeing the Current State
Tracking Network Connections
Server Administration
Balancing Data
Application Administration
Chapter 17 Seeing What Your Application Is Doing
Seeing the Current Operations
Using the System Profiler
Calculating Sizes
Using mongotop and mongostat
Chapter 18 Data Administration
Setting Up Authentication
Creating and Deleting Indexes
Preheating Data
Compacting Data
Moving Collections
Preallocating Data Files
Chapter 19 Durability
What Journaling Does
Turning Off Journaling
What MongoDB Does Not Guarantee
Checking for Corruption
Durability with Replication
Server Administration
Chapter 20 Starting and Stopping MongoDB
Starting from the Command Line
Stopping MongoDB
Security
Logging
Chapter 21 Monitoring MongoDB
Monitoring Memory Usage
Calculating the Working Set
Tracking Performance
Monitoring Replication
Chapter 22 Making Backups
Backing Up a Server
Backing Up a Replica Set
Backing Up a Sharded Cluster
Creating Incremental Backups with mongooplog
Chapter 23 Deploying MongoDB
Designing the System
Virtualization
Configuring System Settings
Configuring Your Network
System Housekeeping

Appendix Installing MongoDB
Choosing a Version
Windows Install
POSIX (Linux, Mac OS X, and Solaris) Install
Appendix MongoDB Internals
BSON
Wire Protocol
Data Files
Namespaces and Extents
Memory-Mapped Storage Engine
Colophon

Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 694 g
Einbandart kartoniert
Themenwelt Mathematik / Informatik Informatik Datenbanken
Informatik Programmiersprachen / -werkzeuge C / C++
ISBN-10 1-4493-4468-2 / 1449344682
ISBN-13 978-1-4493-4468-9 / 9781449344689
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Torsten T. Will

Buch | Hardcover (2024)
Rheinwerk (Verlag)
49,90
das umfassende Handbuch

von Jürgen Wolf; René Krooß

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90