If I want to clean n8n run data daily, under what conditions should I delete it?
I have so much data, it makes loading or filter data too slow. I realize that I do not need many old data from Workflow Executions.
It seems overload old data. I usually have 524 errors. It needs me to restart container everytime.
If you haven’t already you should enable data pruning Execution data - n8n Documentation
Though that’s a blunt force tool. If you’re running Postgres you can use a workflow like this to set X day retention per workflow. Set your retention settings in the workflowRetention var of the Retention node:
workflowRetention
Retention