Baboo7 / strapi-plugin-import-export-entries

Import/Export data from and to your database in just few clicks.
179 stars 95 forks source link

[FEATURE] Max deepness setting #77

Open sashman-jaspin opened 1 year ago

sashman-jaspin commented 1 year ago

We have a very large deep database and the system will OOM and crash with an export of 4 or 5. This wouldn't be so bad except clients have access to strapi and will be using it to export data.

We'd like to have a way to set a default and max deepness setting. If it's in there I'm not seeing it.

Appreciate the plugin though, so far it's working great!

Baboo7 commented 1 year ago

More and more people seems to face performance issue when exporting. Sounds like it's time to optimise 😌 I'll dig into that so your client won't run into the issue without being limited

Baboo7 commented 1 year ago

https://github.com/Baboo7/strapi-plugin-import-export-entries/issues/78

sashman-jaspin commented 1 year ago

Think it's more a limitation on strapi/db than your code for us at least, but thanks. You need a donation button. Have a budget for some of this stuff.

xSyki commented 1 year ago

@Baboo7 Setting the maximum depth will be a very nice feature. I would also consider adding the ability to set a default depth. Most non-technical people don't change the default settings, and in our case 5 is too deep and lacks memory, 1 would be more than enough for most of our uses.

axelinternet commented 1 year ago

I have to admit that I didn't look into the code here but it seems to me that the issue is that the search also travels "up" the tree. Even if you make a limited export you pretty soon get the whole database if you have some items that are commonly referenced.