Check profileing status:
db.getProfilingStatus()
db.getProfilingLevel()
More information: https://docs.mongodb.com/manual/tutorial/manage-the-database-profiler/
Find slow queries: https://gist.github.com/rantav/3433277
Check profileing status:
db.getProfilingStatus()
db.getProfilingLevel()
More information: https://docs.mongodb.com/manual/tutorial/manage-the-database-profiler/
Find slow queries: https://gist.github.com/rantav/3433277
Try to split read and write. It is better for debugging and finding slow queries.