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

Comment on: "manual/reference/method/cursor.snapshot.txt"

    XMLWordPrintableJSON

Details

    Description

      Please define if snapshot mode impacts index selection.

      Does it use _id index and thus reduce performance by ignoring index that covers the query?

      Or does it sort the results in memory after using the same index as in normal mode.

      Is snapshot mode equivalent to adding sort({_id:1})?

      Attachments

        Activity

          People

            steve.renaker@mongodb.com Steve Renaker (Inactive)
            plamen Plamen Parvanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 21 weeks, 2 days ago