[SERVER-18961] Avoid iterating the entire working set on every yield Created: 12/Jun/15  Updated: 08/Oct/16  Resolved: 01/Jul/15

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.1.6

Type: Improvement Priority: Critical - P2
Reporter: David Storch Assignee: David Storch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-26534 Text search uses excessive memory Backlog
related to SERVER-18926 Full text search extremely slow and u... Closed
related to SERVER-19489 Assertion failure and segfault in Wor... Closed
Backwards Compatibility: Fully Compatible
Sprint: Quint Iteration 5, Quint Iteration 6
Participants:

 Description   

This should speed up queries which have execution stages that buffer WorkingSetMembers. This includes SORT, TEXT, and GEO_NEAR.

The work for the 3.0 branch is being tracked by SERVER-18926, whereas this ticket tracks work for the the master branch (3.1 development).



 Comments   
Comment by Githook User [ 01/Jul/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-18961 avoid iterating the entire working set when preparing for a WiredTiger snapshot change

Improves performance for query plans with a blocking stage when using the WiredTiger storage engine.
In particular, full text search and geoNear queries should benefit.
Branch: master
https://github.com/mongodb/mongo/commit/820289c3c4244666e1829732150d842af775e56d

Generated at Thu Feb 08 03:49:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.