MongoDB Administrator's Guide : Manage, Fine-Tune, Secure and Deploy Your MongoDB Solution with Ease with the Help of Practical Recipes.
Material type:
- text
- computer
- online resource
- 9781787127180
- 005.757
- QA76.9.D3 .D373 2017
Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: 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.. -- Chapter 2: 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... -- Chapter 3: 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... -- Chapter 4: 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... -- Chapter 5: 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 -- Chapter 6: 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... -- Chapter 7: 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... -- Chapter 8: 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 -- Chapter 9 : 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... -- Chapter 10: 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 -- Index.
Description based on publisher supplied metadata and other sources.
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2024. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
There are no comments on this title.