Exporting large number of Entries / Formie Submissions #16520
Replies: 2 comments 1 reply
-
Following up on this — I was using a hosted MySQL DB (DigitalOcean) and suspected that might be contributing to slowing things down because the web server CPU load was minimal during my export attempts (altho exporting did lock-up the site completely). So I tried it with a local web and MySQL server and the same DB, and it actually completed.... It still took a long time to export the 40k+ submissions, but at least it completed. So seems the hosted DB has a massive impact on exporting this data. Still would be great to queue these kinds of things to:
|
Beta Was this translation helpful? Give feedback.
-
The built-in export functionality was not written with high scalability in mind. We’re discussing ways to improve it in the future, though. |
Beta Was this translation helpful? Give feedback.
-
I have 40,000++ entries (Formie Submissions and a Contact Database) that I need to export on a semi regular basis.
When I use the export feature for the entry type, the large amount of data times out and never finishes. I've gone so far as to setup a dev server with a crazy PHP max execution time and 6 CPU cores and 28GB ram — just to do the exports and I'm still unable to get an export to complete.
I have tried CSV, JSON and XML formats.
I raised the issue with the Formie folks (verbb/formie#2259 (comment)) but seems it's related to core CraftCMS functionality.
I've been noticing that managing large datasets in CraftCMS is a bit of a challenge, and I was wondering:
Help!
Beta Was this translation helpful? Give feedback.
All reactions