---
name: databases-for-postgresql-ts-max-connections
title: How do I increase the max_connections on my IBM Cloud&reg; Databases for PostgreSQL deployment?
description: If you encounter an error when attempting to increase the `max_connections` on your IBM Cloud&reg; Databases for PostgreSQL deployment, review these solutions.
last-updated: 2022-08-10
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/databases-for-postgresql?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

{:tsSymptoms: .tsSymptoms}
{:tsCauses: .tsCauses}
{:tsResolve: .tsResolve}
{:shortdesc: .shortdesc}
{:screen: .screen}
{:support: data-reuse='support'}
{:codeblock: .codeblock}
{:pre: .pre}
{:note:.deprecated}
{:troubleshoot: data-hd-content-type='troubleshoot'}



# How do I increase the max_connections on my IBM Cloud&reg; Databases for PostgreSQL deployment?
{: #troubleshoot-max-connect}
{: troubleshoot}
{: support}

If you encounter an error when attempting to increase the `max_connections` on your IBM Cloud&reg; Databases for PostgreSQL deployment, review these solutions.
{: shortdesc}

You receive a `superuser` error message when attempting the increase the `max_connections` on your IBM Cloud&reg; Databases for PostgreSQL deployment.
{: tsSymptoms}

Review the following information to troubleshoot and resolve your `max_connections` issues:
{: tsResolve}

* The preferred method for this process is to use [Connection Pooling](https://cloud.ibm.com/docs/databases-for-postgresql?topic=databases-for-postgresql-managing-connections&format=markdown#connection-pooling). Connection pooling prevents you from exceeding the connection limit and ensures that connections from your applications are being handled efficiently.{: .note}
* Alternatively, see [Changing your IBM Cloud&reg; Databases for PostgreSQL configuration](https://cloud.ibm.com/docs/databases-for-postgresql?topic=databases-for-postgresql-changing-configuration&format=markdown) and [Managing connections](https://cloud.ibm.com/docs/databases-for-postgresql?topic=databases-for-postgresql-managing-connections&interface=cli&format=markdown).