[SERVER-55215] Handle small measurement counts in buckets for ARHASH Created: 15/Mar/21 Updated: 29/Oct/23 Resolved: 09/Apr/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Eric Cox (Inactive) | Assignee: | David Storch |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | qexec-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Query Execution 2021-03-22, Query Execution 2021-04-05, Query Execution 2021-04-19 | ||||
| Participants: | |||||
| Linked BF Score: | 28 | ||||
| Description |
|
When testing This behavior is not ideal. We should implement a fall-back mechanism when this is the case. Two ideas discussed is to figure out if we can cheaply compute the maximum bucket count, or use a trial stage to see if we are able to sample the collection, and if not fallback to topk sorting. |
| Comments |
| Comment by Githook User [ 09/Apr/21 ] |
|
Author: {'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}Message: Co-authored-by: David Storch <david.storch@mongodb.com> |