This section of the MongoDB tutorial includes the concepts of MongoDB administration, various aspects within the MongoDB administration, various processes involved within MongoDB administration.
1.2 K Views
What is Administration in MongoDB?
The administration documentation addresses the ongoing operation and maintenance of MongoDB instances and deployments. This documentation includes both high level overviews of these concerns as well as tutorials that cover specific procedures and processes for operating MongoDB.
Operational Strategies –Higher level documentation of key concepts for the operation and maintenance of MongoDB deployments.
MongoDB Backup Methods – Describes approaches and considerations for backing up a MongoDB database.
Monitoring for MongoDB – An overview of monitoring tools, diagnostic strategies, and approaches to monitoring replica sets and sharded clusters.
Run-time Database Configuration – Outlines common MongoDB configurations and examples of best-practice configurations for common use cases.
Data Management – Core documentation that addresses issues in data management, organization, maintenance, and lifecycle management.
Data Center Awareness – Presents the MongoDB features that allow application developers and database administrators to configure their deployments to be more data center aware or allow operational and location-based separation.
Capped Collections – Capped collections provide a special type of size-constrained collections that preserve insertion order and can support high volume inserts.
Expire Data from Collections by Setting TTL – TTL collections make it possible to automatically remove data from a collection based on the value of a timestamp and are useful for managing data like machine generated event data that are only useful for a limited period of time
5.2 Administration Tutorials
The administration tutorials provide specific step-by-step instructions for performing common MongoDB setup, maintenance and configuration operations.
Configuration, Maintenance, and Analysis – Describes routine management operations, including configuration and performance analysis.
Manage mongod Processes – Start, configure, and manage running mongod.
Rotate Log Files – Archive the current log files and start new ones. Continue reading from Configuration, Maintenance, and Analysis for additional tutorials of fundamental MongoDB maintenance procedures.
Backup and Recovery – Outlines procedures for data backup and restoration with mongod instances and deployments.
Recover Data after an Unexpected Shutdown – Recover data from MongoDB data files that were not properly closed or have an invalid state.
MongoDB Scripting – An introduction to the scripting capabilities of the mongo shell and the scripting capabilities embedded in MongoDB instances.
5.3 Administration Reference
UNIX ulimit Settings –Describes user resources limits (i.e. ulimit) and introduces the considerations and optimal configurations for systems that run MongoDB deployments.
System Collections – Introduces the internal collections that MongoDB uses to track per-database metadata, including indexes, collections, and authentication credentials.
Database Profiler Output – Describes the data collected by MongoDB’s operation profiler, which introspects operations and reports data for analysis on performance and behavior.
Server Status Output – Provides an example and a high level overview of the output of the serverStatus.
Journaling Mechanics – Describes the internal operation of MongoDB’s journaling facility and outlines how the journal allows MongoDB to provide provides durability and crash resiliency.
Exit Codes and Statuses – Lists the unique codes returned by mongos and mongod processes upon exit.