Book description
Manage, fine-tune, secure and deploy your MongoDB solution with ease with the help of practical recipes
About This Book
- Configure and deploy your MongoDB instance securely, without any hassle
- Optimize your database's query performance, perform scale-out operations, and make your database highly available
- Practical guide with a recipe-based approach to help you tackle any problem in the application and database administration aspects of MongoDB
Who This Book Is For
Database administrators with a basic understanding of the features of MongoDB and who want to professionally configure, deploy, and administer a MongoDB database, will find this book essential. If you are a MongoDB developer and want to get into MongoDB administration, this book will also help you.
What You Will Learn
- Install and deploy MongoDB in production
- Manage and implement optimal indexes
- Optimize monitoring in MongoDB
- Fine-tune the performance of your queries
- Debug and diagnose your database's performance
- Optimize database backups and recovery and ensure high availability
- Make your MongoDB instance scalable
- Implement security and user authentication features in MongoDB
- Master optimal cloud deployment strategies
In Detail
MongoDB is a high-performance and feature-rich NoSQL database that forms the backbone of the systems that power many different organizations. Packed with many features that have become essential for many different types of software professional and incredibly easy to use, this cookbook contains more than 100 recipes to address the everyday challenges of working with MongoDB.
Starting with database configuration, you will understand the indexing aspects of MongoDB. The book also includes practical recipes on how you can optimize your database query performance, perform diagnostics, and query debugging. You will also learn how to implement the core administration tasks required for high-availability and scalability, achieved through replica sets and sharding, respectively. You will also implement server security concepts such as authentication, user management, role-based access models, and TLS configuration. You will also learn how to back up and recover your database efficiently and monitor server performance.
By the end of this book, you will have all the information you need—along with tips, tricks, and best practices—to implement a high-performance MongoDB solution.
Style and approach
This practical book follows a problem-solution approach to help you tackle any issues encountered while performing MongoDB administrative tasks. Each recipe is detailed, and explained in a very easy to understand manner
Table of contents
- Preface
-
Installation and Configuration
- Introduction
- Installing and starting MongoDB on Linux
- Installing and starting MongoDB on macOS
- Binding MongoDB process to a specific network interface and port
- Enabling SSL for MongodDB
- Choosing the right MongoDB storage engine
- Changing storage engine
- Separating directories per database
- Customizing the MongoDB configuration file
- Running MongoDB as a Docker container
- Understanding and Managing Indexes
- Performance Tuning
- High Availability with Replication
- High Scalability with Sharding
-
Managing MongoDB Backups
- Introduction
- Taking backup using mongodump tool
- Taking backup of a specific mongodb database or collection
- Taking backup of a small subset of documents in a collection
- Using bsondump tool to view mongodump output in human readable form
- Creating a point in time backup of replica sets
- Using the mongoexport tool
- Creating a backup of a sharded cluster
- Restoring MongoDB from Backups
- Monitoring MongoDB
- Authentication and Security in MongoDB
- Deploying MongoDB in Production
Product information
- Title: MongoDB Administrator’s Guide
- Author(s):
- Release date: October 2017
- Publisher(s): Packt Publishing
- ISBN: 9781787126480
You might also like
video
MongoDB Administration
MongoDB is a very popular open source cross-platform document-oriented database program. This comprehensive tutorial is your …
book
MongoDB Basics
Need a quick and easy to understand introduction to MongoDB and NoSQL databases? MongoDB Basics, from …
book
MongoDB Fundamentals
Learn how to deploy and monitor databases in the cloud, manipulate documents, visualize data, and build …
book
Practical MongoDB: Architecting, Developing, and Administering MongoDB
Practical Guide to MongoDB: Architecting, Developing, and Administering MongoDB begins with a short introduction to the …