Skip to content
Menu

DocsReference

View as Markdown

Limits

Every KeelDB quota and limit in one place, from databases per organization and storage caps to spending limits and API rate limits.

If a limit gets in your way, contact support from the console. Prices are on Plans and billing.

Databases per organization

PlanLimit
Free10 databases per organization, and one Free organization per person
Launch100 databases per organization
DedicatedNo fixed count. New organizations: at most 3 nodes and $250 a month of list price until their first paid invoice. At most 10 new Dedicated databases a day (3 for new organizations)

Over a limit, the API returns 403 limit_reached.

Per plan

LimitFreeLaunchScaleDedicated
Compute0.25 to 2 CU, above 0.5 CU only when the server has roomYour range within 0.25 to 16 CU (0.25 to 2 by default), up to 16 CU as the elastic pool has room (4 until your first paid invoice): when the pool can give less, the console and GET /plans show the lower maximum, "more when shared capacity grows"Your range within 0.25 to 16 CU (0.25 to 4 by default), a full vCPU guaranteed per CU, up to 16 CU as the elastic pool has room (4 until your first paid invoice)By size: 1 to 48 vCPU, 2 to 192 GB RAM; in US East today Performance sizes only, as far as our provider limits allow
Compute allowance100 CU-hours per database per month (its branches included), 300 per organization in allA $100 monthly budget with alerts by default; a hard limit if you turn it on (always on until the first paid invoice)The same budget as Launch, one for bothNone
Storage1 GB per database, shared with its branches (the database's data, what each instant branch has written on its own, and all the data of a point-in-time branch or a branch from a snapshot), then the database and its branches are read-only100 GB per database and per branch, then read-only (lower while a smaller cloud server is part of our shared fleet, as the console and GET /plans show)100 GB per database and per branch, then read-onlyIncluded by size; grows by itself up to the size's maximum (64 GB per GB of RAM, 2 TB at most); read-only at 95% of it
max_connections100400400100 to 2,000, by size
Your role's connectionsmax_connections minus 5max_connections minus 5max_connections minus 5max_connections minus 5
Pooler clients1,00010,00010,00010,000
Branches5 per database and 20 per organization in all, sharing their database's 1 GB and CU-hours; a branch that would take them past the 1 GB is refused. They move with their database when it changes plan10 child branches per database included, within 5 per organization plus 1 for each $1 of compute, storage and restore history above the $5 minimum, counted in branch-hours; more billed25 per database included, within the same organization allowance; more billedRestored from backups, billed by where they run
Snapshots1 per database100 manual per database, plus scheduled ones100 manual per database, plus scheduled ones100 manual per database, plus scheduled ones
Backup schedulesNoneDaily (keeps up to 35), weekly (26), monthly (24)Daily (keeps up to 35), weekly (26), monthly (24)Daily (keeps up to 35), weekly (26), monthly (24)
Read replicasNone0 to 30 to 30 to 3
High availabilityNoNoNoha2, ha3 where offered; not offered in US East yet
Restore window1 dayUp to 7 daysUp to 30 days (7 by default)7, 14 or 30 days by topology, longer billed
WAL archiving5 GB archived per database per day, and 0.5 GB written per organization per day in all, then read-only until 00:00 UTCNo daily capNo daily capNo daily cap; backup storage above 1.5, 2.5 or 5 times the provisioned storage billed
Egress5 GB per project per month (a database and its branches), then that project accepts no connections until the 1st; 50 GB per organization per month in all, deleted projects includedUp to 500 GB per project (a database and all its branches) per month included, then billed; an organization's projects together include 1 GB for each $1 of its Launch and Scale compute, storage and restore history above the $5 minimum that month; under it, the part of the $5 minimum that other usage leaves covers 7 GB for each $1 (35 GB with no other usage)Up to 500 GB per project per month included, then billed; Launch and Scale projects of an organization together within the same bound as Launch100 GB per node per month included, in proportion to the hours the database exists that month, then billed
Scale to zeroAlways: warm size after 5 idle minutes, sleep after 60 more, or after 10 while its server is over 70% busyAdjustable from 1 minute, or neverAdjustable from 1 minute, or neverNever
Idle archiveAfter 30 days without connections (databases without branches)NoneNoneNone
Metrics shownLast 30 daysLast 30 daysLast 30 days, and exported to your OpenTelemetry collectorLast 30 days
PostgreSQL logs keptLast 1 dayLast 3 daysLast 14 days, and exported to your OpenTelemetry collectorLast 14 days
PostgreSQL log records per minute100 per database1,000 per database5,000 per database5,000 per database
PostgreSQL log records kept10,000 per database100,000 per database500,000 per database500,000 per database

Pooler sizes are in Connection limits.

Free limits in practice

  • The limits are per database and per organization. Each Free database has its own 100 CU-hours a month, which its branches share; all of an organization's Free databases together have at most 300 CU-hours and 0.5 GB of WAL written a day, and each project (a Free database and its branches) has 5 GB of egress a month, within 50 GB for all of the organization's Free databases together, deleted ones included. One Free organization per person, so these are the limits of one account. A Free database that used its own CU-hours pauses alone until the 1st (UTC); at the organization's 300 every Free database of it pauses. We email the organization's owners at 80% of either.
  • Egress. KeelDB's proxies count what each database sends to its clients; that is what egress means on every plan. Free databases cannot use dblink or postgres_fdw, which send data to other servers directly, so everything a Free database sends goes through the proxies. On Launch and Dedicated, data a database sends to other servers itself with those extensions is not counted as egress. Once a project (a Free database and its branches) has sent 5 GB in a calendar month (UTC), as on Neon, that project accepts no connections until the 1st: a new connection is refused with an error that says why and when it serves again (SQLSTATE 53400), and an open session ends at its next result. The organization's other projects keep serving. Its data is kept, the organization's billing contacts get an email, and the database's overview in the console shows it. Move the database to Launch to serve it again at once. All of an organization's Free databases together, deleted ones included, send at most 50 GB in a month: at that, every Free project of the organization stops the same way until the 1st, so deleting a project and making a new one does not start the month again.
  • Write-ahead log. Two daily limits, each until 00:00 UTC. Archived WAL is counted in the 16 MB segments PostgreSQL archives: past 5 GB in a UTC day, the database is read-only. And the WAL the organization's Free databases write together (the real bytes, not the padding of a segment switch): past 0.5 GB in a UTC day, all of them are read-only. Read-only means reads keep working, sessions end so new ones start read-only, and the organization gets an email. A role that switches read-only off in a session and keeps writing is locked out until midnight once the day passes the limit by 0.5 GB (archived) or 0.25 GB (written). A quiet database stays far below both: the WAL switch every 5 minutes archives at most 4.5 GB a day even with a write in every interval, and those switches write almost nothing.
  • Idle archive. A Free database with no connections for 30 days, and without branches, moves to backup storage: KeelDB takes a fresh backup, stops the database and checks that its last changes reached backup storage, then removes its instances and its disk. Its data, host name and password stay. The next connection restores it from that backup and its WAL (so do Restore on its overview in the console and the SQL editor). Until it is ready, connections are refused with a message that says it is being restored and since when. A restore takes longer than a wake from sleep, and longer the more data the database holds.

Spending and new organizations

LimitValue
Launch and Scale monthly budget$100 a month by default, one for both: alerts only, nothing stops at it
Hard spend limitOptional, turned on in Billing: Launch and Scale usage of a month is never charged above the highest amount in force during it
Spend limit, new organizationsAlways on until the first paid invoice, at most $100 plus any unused prepaid credit
Spend alertsAt 50%, 80% and 100% of the monthly amount, then every further 100% without a hard limit; a day far above the usual; 50%, 80% and 100% of the optional Dedicated cap
Dedicated capOptional; blocks new databases, bigger sizes and new nodes when reached
Dedicated, new organizationsAt most 3 nodes, $250 a month of list price, sizes priced up to std-8 for single and std-4 for ha2 and ha3, 3 new databases a day
Early invoiceWhen usage in the current period reaches $50

Databases and branches

LimitValue
Database name2 to 48 characters: letters, numbers, spaces, dots, hyphens, underscores; starts with a letter or number
PostgreSQL database nameLowercase letters, digits and underscores, at most 40 characters
PostgreSQL versions18, 17 and 16
RegionsUS East (us-east), centered on Ashburn, Virginia; every location is listed on Sub-processors
Waiting lineNew Free and Launch databases wait in line ("In line for a database") when the shared servers are full, and are created by themselves as room frees up, Launch first and then Free, oldest first. Nothing is billed while they wait, and you can delete one at any time
IP allowlist50 entries per database (IPv4 or IPv6 addresses or CIDR ranges)
Plan changeThe data must fit the target: 1 GB for Free, 100 GB for Launch, the size's maximum on Dedicated. A Launch database moves back to Free with its branches when they fit Free (Moving back to Free); Scale and Dedicated move to Launch first
Wake-up waitThe proxy holds a connection up to 90 seconds while a sleeping database wakes
Branch expiryAt most 30 days ahead when set; not on databases with deletion protection
Parent stateready or sleeping
Point-in-time branches and restoresWithin the parent's restore window, after its first backup finished, and not in the future
DeletingA database with branches can't be deleted until its branches are; a database with deletion protection can't be deleted until protection is turned off

Dedicated changes

LimitValue
Reserved capacityOnce Dedicated servers are open: a new database only (not a move to Dedicated or a branch), when every provider refuses on an account limit; single today; Performance sizes only, never Standard sizes; a size that fits the free room of a shared server; no size, topology or read replica changes until it has moved to its own servers (see Reserved capacity)
Create timeoutServers that have not joined within 15 minutes are deleted at no charge, and KeelDB places the database again
Plan changes to and from DedicatedApplied in place today, while Dedicated databases run on KeelDB's shared servers. Once Dedicated servers open, a move from Free or Launch to Dedicated, or from Dedicated back to Launch, copies the data (Scaling): one move at a time, only while the database is ready or sleeping and has no branches, and not during a previous move's 24-hour rollback window
Size and topology changes on Dedicated serversNot available yet once Dedicated servers open: create a new database and copy your data, or contact support

Connections

LimitValue
TLSRequired, version 1.2 or newer
HandshakeTLS and startup must complete within 15 seconds
Idle in transactionSessions idle inside an open transaction are terminated after 10 minutes (5 minutes on Free)
Statement timeout (Free)A statement stops after 5 minutes by default. For a longer migration, raise it in that session: SET statement_timeout = '30min'
Failed logins20 failures from one IP in 10 minutes block that IP for 15 minutes
Reserved rolespostgres, streaming_replica, cnpg_pooler_pgbouncer, keel_admin and root can't log in
Prepared statements through the poolerProtocol-level only, max_prepared_statements = 200

SQL editor, query API and MCP run_sql

LimitValue
Statement timeout30 seconds
Rows per result500
Characters per cell2,000
Query text200 KB

API and MCP

LimitValue
REST API rate limit120 requests per minute per API key, bursts of 60
MCP rate limit120 requests per minute per API key, bursts of 60 (separate budget)
Active API keys25 per organization
API key name2 to 60 characters
Backups listed100 most recent

Organizations and accounts

LimitValue
Pending invitations50 per organization
Invitation lifetime7 days
Invitable rolesAdmin, developer, billing (only owners can grant owner)
Organization name2 to 60 characters
Account password10 to 128 characters
Session lifetime14 days of inactivity

Data retention

DataKept for
Storage, connection and transaction metrics35 days, one point every 5 minutes
CPU, memory and cache metrics8 days of one-minute points, 90 days of hourly points
Audit log400 days
Finished operations (jobs)90 days
BackupsThe database's restore window, and at least 7 days on Launch and Dedicated (1 day on Free)
Backups of a deleted database7 days
SnapshotsUntil you delete them or their database (see Snapshots)
PostgreSQL logsThe plan's log window (1 day on Free, 3 on Launch, 14 on Dedicated); copies in the encrypted backups of KeelDB's own database go with those backups, within 40 days