[SERVER-82280] The 6.x version performance is lower than 4.x Created: 17/Oct/23  Updated: 31/Oct/23  Resolved: 31/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.0.10
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: zhenxing yu Assignee: Noopur Gupta
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:CentOS Linux release 7.5.1804 (Core)


Attachments: Text File mongoDB_4.2.22_vs_mongoDB_6.0.6_performance_test.txt    
Participants:

 Comments   
Comment by Noopur Gupta [ 31/Oct/23 ]

I am closing this ticket, feel free to open a ticket if you suspect a bug from MongoD Server. 

Comment by Noopur Gupta [ 27/Oct/23 ]

Hi,

MongoDB v4.2 has reached end of life in April 2023 and is no longer supported. It is highly recommended to upgrade to v4.2+.
That being said, there has been a large number of changes from v4.2 to v6.0, so change in performance is expected. (see Production notes )

I understand your concern, however, SERVER project is for "bug reports, new feature requests, and improvement suggestions” from the Core Server and community.  
For this issue we'd like to encourage you to start by asking our community for help by posting on the MongoDB Developer Community Forums for any tuning advice.
If the discussion there leads you to suspect a bug in the MongoDB server, then we'd want to investigate it as a possible bug here in the SERVER project.

Thanks

Comment by zhenxing yu [ 23/Oct/23 ]

Is there anyone in the community who can support me?

Comment by zhenxing yu [ 17/Oct/23 ]

I have a quasi-production environment originally 4.2.22, but I am considering upgrading to 6.0.6. During the performance pressure test, I found that the performance difference of the pressure test results is too large. The plug-in performance of 6.0.6 is only about half of that of 4.2, because my business scenario involves a large amount of upsert logic. So version 6.0.6 doesn't meet my performance requirements at all, so I'm curious why the performance of the new version is worse than the old version, and I checked the results of other people's tests on the network(https://serpapi.com/blog/the-downfall-of-mongodb-performance-2/), and my results are basically similar. Attached is the test data of my local virtual machine for reference. Please kindly help to check whether the test conclusion is the expectation of MongoDB's current design.

Generated at Thu Feb 08 06:48:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.