MongoDB

MongoDB

出版信息

Kristina Chodorow / O'Reilly Media / 2013-5-23 / USD 39.99

内容简介

How does MongoDB help you manage a huMONGOus amount of data collected through your web application? With this authoritative introduction, 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. Written by a core contributor to the MongoDB project, 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 newcomers to NoSQL databases and experienced MongoDB users alike, this edition provides numerous real-world schema design examples. Learn about new features, including TTL collections, MMS, and the aggregation pipeline Find additional chapters on deploying MongoDB, including application and server administration as well as ops advice Explore ways that document-oriented storage will work for your project Learn how MongoDB's schema-free data model handles documents, collections, and multiple databases Execute basic write operations, and create complex queries to find data with any criteria Learn about monitoring, security and authentication, backup and repair, and more Set up master-slave and automatic failover replication in MongoDB Use sharding to scale MongoDB horizontally, and learn how it impacts applications

作者简介

KristinaccChodorow

13310gen的软件工程师,2MongoDB项目的核心成员.a负责数据库服务器、PHP驱动、Perl驱动等模块.a她曾在世界级的大会上发言,2包括OSCON、LinuxCon、FOSDEM和Latinoware.a

目录

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

本文地址:https://www.codercto.com/books/d/686.html

SHA 加密

SHA 加密

SHA 加密工具

Markdown 在线编辑器

Markdown 在线编辑器

Markdown 在线编辑器

RGB HSV 转换

RGB HSV 转换

RGB HSV 互转工具