Documentation Index Fetch the complete documentation index at: https://mongodb-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Use this page as a practical operating guide for running MongoDB in production environments.
Client Libraries
Choose the official client library for your application runtime so you get consistent behavior for retries, sessions, connection pooling, and observability hooks.
Connectivity
Connection Strings
Connection strings define topology, authentication, and options in a single URI. Keep credentials outside source control and inject them through environment variables or secret managers.
mongodb+srv:// <user>:<password>@<cluster-host>/?retryWrites=true& w = majority
Access Control
Database Users
Create distinct users for applications, operators, and automation. Grant least-privilege roles that match each workload’s required actions.
Security
In-Use Encryption
For sensitive data domains, evaluate in-use encryption strategies so queries can operate on encrypted data where supported.
Production Readiness
Development Checklist
Before launch, verify schema expectations, index coverage, failover handling, and backup/restore drills.
Profile representative workloads, review query plans, and measure latency under peak concurrency before and after schema/index changes.
Documentation and Support
Manual Reference
Keep a shared internal runbook that maps your most common maintenance and debugging workflows to stable command/operator references.
Support Resources
Document escalation paths, incident ownership, and response expectations for operational incidents.
Deployment Models
Self-Managed Administration
Self-managed environments require explicit ownership of upgrades, backup policies, monitoring, and capacity planning.
Server Release Notes
Review release notes before upgrades to identify behavior changes, compatibility impacts, and rollout sequencing needs.
Atlas Security and Operations