You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compare the performance of the query between versions 4.8.0 and 5.0.0 of the Laravel MongoDB package.
Expected Behavior
The count query should be optimized to leverage the reefer_id index effectively, resulting in consistent or improved performance compared to version 4.8.0.
Actual Behavior
The execution time for the count query has significantly increased in version 5.0.0, leading to degraded application performance.
Request for Assistance
I would appreciate guidance on:
Potential causes for this performance regression in version 5.0.0.
Recommendations for optimizing the count operation to restore or improve performance.
Thank you!
The text was updated successfully, but these errors were encountered:
This is a carbon copy of #3191, including the issue number in the title. If you have a similar issue, please post updated information in the original issue, but don't copy someone else's problem into a new issue as it only creates noise. Thank you.
Description
I am experiencing a significant performance regression when counting documents in the
reefer_measurements
collection using thereefer_id
index.Details
Index Creation:
Count Query:
Performance Comparison:
Version | Execution Time -- | -- 4.8.0 | 3,869.62ms 5.0.0 | 22,550.24msEnvironment
reefer_measurements
Steps to Reproduce
reefer_measurements
with 4 million documents.reefer_id
field:Expected Behavior
The count query should be optimized to leverage the
reefer_id
index effectively, resulting in consistent or improved performance compared to version 4.8.0.Actual Behavior
The execution time for the count query has significantly increased in version 5.0.0, leading to degraded application performance.
Request for Assistance
I would appreciate guidance on:
Thank you!
The text was updated successfully, but these errors were encountered: