Scaling & Operating n8n · 30 min

Postgres tuning for n8n

Control executions-table growth, indexes, and pruning settings.

Key concepts

  • EXECUTIONS_DATA_PRUNE
  • Index on execution_entity
  • Connection pool sizing

Exercise

Enable execution data pruning and verify the executions table stops growing unbounded.

Official docs