post
https://api.linode.com//databases/postgresql/instances//connection-pools
Configure PGBouncer connection pool settings, using our partner Aiven's specification. You can only create a connection pool on an active cluster in an existing PostgreSQL Managed Database. Run the List PostgreSQL Managed Databases operation, locate the desired database, and verify its status is active. Then store both its id, as your postgresqlInstanceId, and its label.
Permissions and scopes
To call this operation, you need the following:
-
Identity and access permissions. Your user needs these roles assigned. Learn more.
- Roles:
database_admin
- Roles:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
databases:read_write
- Scopes:
CLI
linode-cli databases postgresql-conn-pool-create \
--database PostgreSQL-DB-video-streaming-data
--mode session
--label Connection-Pool-01 \
--size 10 \
--username john-doe