# Limitations

* **Connection Limits:** The value for [<mark style="color:blue;">max\_connections</mark>](https://www.postgresql.org/docs/current/runtime-config-connection.html) is calculated based on RAM size.

| **RAM Size** | **max\_connections** |
| :----------: | -------------------: |
|      4GB     |                  384 |
|      5GB     |                  512 |
|      6GB     |                  640 |
|      7GB     |                  768 |
|      8GB     |                  896 |
|     > 8GB    |                 1000 |

The superuser needs to maintain the state and integrity of the database, which is why the platform reserves 11 connections for internal use: connections for superusers, see [<mark style="color:blue;">superuser\_reserved\_connections</mark>](https://www.postgresql.org/docs/current/runtime-config-connection.html) for replication.

{% hint style="info" %}
**Note:** The total upper limit for **CPU cores**, **RAM**, and **Storage** depends on your contract limits.
{% endhint %}

* **Backups:** Storing cluster backups in an <code class="expression">space.vars.ionos\_cloud\_object\_storage</code> is limited to the last 7 days.
* **IP Ranges:** The following IP ranges cannot be used with our PostgreSQL services:
  * `10.208.0.0/12`
  * `10.233.0.0/18`
  * `192.168.230.0/24`
  * `10.233.64.0/18`

{% hint style="info" %}
**Note:** Enable `PgBouncer` for connection pooling when your application creates many short-lived connections or when client connections may exceed PostgreSQL’s `max_connections`. `PgBouncer` keeps backend processes low, improves latency, and protects the database from connection overload. For activation instructions, see [<mark style="color:blue;">Activating the connection pooler (PgBouncer)</mark>](/cloud/databases/postgresql/api/v1-api/modify-cluster-attributes/activate-a-postgresql-connection-pooler.md).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/cloud/databases/postgresql/overview/limitations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
