Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

MongoQP: A Slow Query Profiler for MongoDB

DZone's Guide to

MongoQP: A Slow Query Profiler for MongoDB

· Database Zone ·
Free Resource

Databases are better when they can run themselves. CockroachDB is a SQL database that automates scaling and recovery. Check it out here.

 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.

Databases should be easy to deploy, easy to use, and easy to scale. If you agree, you should check out CockroachDB, a scalable SQL database built for businesses of every size. Check it out here. 

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}