NoSQL Zone is brought to you in partnership with:

Eric is the Editorial Manager at DZone, Inc. Feel free to contact him at egenesky@dzone.com Eric has posted 804 posts at DZone. You can read more from them at their website. View Full User Profile

MongoQP: A Slow Query Profiler for MongoDB

12.31.2012
| 1430 views |
  • submit to reddit

 10Gen recently published a useful tool developed at one of this year's hackathons between the Drivers and Innovation team.  MongoQP is described below:

The heart of mongoqp (Mongo Query Profiler) is a bit of map/reduce JS that aggregates those queries by their BSON skeleton (i.e. keys preserved, but values removed). With queries reduced to their bare structure, any of their statistics can be aggregated, such as average query time, index scans, counts, etc.

You can read further details and check this tool out on Github by reading the original post, available here.

Published at DZone with permission of its author, Eric Genesky.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)