DBaaS Service PG

Properties

PropertyTypeRequiredDescription
namestringyesService name
planstringyesSubscription plan
prometheus-uriPrometheus URIyesPrometheus integration URI
typestringyesService type code
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)
databasesarray of DBaaS Database NamenoList of PostgreSQL databases
disk-sizeintegernoTODO UNIT disk space for data storage
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
node-countintegernoNumber of service nodes in the active plan
node-cpu-countintegernoNumber of CPUs for each node
node-memoryintegernoTODO UNIT of memory for each node
node-statesarray of Automatic maintenance settingsnoState of individual service nodes
notificationsarray of Service notificationsnoService notifications
pg-settingspostgresql.conf configuration valuesnoPostgreSQL-specific 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.
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)
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).
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.
backup-minuteintegernoThe minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.

Prometheus URI

Prometheus integration URI

PropertyTypeRequiredDescription
hoststringno
portintegerno

Connection Pools

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

Allowed values: transaction, statement, session.
namestringyesConnection pool name
sizeintegeryesSize of PGBouncer’s PostgreSQL side connection pool
usernamestringyesPool username

Components

PropertyTypeRequiredDescription
componentstringyesService component name
hoststringyesDNS name for connecting to the service component
portintegeryesPort number for connecting to the service component
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