# Database Manual - (manual) (Part 1 of 9) > This part of the MongoDB manual covers getting started, administration, and core concepts like clustered collections, change streams, and geospatial and other index types. - [About MongoDB Documentation](https://www.mongodb.com/docs/manual/about.md) - [Administration](https://www.mongodb.com/docs/manual/administration.md): Explore resources and tutorials for operating and maintaining MongoDB instances and deployments. - [MongoDB Performance](https://www.mongodb.com/docs/manual/administration/analyzing-mongodb-performance.md): Analyze MongoDB performance by examining database access strategies, indexing, schema design, and connection management to identify and address potential issues. - [Backup and Restore a Self-Managed Sharded Cluster](https://www.mongodb.com/docs/manual/administration/backup-sharded-clusters.md): Explore backup and restoration strategies for self-managed sharded clusters using `mongodump`, `mongorestore`, and file system snapshots. - [Change Streams Production Recommendations](https://www.mongodb.com/docs/manual/administration/change-streams-production-recommendations.md): Optimize change streams in production by managing BSON size limits, handling replica set and sharded cluster configurations, and performance impacts. - [Configuration and Maintenance](https://www.mongodb.com/docs/manual/administration/configuration-and-maintenance.md): Manage routine operations like stopping client processes and archiving log files in MongoDB. - [Run-time Database Configuration for Self-Managed Deployments](https://www.mongodb.com/docs/manual/administration/configuration.md): Configure MongoDB using command line or configuration files for self-managed deployments, including security, replication, and sharding settings. - [Connection Pool Overview](https://www.mongodb.com/docs/manual/administration/connection-pool-overview.md): Manage connections between applications and MongoDB instances using a connection pool to reduce latency and optimize resource usage for your application. - [Deploy and Manage Self-Managed Replica Sets](https://www.mongodb.com/docs/manual/administration/deploy-manage-self-managed-replica-sets.md): Learn about deploying and managing self-managed MongoDB replica sets. - [Deploy and Manage Self-Managed Sharded Clusters](https://www.mongodb.com/docs/manual/administration/deploy-manage-self-managed-sharded-clusters.md): Learn about deploying and managing self-managed MongoDB sharded clusters. - [Free Monitoring](https://www.mongodb.com/docs/manual/administration/free-monitoring.md) - [Full Time Diagnostic Data Capture](https://www.mongodb.com/docs/manual/administration/full-time-diagnostic-data-capture.md): Learn how Full Time Diagnostic Data Capture works in MongoDB. Understand data collection, storage defaults, privacy protections, and on-prem retention guidance. - [Configure Self-Managed Sharded Cluster Health with Health Managers](https://www.mongodb.com/docs/manual/administration/health-managers.md): Configure Health Managers to monitor and manage sharded cluster health issues, including automatic mongos removal and progress monitoring. - [Install MongoDB Community Edition](https://www.mongodb.com/docs/manual/administration/install-community.md): Install MongoDB Community Edition on Linux, macOS, Windows, or as a Docker container. - [Install MongoDB Enterprise on Linux](https://www.mongodb.com/docs/manual/administration/install-enterprise-linux.md): Install MongoDB Enterprise Edition on various Linux systems, including Red Hat, Ubuntu, Debian, SUSE, and Amazon Linux AMI. - [Install MongoDB Enterprise](https://www.mongodb.com/docs/manual/administration/install-enterprise.md): Install MongoDB Enterprise on various operating systems, including Linux, macOS, Windows, and Docker, with features like Kerberos authentication. - [Monitoring a Self-Managed MongoDB Deployment](https://www.mongodb.com/docs/manual/administration/monitoring.md): Explore monitoring strategies and tools for self-managed MongoDB deployments, including utilities, commands, and hosted services. - [Performance Tuning](https://www.mongodb.com/docs/manual/administration/performance-tuning.md): Explore common methods for MongoDB performance tuning tips to ensure your queries run at optimal speed and efficiency. - [Development Checklist](https://www.mongodb.com/docs/manual/administration/production-checklist-development.md): Follow this checklist to ensure data durability, schema design, replication, sharding, and driver configurations for a production MongoDB deployment. - [Operations Checklist for Self-Managed Deployments](https://www.mongodb.com/docs/manual/administration/production-checklist-operations.md): Operations checklist for self-managed deployments covering filesystem, replication, sharding, journaling, hardware, cloud, backups, monitoring, and security. - [Production Notes for Self-Managed Deployments](https://www.mongodb.com/docs/manual/administration/production-notes.md): System configurations that affect MongoDB, especially when running in production. - [Query Performance](https://www.mongodb.com/docs/manual/administration/query.md): Learn how to optimize MongoDB queries using indexes, profiling tools, and monitoring strategies. - [Self-Managed Replica Set Deployment Tutorials](https://www.mongodb.com/docs/manual/administration/replica-set-deployment.md): Explore tutorials on deploying and managing self-managed replica sets, including configuration and member adjustments. - [Self-Managed Replica Set Maintenance Tutorials](https://www.mongodb.com/docs/manual/administration/replica-set-maintenance.md): Explore tutorials for maintaining replica sets, including oplog size adjustment, member synchronization, and configuration updates. - [Self-Managed Member Configuration Tutorials](https://www.mongodb.com/docs/manual/administration/replica-set-member-configuration.md): Explore tutorials on configuring replica set members for specific operations like dedicated backups, reporting, or acting as a cold standby. - [Security Checklist for Self-Managed Deployments](https://www.mongodb.com/docs/manual/administration/security-checklist.md): Implement security measures for MongoDB installations, including access control, encryption, network exposure limitation, and auditing system activity. - [Self-Managed Administration](https://www.mongodb.com/docs/manual/administration/self-managed-administration.md) - [Configure and Maintain a Self-Managed Deployment](https://www.mongodb.com/docs/manual/administration/self-managed-configuration-and-maintenance.md): Learn how to configure and administer self-managed MongoDB document database deployments. - [Self-Managed Performance](https://www.mongodb.com/docs/manual/administration/self-managed-performance.md) - [Self-Managed Sharded Cluster Administration](https://www.mongodb.com/docs/manual/administration/self-managed-sharded-cluster-admin.md) - [Sharded Cluster Administration](https://www.mongodb.com/docs/manual/administration/sharded-cluster-administration.md): Manage sharded clusters by adding shards, migrating data, and configuring servers for metadata and application data storage. - [TCMalloc Performance Optimization for a Self-Managed Deployment](https://www.mongodb.com/docs/manual/administration/tcmalloc-performance.md) - [Upgrade MongoDB Community to MongoDB Enterprise](https://www.mongodb.com/docs/manual/administration/upgrade-community-to-enterprise.md): Upgrade from MongoDB Community to Enterprise Edition to access features like in-memory storage, auditing, and encryption at rest. - [Aggregation Operations](https://www.mongodb.com/docs/manual/aggregation.md): Aggregation operations process multiple documents and return computed results. - [Appendix](https://www.mongodb.com/docs/manual/appendix/security.md): Explore appendices on OpenSSL certificates for testing self-managed deployments. - [Appendix A - OpenSSL CA Certificate for Testing](https://www.mongodb.com/docs/manual/appendix/security/appendixA-openssl-ca.md): Create test X.509 certificates using OpenSSL for self-managed deployments, ensuring they are not used for production environments. - [Appendix B - OpenSSL Server Certificates for Testing](https://www.mongodb.com/docs/manual/appendix/security/appendixB-openssl-server.md): Create test X.509 server certificates using OpenSSL for MongoDB deployments, ensuring not to use them in production environments. - [Appendix C - OpenSSL Client Certificates for Testing](https://www.mongodb.com/docs/manual/appendix/security/appendixC-openssl-client.md): Create test X.509 client certificates using OpenSSL for self-managed MongoDB deployments, ensuring they differ from server certificates. - [Model Specific Application Contexts](https://www.mongodb.com/docs/manual/applications/data-models-applications.md): Explore methods for modeling application-specific data contexts, including atomic updates, keyword searches, monetary data, and IoT data in MongoDB. - [Document Relationships](https://www.mongodb.com/docs/manual/applications/data-models-relationships.md): Explore different ways to model document relationships in MongoDB, including embedded documents and references. - [Model Tree Structures](https://www.mongodb.com/docs/manual/applications/data-models-tree-structures.md): Explore different methods to model tree structures in MongoDB, including parent-child references and nested sets. - [Indexing Strategies](https://www.mongodb.com/docs/manual/applications/indexes.md): Develop effective indexing strategies by considering query types, read-write ratios, and memory, and profile index configurations to optimize query performance. - [Replica Set Read and Write Semantics](https://www.mongodb.com/docs/manual/applications/replication.md): Explore read and write configurations for replica sets, including write concern and read preference settings. - [Change Streams](https://www.mongodb.com/docs/manual/changeStreams.md): Change streams code examples for how to access real-time data changes in MongoDB - [Connect to a Cluster](https://www.mongodb.com/docs/manual/connect-to-cluster.md): Connect to MongoDB clusters hosted on Atlas or self-managed deployments. - [MongoDB Manual Contents](https://www.mongodb.com/docs/manual/contents.md): Explore topics like CRUD operations, replication, sharding, and security in the MongoDB Manual. - [LDAP Deprecation](https://www.mongodb.com/docs/manual/core/LDAP-deprecation.md): LDAP deprecation information - [Aggregation Pipeline Limits](https://www.mongodb.com/docs/manual/core/aggregation-pipeline-limits.md): Understand the limitations of MongoDB's aggregation pipeline, including result size, number of stages, and memory usage constraints. - [Aggregation Pipeline Optimization](https://www.mongodb.com/docs/manual/core/aggregation-pipeline-optimization.md): Aggregation pipeline operations have an optimization phase which attempts to reshape the pipeline for improved performance. - [Aggregation Pipeline and Sharded Collections](https://www.mongodb.com/docs/manual/core/aggregation-pipeline-sharded-collections.md): Explore how the aggregation pipeline operates on sharded collections, including behaviors and optimizations for efficient processing. - [Aggregation Pipeline](https://www.mongodb.com/docs/manual/core/aggregation-pipeline.md): MongoDB database aggregation pipeline details and syntax examples. - [Auditing](https://www.mongodb.com/docs/manual/core/auditing.md): Enable and configure auditing in MongoDB Enterprise to track system activity, with options for output destinations and event filtering. - [Authentication on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/authentication.md): Authentication mechanisms for locally and cloud-deployed MongoDB databases. - [Role-Based Access Control in Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/authorization.md): Implement role-based access control in MongoDB to manage user access and privileges across database resources. - [The AutoMerger](https://www.mongodb.com/docs/manual/core/automerger-concept.md): Enable automatic merging of chunks in MongoDB 7.0 to optimize shard balancing operations. - [Backup Methods for a Self-Managed Deployment](https://www.mongodb.com/docs/manual/core/backups.md): Learn about backup methods available for self-managed MongoDB deployments. Backup options include Cloud Manager, Ops Manager, filesystem snapshots, mongodump. - [Bulk Write Operations](https://www.mongodb.com/docs/manual/core/bulk-write-operations.md): Perform bulk write operations in MongoDB using bulkWrite() for insert, update, and delete actions, with options for ordered or unordered execution. - [Capped Collections](https://www.mongodb.com/docs/manual/core/capped-collections.md): Explore capped collections in MongoDB, which are fixed-size and overwrite the oldest documents when full, similar to circular buffers. - [Change Maximum Documents in a Capped Collection](https://www.mongodb.com/docs/manual/core/capped-collections/change-max-docs-capped-collection.md): Modify the maximum number of documents in a capped collection using the `collMod` command's `cappedMax` option. - [Change the Size of a Capped Collection](https://www.mongodb.com/docs/manual/core/capped-collections/change-size-capped-collection.md): Modify the size of a capped collection using the `collMod` command with the `cappedSize` option in MongoDB. - [Check if a Collection is Capped](https://www.mongodb.com/docs/manual/core/capped-collections/check-if-collection-is-capped.md): Determine if a collection is capped using the `isCapped()` method in MongoDB. - [Convert a Collection to Capped](https://www.mongodb.com/docs/manual/core/capped-collections/convert-collection-to-capped.md): Convert a non-capped collection to a capped collection using the `convertToCapped` command, ensuring exclusive database lock during the operation. - [Create a Capped Collection](https://www.mongodb.com/docs/manual/core/capped-collections/create-capped-collection.md): Create capped collections by specifying size and optional document limits using `db.createCollection()`. - [Query a Capped Collection](https://www.mongodb.com/docs/manual/core/capped-collections/query-capped-collection.md): Query a capped collection in MongoDB to retrieve documents in insertion order or reverse order using the `$natural` parameter. - [Causal Consistency and Read and Write Concerns](https://www.mongodb.com/docs/manual/core/causal-consistency-read-write-concerns.md): Explore how different combinations of read and write concerns in MongoDB affect causal consistency guarantees. - [Clustered Collections](https://www.mongodb.com/docs/manual/core/clustered-collections.md): Explore the benefits, behavior, and limitations of clustered collections in MongoDB, including how to create and manage them with clustered indexes. - [Collection-Level Access Control in Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/collection-level-access-control.md): Control user access to data at the collection level. Grant privileges scoped to specific collections using user-defined roles in self-managed MongoDB. - [Config Shard](https://www.mongodb.com/docs/manual/core/config-shard.md): A mongod node that provides both config server and shard server functionality is called a config shard. - [MongoDB CRUD Concepts](https://www.mongodb.com/docs/manual/core/crud.md): Explore concepts related to CRUD operations in MongoDB, including transactions, query optimization, and write operation performance. - [Client-Side Field Level Encryption](https://www.mongodb.com/docs/manual/core/csfle.md): Enable Client-Side Field Level Encryption to secure data before sending it to MongoDB. Use automatic or explicit encryption methods to protect sensitive fields throughout their lifecycle. - [CSFLE Features](https://www.mongodb.com/docs/manual/core/csfle/features.md): Explore the security benefits of Client-Side Field Level Encryption (CSFLE) and compare it with other MongoDB security mechanisms. - [CSFLE Fundamentals](https://www.mongodb.com/docs/manual/core/csfle/fundamentals.md): Explore how Client-Side Field Level Encryption works, including automatic and explicit encryption, schemas, and key management. - [Automatic Encryption](https://www.mongodb.com/docs/manual/core/csfle/fundamentals/automatic-encryption.md): Enable automatic encryption for MongoDB fields in read and write operations using Client-Side Field Level Encryption with `mongosh` and compatible drivers. - [Encryption Schemas](https://www.mongodb.com/docs/manual/core/csfle/fundamentals/create-schema.md): Create an encryption schema for Client-Side Field Level Encryption using JSON Schema syntax to define encryption rules for document fields. - [Fields and Encryption Types](https://www.mongodb.com/docs/manual/core/csfle/fundamentals/encryption-algorithms.md): Explore the encryption algorithms used for Client-Side Field Level Encryption in MongoDB, including deterministic and randomized encryption types. - [Encryption Key Management](https://www.mongodb.com/docs/manual/core/csfle/fundamentals/manage-keys.md): Learn to manage encryption keys in a CSFLE-enabled application using various Key Management Systems, including creating, rotating, and deleting keys. - [CSFLE Explicit Encryption](https://www.mongodb.com/docs/manual/core/csfle/fundamentals/manual-encryption.md): Use explicit encryption in CSFLE with MongoDB for fine-grained field security with ClientEncryption instance creation and automatic decryption options. - [Installation Requirements](https://www.mongodb.com/docs/manual/core/csfle/install.md): Install necessary applications and libraries to enable Client-Side Field Level Encryption in your development environment. - [CSFLE Quick Start](https://www.mongodb.com/docs/manual/core/csfle/quick-start.md): Encrypt documents using Client-Side Field Level Encryption with MongoDB drivers, including creating encryption keys and configuring clients. - [CSFLE Reference](https://www.mongodb.com/docs/manual/core/csfle/reference.md): Explore components and features of Client-Side Field Level Encryption (CSFLE) including encryption schemas, server-side enforcement, and supported operations. - [Cryptographic Primitives](https://www.mongodb.com/docs/manual/core/csfle/reference/cryptographic-primitives.md): Understand how MongoDB uses AEAD AES-256-CBC and HMAC-SHA-256 for field-level encryption. - [MongoClient Options for CSFLE](https://www.mongodb.com/docs/manual/core/csfle/reference/csfle-options-clients.md): Configure MongoClient instances with Client-Side Field Level Encryption options using the autoEncryptionOpts object. - [How CSFLE Decrypts Documents](https://www.mongodb.com/docs/manual/core/csfle/reference/decryption.md): Understand how CSFLE decrypts data using metadata from Data Encryption Keys and Customer Master Keys across various KMS providers. - [CSFLE Encryption Components](https://www.mongodb.com/docs/manual/core/csfle/reference/encryption-components.md): Discover CSFLE encryption components in MongoDB: ``libmongocrypt``, ``mongocryptd``, Key Vault collection, and Key Management System for data protection. - [CSFLE Encryption Schemas](https://www.mongodb.com/docs/manual/core/csfle/reference/encryption-schemas.md): Explore how to define encryption schemas for field-level encryption in MongoDB, specifying which fields to encrypt and the encryption methods to use. - [Install and Configure a CSFLE Query Analysis Component](https://www.mongodb.com/docs/manual/core/csfle/reference/install-library.md) - [Install libmongocrypt for CSFLE](https://www.mongodb.com/docs/manual/core/csfle/reference/libmongocrypt.md): Install `libmongocrypt` for Client-Side Field Level Encryption using package managers for macOS, Windows, and various Linux distributions. - [CSFLE Limitations](https://www.mongodb.com/docs/manual/core/csfle/reference/limitations.md): Understand CSFLE limitations in MongoDB, including unsupported operations and issues with arrays, views, collation, indexes, shard keys, and more. - [CSFLE Server-Side Schema Enforcement](https://www.mongodb.com/docs/manual/core/csfle/reference/server-side-schema.md): Use schema validation in CSFLE-enabled applications to enforce encryption of specific fields in MongoDB collections using `$jsonSchema` validation. - [Supported Operations for Automatic Encryption](https://www.mongodb.com/docs/manual/core/csfle/reference/supported-operations.md): Explore supported operations for automatic Client-Side Field Level Encryption, including commands, query operators, and aggregation stages. - [CSFLE Tutorials](https://www.mongodb.com/docs/manual/core/csfle/tutorials.md): Explore tutorials for implementing Client-Side Field Level Encryption using various drivers and key management systems. - [Use Automatic Client-Side Field Level Encryption with AWS](https://www.mongodb.com/docs/manual/core/csfle/tutorials/aws/aws-automatic.md): Build a CSFLE-enabled application using AWS KMS to encrypt fields in MongoDB documents automatically. - [Use Automatic Client-Side Field Level Encryption with Azure](https://www.mongodb.com/docs/manual/core/csfle/tutorials/azure/azure-automatic.md): Build a CSFLE-enabled application using Azure Key Vault to encrypt fields in MongoDB documents automatically. - [Use Automatic Client-Side Field Level Encryption with GCP](https://www.mongodb.com/docs/manual/core/csfle/tutorials/gcp/gcp-automatic.md): Build a CSFLE-enabled application using Google Cloud Key Management Service to encrypt fields in MongoDB documents. - [Use Automatic Client-Side Field Level Encryption with KMIP](https://www.mongodb.com/docs/manual/core/csfle/tutorials/kmip/kmip-automatic.md): Build a CSFLE-enabled application using a KMIP-compliant key provider to insert documents with encrypted fields. - [Implementing Right to Erasure with CSFLE](https://www.mongodb.com/docs/manual/core/csfle/tutorials/right-to-erasure.md) - [Cursors](https://www.mongodb.com/docs/manual/core/cursors.md): Learn about cursors in MongoDB. Cursors point to the results of a query and let you iterate over database results one batch at a time. - [Databases and Collections in MongoDB](https://www.mongodb.com/docs/manual/core/databases-and-collections.md): Manage databases and collections in MongoDB using Atlas UI, ``mongosh``, or Compass, with options for creation and schema validation. - [Defragment Sharded Collections](https://www.mongodb.com/docs/manual/core/defragment-sharded-collections.md): Optimize CRUD operation times by defragmenting sharded collections, merging small chunks into larger ones, and managing shard balancing windows. - [Monitor Defragmentation of a Sharded Collection](https://www.mongodb.com/docs/manual/core/defragment-sharded-collections/monitor-defragmentation-sharded-collection.md) - [Start Defragmenting a Sharded Collection](https://www.mongodb.com/docs/manual/core/defragment-sharded-collections/start-defragmenting-sharded-collection.md) - [Stop Defragmenting a Sharded Collection](https://www.mongodb.com/docs/manual/core/defragment-sharded-collections/stop-defragmenting-sharded-collection.md) - [Distributed Queries](https://www.mongodb.com/docs/manual/core/distributed-queries.md): Explore how read and write operations are handled in replica sets and sharded clusters, including read preferences and shard key usage. - [Documents](https://www.mongodb.com/docs/manual/core/document.md): Definition, structure, and limitations of documents in MongoDB. - [Field Names with Periods and Dollar Signs](https://www.mongodb.com/docs/manual/core/dot-dollar-considerations.md): Handle field names with periods and dollar signs in MongoDB using helper methods like `$getField`, `$setField`, and `$literal`. - [Dollar-Prefixed Field Names](https://www.mongodb.com/docs/manual/core/dot-dollar-considerations/dollar-prefix.md): Understand how MongoDB handles dollar-prefixed field names in insert and update operations, including restrictions and special cases. - [Field Names with Periods](https://www.mongodb.com/docs/manual/core/dot-dollar-considerations/periods.md): Insert, query, and update documents with field names containing periods using operators like `$getField` and `$setField`. - [Field Paths](https://www.mongodb.com/docs/manual/core/field-paths.md): Learn how to use field path expressions in MongoDB to access document fields. Apply these values in queries and aggregations for dynamic data processing. - [GridFS for Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/gridfs.md): GridFS is a specification for storing and retrieving files that exceed the BSON-document size limit of 16 MiB. - [Hashed Sharding](https://www.mongodb.com/docs/manual/core/hashed-sharding.md): Explore how hashed sharding partitions data using hashed indexes for even distribution across a MongoDB sharded cluster. - [Case-Insensitive Indexes](https://www.mongodb.com/docs/manual/core/index-case-insensitive.md): Create case-insensitive indexes in MongoDB using collation options to support queries that ignore string case differences. - [Index Builds on Populated Collections](https://www.mongodb.com/docs/manual/core/index-creation.md): Build indexes on populated collections using an optimized process that minimizes locking and supports concurrent operations. - [Hidden Indexes](https://www.mongodb.com/docs/manual/core/index-hidden.md): Hide indexes from the query planner to assess the impact of dropping them without deletion, and unhide them if needed. - [Partial Indexes](https://www.mongodb.com/docs/manual/core/index-partial.md): Learn how to create and use partial indexes in MongoDB to optimize storage and performance by indexing only documents that meet specific filter criteria. - [Sparse Indexes](https://www.mongodb.com/docs/manual/core/index-sparse.md): Create sparse indexes in MongoDB to include only documents with the indexed field, skipping those without. Use partial indexes for greater control. - [TTL Indexes](https://www.mongodb.com/docs/manual/core/index-ttl.md): TTL indexes are special single-field indexes for automatically removing documents from a collection after a certain amount of time or at a specific clock time. - [Unique Indexes](https://www.mongodb.com/docs/manual/core/index-unique.md): Use a unique index to ensure indexed fields do not store duplicate values. - [Convert an Existing Index to a Unique Index](https://www.mongodb.com/docs/manual/core/index-unique/convert-to-unique.md): Convert a non-unique index to a unique index using the `collMod` command, ensuring indexed fields contain unique values before conversion. - [Create a Compound Unique Index](https://www.mongodb.com/docs/manual/core/index-unique/create-compound.md) - [Create a Single-Field Unique Index](https://www.mongodb.com/docs/manual/core/index-unique/create.md) - [Create an Index](https://www.mongodb.com/docs/manual/core/indexes/create-index.md): Create indexes in MongoDB to enhance query performance using the `createIndex()` method in various drivers and MongoDB Shell. - [Specify an Index Name](https://www.mongodb.com/docs/manual/core/indexes/create-index/specify-index-name.md): Specify a custom name for an index to easily identify it in query plans and ensure uniqueness among indexes in a collection. - [Drop an Index](https://www.mongodb.com/docs/manual/core/indexes/drop-index.md): Remove specific or multiple indexes from a collection using shell methods, ensuring to evaluate potential performance impacts before dropping. - [Index Properties](https://www.mongodb.com/docs/manual/core/indexes/index-properties.md): MongoDB index properties include case-insensitive, hidden, partial, sparse, Time-To-Live (TTL), and unique indexes and their impacts on query planning. - [Index Types](https://www.mongodb.com/docs/manual/core/indexes/index-types.md): Explore different types of indexes in MongoDB, including single field, compound, multikey, geospatial, text, hashed, and clustered indexes. - [2d Indexes](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2d.md): Create and query 2d indexes for geospatial data on a two-dimensional plane, supporting calculations and compound indexes. - [Convert Distance to Radians for Spherical Operators](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2d/calculate-distances.md): Convert distances to radians for spherical queries using 2d indexes, with examples for miles and kilometers. - [Create a 2d Index](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2d/create.md): Create a 2d index for querying location data on a flat, Euclidean plane using legacy coordinate pairs. - [Define Location Precision for a 2d Index](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2d/create/define-location-precision.md) - [Define Location Range for a 2d Index](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2d/create/define-location-range.md): Define the coordinate range for a 2d index in MongoDB to improve query performance and restrict data insertion within specified bounds. - [2d Index Internals](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2d/internals.md): Explore the internals of 2d indexes in MongoDB, including geohash calculations and indexing multi-location documents. - [Query a 2d Index](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2d/query.md): Explore how to query and perform calculations on location data using 2d indexes on a flat surface. - [Query for Locations within a Shape on a Flat Surface](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2d/query/points-within-a-shape.md): Query location data within a specified shape using the `$geoWithin` operator on a flat surface without requiring a geospatial index. - [Query for Locations Near a Point on a Flat Surface](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2d/query/proximity-flat-surface.md): Query location data near a specified point on a flat surface using the `$near` operator with geospatial indexing. - [2dsphere Indexes](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2dsphere.md): 2dsphere indexes for geospatial queries on spherical surfaces with proximity calculations and area-bound searches using GeoJSON or legacy coordinates. - [2dsphere Index Versions](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2dsphere/2dsphere-index-versions.md): Explore different versions of 2dsphere indexes in MongoDB and learn how to specify a version when creating an index. - [Create a 2dsphere Index](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2dsphere/create.md): Create a 2dsphere index to support geospatial queries on an earth-like sphere using the `db.collection.createIndex()` method with the "2dsphere" index type. - [Query a 2dsphere Index](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2dsphere/query.md): Explore how to query and perform calculations on location data using 2dsphere indexes in MongoDB. - [Query for Locations Bound by a Polygon](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2dsphere/query/geojson-bound-by-polygon.md) - [Query for Locations that Intersect a GeoJSON Object](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2dsphere/query/intersections-of-geojson-objects.md) - [Query for Locations within a Circle on a Sphere](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2dsphere/query/points-within-circle-on-sphere.md): Query location data within a spherical cap using `$geoWithin` and `$centerSphere` operators for geospatial searches. - [Query for Locations Near a Point on a Sphere](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/2dsphere/query/proximity-to-geojson.md) - [Geospatial Index Restrictions](https://www.mongodb.com/docs/manual/core/indexes/index-types/geospatial/restrictions.md): Understand the restrictions of geospatial indexes, including collation, shard keys, and supported data types. - [Compound Indexes](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-compound.md): Details on when and how to use compound indexes to cover multiple fields and improve query performance in a MongoDB database. - [Create a Compound Index](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-compound/create-compound-index.md): Create a compound index in MongoDB to improve query performance by indexing multiple fields, using the `db.collection.createIndex()` method. - [Compound Index Sort Order](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-compound/sort-order.md): Understand how compound index sort order affects query performance and supports sorting operations in MongoDB. - [Geospatial Indexes](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-geospatial.md): Explore how to use geospatial indexes in MongoDB to enhance query performance on geospatial data, including 2dsphere and 2d index types. - [Hashed Indexes](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-hashed.md): Explore how hashed indexes store hashes of indexed field values and support sharding with hashed shard keys, ideal for monotonically changing fields. - [Create a Hashed Index](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-hashed/create.md): Create a hashed index to support sharding by specifying `hashed` for the shard key, ideal for fields with high cardinality or monotonically increasing values. - [Multikey Indexes](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-multikey.md): Details on when and how to use multikey indexes in a MongoDB database. - [Create an Index on an Array Field](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-multikey/create-multikey-index-basic.md): Create a multikey index on an array field to enhance query performance for documents with array values. - [Create an Index on an Embedded Field in an Array](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-multikey/create-multikey-index-embedded.md): Create a multikey index on an embedded field in an array to improve query performance for specific fields within arrays in MongoDB. - [Multikey Index Bounds](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-multikey/multikey-index-bounds.md): Understand how MongoDB uses multikey index bounds to optimize query performance by intersecting or compounding index bounds. - [Single Field Indexes](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-single.md): Details on when and how to use single indexes in a MongoDB database. - [Create an Index on an Embedded Document](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-single/create-embedded-object-index.md): Create an index on an embedded document in MongoDB, ensuring queries specify the entire document to utilize the index effectively. - [Create an Index on a Single Field](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-single/create-single-field-index.md): Improve query performance by creating a single-field index using the `createIndex()` method in MongoDB. - [Text Indexes on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text.md): Details on when and how to use text indexes in a self-managed or on-prem MongoDB database. - [Assign Weights to $text Query Results on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/control-text-search-results.md): Assign weights to $text query results in MongoDB to prioritize certain fields, enhancing relevance in self-managed deployments. - [Create a Text Index on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/create-text-index.md): Create text indexes on self-managed MongoDB deployments to enhance search performance on string fields. - [Create a Wildcard Text Index on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/create-wildcard-text-index.md): Create a wildcard text index in MongoDB to enable $text queries on all string fields in a collection. - [Limit Text Index Entries Scanned on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/limit-number-of-items-scanned-for-text-search.md): Improve performance for $text queries by creating a compound text index with an equality match to limit scanned entries. - [Create a Multi-Language Text Index on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/specify-language-text-index/create-text-index-multiple-languages.md) - [Specify Text Index Language on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/specify-language-text-index/use-any-field-to-specify-language.md) - [Specify Language for Text Indexes on Self-Managed MongoDB](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/specify-text-index-language.md): Specify a default language for text indexes to optimize non-English $text queries by using the `default_language` option. - [Text Index Properties on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/text-index-properties.md): Explore the properties of version 3 text indexes, including case and diacritic insensitivity, tokenization delimiters, and language support. - [Text Index Restrictions on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/text-index-restrictions.md): Understand the restrictions of text indexes in self-managed MongoDB deployments, including limitations on index count, sorting, and collation options. - [Text Index Versions on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/text-index-versions.md): Learn about different text index versions in MongoDB and how to specify a version when creating a text index. - [Wildcard Indexes](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-wildcard.md): Create wildcard indexes to support queries on arbitrary or unknown fields in collections with flexible schemas. - [Create a Wildcard Index on All Fields](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-wildcard/create-wildcard-index-all-fields.md): Create a wildcard index to support queries on all fields in a collection, excluding `_id`, using the `$**` specifier. - [Include or Exclude Fields in a Wildcard Index](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-wildcard/create-wildcard-index-multiple-fields.md): Specify fields to include or exclude in a wildcard index using the `wildcardProjection` option to optimize query performance and index size. - [Create a Wildcard Index on a Single Field](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-wildcard/create-wildcard-index-single-field.md): Create a wildcard index on a single field to support queries on any subfield of the indexed field using the `$**` specifier. - [Compound Wildcard Indexes](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-wildcard/index-wildcard-compound.md): Create compound wildcard indexes to efficiently cover multiple queries with one index, using wildcard terms alongside standard index terms. - [Wildcard Indexes Reference](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-wildcard/reference.md) - [Wildcard Indexes on Embedded Objects and Arrays](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-wildcard/reference/embedded-object-behavior.md): Understand how wildcard indexes handle embedded objects and arrays, including their behavior with nested structures and explicit array indices. - [Wildcard Index Restrictions](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-wildcard/reference/restrictions.md): Understand Wildcard index limitations, like compound index restrictions, incompatible properties, unsupported query patterns, and shard key constraints. - [Wildcard Index Signature](https://www.mongodb.com/docs/manual/core/indexes/index-types/index-wildcard/reference/wildcard-projection-signature.md): Explore how to use the `wildcardProjection` option in MongoDB to create multiple wildcard indexes with unique index signatures. - [In-Memory Storage Engine for Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/inmemory.md): In-memory storage engine for MongoDB delivers predictable latency by avoiding disk I/O and supports deployment in replica sets and sharded clusters. - [Journaling](https://www.mongodb.com/docs/manual/core/journaling.md): Ensure durability with MongoDB's write-ahead logging, using journaling to recover data after unexpected exits, and WiredTiger's compression and file management. - [Kerberos Authentication on Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/kerberos.md): Configure Kerberos authentication for MongoDB clients on self-managed deployments, utilizing existing authentication infrastructure for secure access. - [Localhost Exception in Self-Managed Deployments](https://www.mongodb.com/docs/manual/core/localhost-exception.md): Enable access control and create the first user or role using the localhost exception in MongoDB deployments. - [Long-Running Secondary Reads in Sharded Clusters](https://www.mongodb.com/docs/manual/core/long-running-secondary-reads.md): Monitor automatic termination for long-running secondary reads in sharded clusters. Implement resume mechanisms to handle QueryPlanKilled errors. - [Map-Reduce Concurrency](https://www.mongodb.com/docs/manual/core/map-reduce-concurrency.md): Use aggregation pipelines instead of map-reduce for better performance and usability in MongoDB. - [Map-Reduce and Sharded Collections](https://www.mongodb.com/docs/manual/core/map-reduce-sharded-collections.md): Use aggregation pipelines instead of map-reduce for better performance and usability, especially with sharded collections. - [Map-Reduce](https://www.mongodb.com/docs/manual/core/map-reduce.md): Map-Reduce has been deprecated and must be replaced by an aggregation pipeline. - [On-Demand Materialized Views](https://www.mongodb.com/docs/manual/core/materialized-views.md): Create on-demand materialized views in MongoDB. Use $merge or $out to store pre-computed aggregated values and write functions to re-compute values as needed. - [Moveable Collections](https://www.mongodb.com/docs/manual/core/moveable-collections.md) - [Multi-tenant Architecture with Moveable Collections](https://www.mongodb.com/docs/manual/core/moveable-collections/multi-tenant.md) - [Authentication and Authorization with OIDC/OAuth 2.0](https://www.mongodb.com/docs/manual/core/oidc/security-oidc.md) - [Workforce Identity Federation with OpenID Connect](https://www.mongodb.com/docs/manual/core/oidc/workforce.md) - [Configure MongoDB with Workforce Identity Federation](https://www.mongodb.com/docs/manual/core/oidc/workforce/configure-oidc.md): Configure MongoDB Enterprise with Workforce Identity Federation to authenticate users across platforms using an external identity provider and OpenID Connect. - [Authorize Users with Workforce Identity Federation](https://www.mongodb.com/docs/manual/core/oidc/workforce/database-user-workforce.md) - [Configure OIDC for Workforce Authentication](https://www.mongodb.com/docs/manual/core/oidc/workforce/workforce-external-provider.md) - [Workload Identity Federation with OAuth 2.0](https://www.mongodb.com/docs/manual/core/oidc/workload.md) - [Configure MongoDB with Workload Identity Federation](https://www.mongodb.com/docs/manual/core/oidc/workload/configure-mongodb-workload.md) - [Authorize Users with Workload Identity Federation](https://www.mongodb.com/docs/manual/core/oidc/workload/database-user-workload.md) - [Configure Workload Identity Federation](https://www.mongodb.com/docs/manual/core/oidc/workload/workload-external-provider.md) - [Query Optimization](https://www.mongodb.com/docs/manual/core/query-optimization.md): Optimize MongoDB queries by creating indexes, using projections, limiting results, and utilizing covered queries. - [Query Plans](https://www.mongodb.com/docs/manual/core/query-plans.md): Understand how MongoDB's query planner selects and caches efficient query plans using available indexes, and learn about plan cache states and management. - [Query Shapes](https://www.mongodb.com/docs/manual/core/query-shapes.md): Query shapes identify similar queries by structure. Configure indexes and optimize performance for common query shapes, or block problematic ones.