Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2935

The question about MongoDB spend Time

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.2.1
    • None
    • Mongo server's version:3.2.10
      Java driver's version:3.2.2

    Description

      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?

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            fcb liucx
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: