# Quotas for Managed PostgreSQL

How many databases, readers, branches, logins and replication slots you can have, and how to raise a quota.

(The table of quotas is generated on the web page.)
A request over a quota is refused with `409` before anything is created; the message starts
"Quota exceeded:" and names the quota, the limit and how many are in use. Restored databases count
as databases; branch pool machines do not.

## Raise a quota

Ask for a higher value of an adjustable quota, up to its ceiling:

1. Open **Service quotas** in the Deutsche Cloud Console.
2. On the quota's row, choose **Request increase**.
3. In **Request a quota increase**, for **New value**, enter the value you need.
4. For **What you need it for**, enter the reason, then choose **Send request**.

This needs `quotas:RequestServiceQuotaIncrease`. An organization on trial quotas is told to ask
Deutsche Cloud support to move it to standard quotas instead. Quotas that are not adjustable are limits of how the database works: a leader has room for
five readers' replication streams, and replication slots share the leader's slots with the
replicas, the readers and the backups.

Independently of the branches quota, one branch pool serves at most 20 branches at a time.

## Related

- [Branches](branches.md)
- [Add or remove a reader](add-or-remove-a-reader.md)
