售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Title Page
Copyright
MongoDB Administrator's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
Installation and Configuration
Introduction
Installing and starting MongoDB on Linux
Getting ready
How to do it…
How it works…
There's more…
Installing and starting MongoDB on macOS
Getting ready
How to do it...
How it works…
Binding MongoDB process to a specific network interface and port
Getting ready
How to do it...
How it works...
Enabling SSL for MongodDB
Getting ready
How to do it..
How it works...
There's more…
Choosing the right MongoDB storage engine
WiredTiger
MMAPv1
The verdict
Changing storage engine
Getting ready
How to do it...
How it works...
Separating directories per database
Getting ready
How to do it...
How it works...
Customizing the MongoDB configuration file
Getting ready
How to do it..
How it works...
There's more...
Running MongoDB as a Docker container
Getting ready
How to do it...
How it works...
There's more..
Understanding and Managing Indexes
Introduction
Creating an index
Getting ready
How it works...
There's more...
Managing existing indexes
Getting ready
How to do it...
How it works...
How to use compound indexes
Getting ready
How to do it...
How it works…
There's more...
Creating background indexes
Getting ready
How to do it...
How it works...
Creating TTL-based indexes
Getting ready
How to do it...
How it works...
There's more...
Creating a sparse index
Getting ready
How to do it...
How it works...
Creating a partial index
Getting ready
How to do it...
How it works...
Creating a unique index
Getting ready
How to do it...
How it works...
Performance Tuning
Introduction
Configuring disks for better I/O
Reading and writing from disks
Few considerations while selecting storage devices
Measuring disk I/O performance with mongoperf
Getting ready
How to do it...
How it works...
Finding slow running queries and operations
Getting ready
How to do it...
How it works...
There's more...
Storage considerations when using Amazon EC2
Figuring out the size of a working set
There's more...
High Availability with Replication
Introduction
Initializing a new replica set
Getting ready
How to do it...
How it works...
Adding a node to the replica set
Getting ready
How to do it...
How it works...
Removing a node from the replica set
Getting ready
How to do it...
How it works...
Working with an arbiter
Getting ready
How to do it...
How it works...
Switching between primary and secondary nodes
Getting ready
How to do it...
How it works...
Changing replica set configuration
Getting ready
How to do it...
How it works..
Changing priority to replica set nodes
Getting ready
How to do it...
How it works...
There's more...
High Scalability with Sharding
Understanding sharding and its components
Components of MongoDB sharding infrastructure
Config server
The mongos query router
The shard server
Choosing the shard key
Setting up and configuring a sharded cluster
Getting ready
How to do it...
How it works...
Managing chunks
Getting ready
How to do it...
How it works...
Moving non-sharded collection data from one shard to another
Getting ready
How to do it...
How it works...
Removing a shard from the cluster
Getting ready
How to do it...
How it works...
Understanding tag aware sharding – zones
Getting ready
How to do it...
How it works...
See also
Managing MongoDB Backups
Introduction
Taking backup using mongodump tool
Getting ready
How to do it...
How it works...
There's more...
Taking backup of a specific mongodb database or collection
Getting ready
How to do it...
How it works...
Taking backup of a small subset of documents in a collection
Getting ready
How to do it...
How it works...
Using bsondump tool to view mongodump output in human readable form
Getting ready
How to do it...
How it works...
Creating a point in time backup of replica sets
Getting ready
How to do it...
How it works...
Using the mongoexport tool
Getting ready
How to do it...
How it works...
Creating a backup of a sharded cluster
Getting ready
How to do it...
How it works...
Restoring MongoDB from Backups
Introduction
Restoring standalone MongoDB using the mongorestore tool
Getting ready
How to do it...
How it works...
Restoring specific database or specific collection
Getting ready
How to do it...
How it works...
Restoring data from one collection or database to another
Getting ready
How to do it...
How it works...
Creating a new MongoDB replica set node using backups
Getting ready
How to do it...
How it works...
Restoring a MongoDB sharded cluster from backup
Getting ready
How to do it...
How it works...
Monitoring MongoDB
Introduction
Monitoring MongoDB performance with mongostat
Getting ready
How to do it...
How it works...
See also
Checking replication lag of nodes in a replica set
Getting ready
How to do it...
How it works...
Monitoring and killing long running operations on MongoDB
Getting ready
How to do it...
How it works...
See also
Checking disk I/O usage
Getting ready
How to do it...
How it works...
Collecting MongoDB metrics using Diamond and Graphite
Getting ready
How to do it...
How it works...
See also
Authentication and Security in MongoDB
Introduction
Setting up authentication in MongoDB and creating a superuser account
Getting ready
How to do it...
How it works...
Creating normal users and assigning built-in roles
Getting ready
How to do it...
How it works...
See also...
Creating and assigning custom roles
Getting ready
How to do it...
How it works...
Restoring access if you are locked out
Getting ready
How to do it...
How it works...
Using key files to authenticate servers in a replica set
Getting ready
How to do it...
How it works...
There's more...
Deploying MongoDB in Production
Introduction
Configuring MongoDB for a production deployment
Getting ready
How to do it...
Upgrading production MongoDB to a newer version
Getting ready
How to do it...
There's more...
Setting up and configuring TLS (SSL)
Getting ready
How to do it...
How it works...
There's more...
Restricting network access using firewalls
Getting ready
How to do it...
How it works...
See also
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜