We are using the compact command in order to reduce the storage space of data and index.
As we have upgraded MongoDB version from MongoDB-3.4.0 to MongoDB-3.6.17.
We observed that the command compact execution time is more with MongoDB-3.6 and it took very less time with MongoDB-3.4.
We need your Support to confirm that the execution time for compact command is more with MongoDB-3.6.
Below are the environment details
- OS: Windows 10, architecture: “x64”,
- Platform: “Java/AdoptOpenJDK/11.0.6”
- mongodb Journals are enabled by default
- Mongod server version: db version v3.6.17
Thanks & Regards,