Skip to content

DBaaS Service PG

Properties

PropertyTypeRequiredDescription
namestringyesService name

Min length: 0. Max length: 63.
planstringyesSubscription plan
prometheus-uriPrometheus URIyesPrometheus integration URI
typestringyesService type code

Min length: 0. Max length: 64.
backup-scheduleBackup SchedulenoBackup schedule
backupsarray of List of backups for the servicenoList of backups for the service
componentsarray of ComponentsnoService component information objects
connection-infoConnection InfonoPG connection information properties
connection-poolsarray of Connection PoolsnoPostgreSQL PGBouncer connection pools
created-atstringnoService creation timestamp (ISO 8601)

ISO 8601 date-time.
databasesarray of DBaaS Database NamenoList of PostgreSQL databases
disk-sizeintegernoTODO UNIT disk space for data storage

Min: 0.
integrationsarray of DBaaS IntegrationnoService integrations
ip-filterarray[string]noAllowed CIDR address blocks for incoming connections
maintenanceAutomatic maintenance settingsnoAutomatic maintenance settings
max-connectionsintegernoMaximum number of connections allowed to an instance

Min: 0.
node-countintegernoNumber of service nodes in the active plan

Min: 0.
node-cpu-countintegernoNumber of CPUs for each node

Min: 0.
node-memoryintegernoTODO UNIT of memory for each node

Min: 0.
node-statesarray of Automatic maintenance settingsnoState of individual service nodes
notificationsarray of Service notificationsnoService notifications
pg-settingspostgresql.conf configuration valuesnoPostgreSQL-specific settings
pgaudit-settingsSystem-wide settings for the pgaudit extension.noPGAudit settings
pgbouncer-settingsSystem-wide settings for pgbouncer.noPGBouncer connection pooling settings
pglookout-settingsSystem-wide settings for pglookout.noPGLookout settings
shared-buffers-percentageintegernoPercentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value.

Min: 20. Max: 60.
statestringnoState of the service

Allowed values: running, rebuilding, rebalancing, poweroff.
synchronous-replicationstringnoSynchronous replication type. Note that the service plan also needs to support synchronous replication.

Allowed values: quorum, off.
termination-protectionbooleannoService is protected against termination and powering off
timescaledb-settingsSystem-wide settings for the timescaledb extensionnoTimescaleDB extension configuration values
updated-atstringnoService last update timestamp (ISO 8601)

ISO 8601 date-time.
uristringnoURI for connecting to the service (may be absent)
uri-paramsobjectnoservice_uri parameterized into key-value pairs
usersarray of UsersnoList of service users
versionstringnoPostgreSQL version
work-memintegernoSets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).

Min: 1. Max: 1024.
zonestringnoThe zone where the service is running

Connection Info

PG connection information properties

PropertyTypeRequiredDescription
paramsarray of Paramsno
standbyarray[string]no
syncingarray[string]no
uriarray[string]no

Backup Schedule

Backup schedule

PropertyTypeRequiredDescription
backup-hourintegernoThe hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.

Min: 0. Max: 23.
backup-minuteintegernoThe minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.

Min: 0. Max: 59.

Prometheus URI

Prometheus integration URI

PropertyTypeRequiredDescription
hoststringno
portintegernoMin: 0. Max: 65535.

Connection Pools

PropertyTypeRequiredDescription
connection-uristringyesConnection URI for the DB pool
databasestringyesService database name

Min length: 1. Max length: 40.
modestringyesPGBouncer pool mode

Allowed values: transaction, statement, session.
namestringyesConnection pool name

Min length: 1. Max length: 63.
sizeintegeryesSize of PGBouncer’s PostgreSQL side connection pool

Min: 1. Max: 10000.
usernamestringyesPool username

Min length: 1. Max length: 64.

Components

PropertyTypeRequiredDescription
componentstringyesService component name
hoststringyesDNS name for connecting to the service component
portintegeryesPort number for connecting to the service component

Min: 0. Max: 65535.
routestringyesNetwork access route

Allowed values: dynamic, private, public, privatelink.
usagestringyesDNS usage name

Allowed values: primary, replica.

Users

List of service users

PropertyTypeRequiredDescription
typestringyesAccount type
usernamestringyesAccount username
allow-replicationbooleanno
passwordstringnoAccount password. A missing field indicates a user overridden password.
Last updated on