[SERVER-14987] Combine multiple adjacent $match commands into one Created: 21/Aug/14 Updated: 10/Dec/14 Resolved: 21/Aug/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | 2.4.10 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jochen Kemnade | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | perfomance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
If an aggregation pipeline contains multiple $match commands next to each other, they should be treated like a single $match with the items combined with $and.
vs.
|
| Comments |
| Comment by Stennie Steneker (Inactive) [ 21/Aug/14 ] |
|
Hi Jochen, This improvement has already been implemented in MongoDB 2.6 as per FYI, there are a number of other aggregation pipeline optimizations in 2.6. Regards, |