From e91513d2d4c0965b0791eab853d57b3da7cd06ca Mon Sep 17 00:00:00 2001 From: Kartik Balasubramanian <22399046+HumanistSerif@users.noreply.github.com> Date: Tue, 18 Nov 2025 10:05:50 +0000 Subject: [PATCH] Docs on database support (#3884) --- .../configuration/supported-databases-settings.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/hosting/configuration/supported-databases-settings.md b/docs/hosting/configuration/supported-databases-settings.md index a8ced74aa..a4c3b519b 100644 --- a/docs/hosting/configuration/supported-databases-settings.md +++ b/docs/hosting/configuration/supported-databases-settings.md @@ -6,6 +6,20 @@ contentType: reference By default, n8n uses SQLite to save credentials, past executions, and workflows. n8n also supports PostgresDB. +## Database type by n8n installation + +The database type used varies depending on your n8n installation: + +### Self-hosted n8n +By default, self-hosted installations use **SQLite**. You can optionally configure PostgreSQL by setting the appropriate environment variables (see [PostgresDB configuration](#postgresdb)). + +### n8n Cloud + +n8n Cloud installations use different databases depending on your plan tier: + +- **SQLite**: Trial, Starter, and Pro plans, as well as legacy Enterprise plans +- **PostgreSQL**: Enterprise Scaling plans only + ## Shared settings The following environment variables get used by all databases: