The question about MongoDB spend Time

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.2.1
    • Component/s: None
    • Environment:
      Mongo server's version:3.2.10
      Java driver's version:3.2.2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When my application server restart,It will spend more time to finish my query or insert operation on interaction  of my app server and mongodb server in the first time. Then it will be cost a short time to finish query or insert operation. It cost about 180ms to finish my query operation after the application server restart, then it cost just 7ms to finish my query operation.

      Why does this happen? 

      What can I do to avoid this happen when the first query operation?

       

       

            Assignee:
            Unassigned
            Reporter:
            liucx
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: