XALON Tools™
Purge n8n execution history located in Mysql
Purge n8n execution history located in Mysql
Couldn't load pickup availability
Keep your n8n database clean and efficient — automatically!
This automation is perfect for setups with high workflow frequency. It connects to your MySQL (or other supported database) and routinely deletes old workflow execution logs, preventing database bloat and performance issues over time.
Ideal for teams running dozens of daily or high-frequency tasks.
What it does:
🧹 Cleans up the execution_entity table in n8n
🗑️ Deletes workflow execution logs older than 30 days
🕒 Uses the stoppedAt column to calculate expiration
⚙️ Easily configurable with a daily Cron trigger during low-traffic hours
✅ Includes SQL query, setup guide, and ready-to-import workflow
Need help setting it up? We offer full configuration and testing for a one-time fee.
