Why n8n deletes old execution data, how DignityHost's 7-day and 5,000-run limits work and how to keep what matters and save disk space.

n8n Execution Data Pruning: Keep Your Instance Fast - n8n Hosting guide by DignityHost
  • Applies ton8n hosting plans
  • Time needed6 min
  • LevelIntermediate

Every time a workflow runs, n8n records an execution: the inputs and outputs of every node. This is invaluable for debugging, but the data grows quickly. A workflow that runs every minute creates more than 1,400 executions a day, and each can hold large payloads.

If nothing deletes that history, the database grows until the editor becomes slow and the disk fills up. To prevent this, n8n has a built-in clean-up called execution data pruning.

Executions older than seven days or beyond 5,000 are pruned; workflows and credentials are kept

What pruning removes and what it keeps.

How DignityHost configures it

SettingValueMeaning
PruningOnOld executions are deleted automatically.
Maximum age168 hours (7 days)Executions older than a week are removed.
Maximum count5,000 executionsIf more than 5,000 exist, the oldest are removed first.

Whichever limit is reached first applies. These defaults suit most automations and keep the instance within its disk allowance.

How much history do you actually keep?

The 5,000-run limit counts every execution of every workflow on the instance, so busy instances reach it before the age limit does.

How often a workflow runsRuns per dayHistory you keep
Every minute1,440About 3.5 days (the 5,000-run cap applies first)
Every 5 minutes2887 days (about 2,000 runs, so the age limit applies)
Every 15 minutes967 days (about 670 runs)
Hourly247 days (about 170 runs)

Several workflows add up. Three workflows that each run every five minutes produce about 6,000 executions in seven days, so the oldest runs are removed a little before the seven-day mark.

What pruning does and does not delete

  • Deleted: the stored run history (inputs, outputs, errors) of old executions.
  • Kept: your workflows, credentials, tags and settings. Pruning never touches them.
  • Not affected: data your workflows write elsewhere, such as rows in Google Sheets or records in a database.

How to keep results you need

  1. Do not rely on execution history as your database. Write important outputs to a sheet, database, storage bucket or email.
  2. For a workflow you must audit, add a final node that logs a short summary (time, ID, outcome) to a sheet or table.
  3. Reduce what is stored: in a workflow's Settings choose not to save successful production executions, and keep only failed runs for debugging.
  4. Avoid passing huge payloads between nodes. Process large files in batches or store them outside n8n and pass only a link.

Signs your instance is under pressure

  • The editor is slow to open the executions list.
  • The Overview or Resources tab shows disk usage close to your plan's limit.
  • Backups or restarts take noticeably longer than before.

Check disk and memory on the Resources tab, and read the Logs tab for errors. If you consistently approach the limit even with pruning, upgrade the plan or reduce how often heavy workflows run.

Run loops carefully
A Schedule Trigger every minute with a large API call is rarely necessary. Every five or fifteen minutes cuts executions by a factor of five to fifteen with almost no loss for many use cases.

Frequently asked questions

Can I change the pruning limits?

The defaults are set by DignityHost to protect your instance's disk and performance. If you have a specific need, such as a longer history on a larger plan, open a support ticket.

Will pruning delete my workflow backups?

No. Workflow backups are separate files. They follow the retention count you set in the Workflows tab.

Does pruning stop workflows from running?

No. It only removes old history in the background.

Plans with PostgreSQL and Redis for heavier workloadsDedicated n8n instance with SSL, backups and a full management panel.
n8n hosting plans →

References and further reading

Last reviewed 19 October 2026. Need a hand? Contact DignityHost support or open a ticket from your client area.

Was this answer helpful? 0 Users Found This Useful (0 Votes)