Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
MongoDB Branding Shape
Click here >
Docs Menu

Improve MongoDB Search Performance

MongoDB Search runs a new process, called mongot, alongside the mongod process on each host in your cluster. mongot maintains all MongoDB Search indexes on collections in your databases. The amount of CPU, memory, and disk resources mongot consumes depends on several factors, including our index configuration and the complexity of your queries. MongoDB Search alerts measure the amount of CPU and memory used by MongoDB Search processes.

The following pages contain recommendations that you can apply when configuring your MongoDB Search index and defining your MongoDB Search queries to improve performance:

Important

Upgrading to NVMe Storage

Upgrading your cluster to use NVMe triggers an initial sync on that cluster. MongoDB Search is unavailable until both the mongod and mongot finish their initial syncs.

A File Copy Based Initial Sync will always be used to sync all of the nodes of an NVME cluster whenever an initial sync is required.