[SERVER-19182] Integrate storage engine optimizations into $sample stage Created: 29/Jun/15  Updated: 21/Jul/21  Resolved: 27/Aug/15

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Storage
Affects Version/s: None
Fix Version/s: 3.1.8

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Charlie Swanson
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-20121 XorShift PRNG should use unsigned ari... Closed
depends on SERVER-19183 Allow storage engines to provide opti... Closed
Related
is related to SERVER-533 Aggregation stage to randomly sample ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Quint Iteration 7, QuInt 8 08/28/15
Participants:
Linked BF Score: 0

 Description   

Once storage engines can provide an optimized path to retrieve a pseudo-random document, the $sample aggregation stage should take advantage of this.



 Comments   
Comment by Githook User [ 27/Aug/15 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: SERVER-19182 Avoid crash during pipeline with an initial $sample stage on a non-existent collection
Branch: master
https://github.com/mongodb/mongo/commit/b8450fd52cfbbcc353ec693cdf03155bef7a2dec

Comment by Githook User [ 27/Aug/15 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: SERVER-19182 Integrate storage engine optimizations into $sample stage
Branch: master
https://github.com/mongodb/mongo/commit/d88cb83e39b4cdddc9bdcf98f667f6cabdadc8ec

Comment by John A. De Goes [ 23/Jul/15 ]

This will be extremely useful for data discovery and analytics tools.

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