Tuesday, August 14, 2012

MongoDB Profiling

Login to mongodb: by /bin/mongo
   [ You can find the same by locate command $ locate bin/mongo

Show database available command
show dbs
show db db_name[example : show db global ]

 db.getProfilingStatus()
db.setProfilingLevel(0);
 db.commandHelp("mongostat")
 db.commandHelp("profile")
mongostat

No comments:

Post a Comment

plz give ur comments !!!!!!