Skip to main content
Version: Latest

Resource Considerations

This document describes resource considerations and limitations to be taken into account when provisioning and operating a9s PostgreSQL Service Instances.

The resource requirements of a Service Instance depend on the Template selected for its Service Plan. Each Template defines the topology (number of nodes) and the set of colocated processes. Templates that provide logging require a higher-memory VM type and more ephemeral disk than Templates without logging.

The Platform Operator must define matching vm_type and persistent_disk_type entries in the BOSH Cloud Config and reference them from the Service Plan configuration. For guidance on Service Plans and Templates, see Service Plans and Available Templates.

For guidance on Service Plans and Templates, see Service Plans and Available Templates.

Template Requirements

The resource requirements of a Service Instance depend on the Template selected for its Service Plan. The small, medium, and large labels used for VM type and persistent disk type in the tables below refer to the example Cloud Config entries defined in Update the Cloud Config.

Templates that provide logging require a higher-memory VM type than Templates without logging.

Logging Templates and RAM

Templates that provide logging reserve at least 512 MB of RAM for the logging process, in addition to the memory required by the data service process itself. Provisioning 512 MB of additional headroom above this minimum is recommended, to comfortably absorb the logging overhead.

The following table lists resource requirements per VM, as well as totals across all nodes of a Service Instance.

Template nameNodesvCPUsLoggingSSLMin. RAMMin. Persistent DiskMin. Ephemeral DiskExample VM TypeExample Persistent Disk Type
postgresql17-single14YesNo4.5 GB10 GB10 GBlargemedium
postgresql17-single-ssl14YesYes4.5 GB10 GB10 GBlargemedium
postgresql17-single-no-logging12NoNo4 GB10 GB10 GBsmallmedium
postgresql17-single-no-logging-ssl12NoYes4 GB10 GB10 GBsmallmedium
postgresql17-replica34YesNo4.5 GB10 GB10 GBlargemedium
postgresql17-replica-ssl34YesYes4.5 GB10 GB10 GBlargemedium
postgresql15-single14YesNo4.5 GB10 GB10 GBlargemedium
postgresql15-single-ssl14YesYes4.5 GB10 GB10 GBlargemedium
postgresql15-single-no-logging12NoNo4 GB10 GB10 GBsmallmedium
postgresql15-single-no-logging-ssl12NoYes4 GB10 GB10 GBsmallmedium
postgresql15-replica34YesNo4.5 GB10 GB10 GBlargemedium
postgresql15-replica-ssl34YesYes4.5 GB10 GB10 GBlargemedium
† Includes the RAM reserved for the logging process. See the note above.
WAL Accumulation and Disk Growth

WAL accumulation and optional continuous archiving mean that disk usage can grow beyond the raw data size. Replica nodes each hold a full copy of the dataset.