Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-98

Migrate "Database Profiler" page and include recent changes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • mongodb-2.2
    • manual
    • None

    Description

      http://www.mongodb.org/display/DOCS/Database+Profiler

      In the doc:

      > db.system.profile.find()
      {"ts" : "Thu Jan 29 2009 15:19:32 GMT-0500 (EST)" , "info" : "query test.$cmd ntoreturn:1 reslen:66 nscanned:0  <br>query: { profile: 2 }  nreturned:1 bytes:50" , "millis" : 0}
      ...

      In the shell:

      > db.system.profile.find()
      { "ts" : ISODate("2012-01-05T15:48:13.735Z"), "op" : "query", "ns" : "test.system.namespaces", "query" : { }, "nscanned" : 21, "nreturned" : 21, "responseLength" : 1068, "millis" : 0, "client" : "127.0.0.1", "user" : "" }
      { "ts" : ISODate("2012-01-05T14:31:35.450Z"), "op" : "command", "ns" : "test.$cmd", "command" : { "create" : "test123", "capped" : null, "size" : null, "max" : null }, "ntoreturn" : 1, "responseLength" : 37, "millis" : 59, "client" : "127.0.0.1", "user" : "" }

      Difference in info section and op,ns,command,query

      Attachments

        Issue Links

          Activity

            People

              bgrabar Bob Grabar
              uladzimir_mihura@epam.com Uladzimir Mihura
              Jess Mokrzecki Jess Mokrzecki
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11 years, 6 weeks, 3 days ago