Questions about performance of FerretDB + DocumentDB #356
Replies: 3 comments 2 replies
-
|
Ouch, curious how you have this setup are you using docker or what installation method? There has to be some performance tests somewhere to test this out. |
Beta Was this translation helpful? Give feedback.
-
|
For Issue 1 : Would you happen to have explains for the count query on documentdb? |
Beta Was this translation helpful? Give feedback.
-
|
We've been doing data ingestion testing as part of DocumentDB support in dsync (https://github.com/adiom-data/dsync/), and in our tests DocumentDB actually outperformed MongoDB on a similar hw. Was 35-40k/sec vs ~20K/sec in MongoDB single-node replica set. We used the docker container setup. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, there, I have some questions about performance of FerretDB + DocumentDB.
Issue 1: The PostgreSQL server is configured with 16 cores and 16 GB RAM, while the MongoDB server has 8 cores and 16 GB RAM. Using mongosh to execute countDocuments through FerretDB, the operation on one table takes 14 times longer than MongoDB. The table contains 3 million rows: FerretDB + PostgreSQL + DocumentDB takes 28 seconds, whereas MongoDB takes 2 seconds.
Issue 2: Reading data from one table (about 4 GB) and then writing it to another table using insertMany takes 10 minutes on MongoDB, but 3 hours with FerretDB + PostgreSQL + DocumentDB.
Regarding optimization, does anyone have any better suggestions?
Beta Was this translation helpful? Give feedback.
All reactions