Skip to content

Instantly share code, notes, and snippets.

@khapota
Last active August 25, 2017 16:30
Show Gist options
  • Save khapota/62e8b67f0d47b448d1d0836c23de5a8b to your computer and use it in GitHub Desktop.
Save khapota/62e8b67f0d47b448d1d0836c23de5a8b to your computer and use it in GitHub Desktop.
Mongo Performance check and tune
@khapota
Copy link
Author

khapota commented Aug 23, 2017

@khapota
Copy link
Author

khapota commented Aug 24, 2017

Notice that each db has separated profiler, so remember to set for all databases.

@khapota
Copy link
Author

khapota commented Aug 24, 2017

Mongo 2.6 build index in background of primary, then all secondaries.

@khapota
Copy link
Author

khapota commented Aug 25, 2017

Try to split read and write. It is better for debugging and finding slow queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment