AcademyWorkflowsData and reporting

Purge n8n execution history located in Mysql

  • Recommendedour rating
  • 2,095views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

purge-n8n-execution-history-located-in-mysql.json

Loading the file...

AI automation

Want this workflow running in your company?

A template is the start. We adapt automations like this to your tools, handle the exceptions, and test and monitor them so they hold up under real load.

  • Free 20-minute call to look at your process
  • Connected to the tools you already use
  • Tested, monitored and documented

We have not written a full description for this item yet. The text below comes from its authors.

This workflow is useful if you have lots of tasks running daily. MySQL node (or the database used to save data shown in n8n - could be Mongo, Postgres, ... -) remove old entries from execution_entity table that contains the history of the executed workflows. If you have multiple tasks executed every minute, 1024 rows will be created every day (60 minutes x 24 hours) per every task. This will incre

Connects

MySQL