[DOCS-7422] Comment on: "manual/reference/method/cursor.snapshot.txt" Created: 15/Mar/16  Updated: 30/Oct/23  Resolved: 17/Sep/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Plamen Parvanov Assignee: Steve Renaker (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mongo 3.2.4

Location: https://docs.mongodb.org/manual/reference/method/cursor.snapshot/#cursor.snapshot
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36
Referrer: http://webcache.googleusercontent.com/search?q=cache:jBOeYERPFTYJ:docs.mongodb.org/manual/faq/developers+&cd=4&hl=en&ct=clnk&gl=us
Screen Resolution: 1600 x 900
repo: docs
source: reference/method/cursor.snapshot


Participants:
Days since reply: 5 years, 21 weeks, 2 days ago
Epic Link: DOCSP-1769

 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})?



 Comments   
Comment by Anthony Sansone (Inactive) [ 17/Sep/18 ]

cursor.snapshot no longer exists.

Generated at Thu Feb 08 07:54:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.