Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8484

workingSet command pagesInMemory estimate not affected by db "touch" command

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL

    Description

      After a server restart, pagesInMemory is low (as expected) but then using "touch" command to try forcing the collection into ram, it only increments by one. The data set used for testing was ~1.4gb.

      > use enron_mail
      switched to db enron_mail
      > db.serverStatus({workingSet:1}).workingSet.pagesInMemory
      5
      > db.runCommand({touch:"messages", data:true, index:true})
      { "ok" : 1 }
      > db.serverStatus({workingSet:1}).workingSet.pagesInMemory
      6
      > 

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: