how to find execution time of query in mongoDB in command line ????

1,524 views
Skip to first unread message

Sarvesh Chavan

unread,
Mar 18, 2015, 1:52:36 PM3/18/15
to mongod...@googlegroups.com
is mongoDB available for windows XP ???how to find execution time of query in mongoDB in command line ????

Will Berkeley

unread,
Mar 18, 2015, 2:02:09 PM3/18/15
to mongod...@googlegroups.com
No, from versions 2.2 forward, MongoDB has not supported Windows XP.

What do you mean by finding the execution time of a query on the command line? How are you running the query? You could use a timing utility to time a short mongo shell script like

mongo --eval "db.test.find(); quit()"

but you're timing a lot more than the execution of a query since it counts, e.g., the time to set up the connection. For timing information it's better to work in a script or program using a driver or use the built-in profiler to collect statistics server-side.

-Will

On Wed, Mar 18, 2015 at 1:49 PM, Sarvesh Chavan <sarvesh....@gmail.com> wrote:
is mongoDB available for windows XP ???how to find execution time of query in mongoDB in command line ????

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/635c3ae5-2ba4-42c1-8dab-806b82a44932%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages