MongoDB performance tuning

Deeply understand your MongoDB performance

Try for free Contact us

Data-driven MongoDB performance tuning

A simple MongoDB performance tuning can speed your application significantly. Before tuning, however, you need actionable data about your database’s current performance.

A MongoDB database performance checklist before tuning could look like this:

MongoDB performance metrics

Server data tells about your hosts’ health

By checking CPU, memory, and disk space metrics you make sure your MongoDB processes have sufficient resources available.

MongoDB CPU metrics MongoDB memory metrics MongoDB disk metrics

Know which commands affect database performance

Knowing which services access your MongoDB is vital for finding database performance bottlenecks. If there is a single service that’s suffering from bad database response times, dig deeper into that service’s metrics to find out what’s causing the problem.

Take a deeper look into the service’s communication with the database and find out which commands affect the database performance the most.

Services accessing MongoDB MongoDB service backtrace

Verify your app’s database connection

Even if the way you query your database is perfectly fine, you may still experience inferior database performance. Make sure if your application’s database connection is correctly sized.

MongoDB connections

Keep an eye on network metrics

If a database performance issue suddenly appears, process level visibility comes in handy in identifying a failing component.

MongoDB process metrics

Tuning your MongoDB performance with Dynatrace

Dynatrace monitors and analyzes the activity of your MongoDB databases across all platforms, providing visibility down to individual database statements.

Key benefits:

Your first 1,000 hours of MongoDB performance monitoring are on us

Try for free Contact us