Details
-
Bug
-
Resolution: Incomplete
-
Major - P3
-
None
-
None
-
None
-
None
-
Mongoose: 5.4.14
-
ALL
Description
When using `$multiply` inside of an aggregate, the execution time of a query is increased dramatically.
For example, on a 10,000 item match, it is up to 30x slower than the same aggregate with no `$multiply` calculations. For example, I am including two queries with the only difference being using or not using `multiply`. I would expect the calculation to be slower, but not by this order of magnitude.
I have the queries stored in a file but I am not sure where to attach or send those files.