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

Add note on cursor batchSize about performance for long running queries

      In the document on Cursor Batches, it might be mentioned that setting a non-zero batchSize can be used to reduce the time needed for a cursor to do a getmore operation.
      This can be effective when the performance difference between an initial query and a getmore operation is large.

      More details on sharded environment - there can be wide variation in performance times between the intiial query, the first getmore operation, and then subsequent getmore operations. Using a non-zero batchSize will reduce the variation in performance times.

            Assignee:
            ravind.kumar Ravind Kumar (Inactive)
            Reporter:
            alan.mccoy Roger McCoy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 25 weeks ago