Skip to main content

Minimum Requirements

The minimum requirements for installing PostgreSYS components may vary depending on the desired workload or the technical and organizational needs of each environment and project.

However, to meet the minimum requirements of production environments, we suggest:

ServiceComponentCPURAMDiskComments
OrchestrationPgSmart CLI1 GHZ Dual Core512 MB100 MB
PgSmart Web2 GHZ Dual Core2 GB1 GB
PgSmart Agent1 GHZ Dual Core512 MB100 MB
DatabasePostgreSQL1 GHZ Dual Core4 GB 12 GBRecommended CPU with 4 or more cores.
PostGIS1 GHZ Dual Core1 GB 2100 MB
Connection PoolPgBouncer1 GHZ Dual Core1 GB 3100 MB
Backup ManagementpgBackRest1 GHZ Dual Core512 MB100 MBConsider resizing computational resources when using WAL-E and WAL-G.
High AvailabilityPatroni 41 GHZ Dual Core2 GB100 MB
etcd2 GHZ Dual Core2 GB 5100 MBSSD disks are recommended.
HAProxy1GHZ Dual Core1 GB 6100 MB
ObservabilityPrometheus1 GHZ Dual Core4 GB-SSD disks are recommended.
Prometheus Exporter1 GHz Dual Core512 MB-
Grafana2 GHZ Dual Core2 GB1 GBFor installation and logs.
Alertmanager1 GHZ Dual Core2 GB-
Karma1 GHz Dual Core1 GB-
note

Up to 5 GB of free disk space is required to download the installation packages. If needed, request support at the Área de Suporte.

Recommendations

Although the distribution of services changes according to available resources, the desired level of isolation and availability, and the performance requirements of each environment, here are some recommendations that can be observed as general guidelines.

ServiceComponentRecomendations
DatabasePostgreSQLWhenever possible, use a dedicated host for this component.
BackuppgBackRestWhenever possible, use a dedicated host for this component. If this component is installed on the same host as the database service component, it is recommended to use separate disks for backup storage.
High Availability
(HA)
PatroniIt must be installed on the host(s) of the database instance(s)..
High Availability
(HA)
etcdIn production, it must be installed on at least 3 distinct and, if possible, dedicated hosts. Additionally, an odd number of members in the etcd cluster is recommended. Since this component uses the Raft consensus algorithm, which relies on a majority of votes (quorum) to elect a leader and apply changes to the cluster, having an odd number maximizes fault tolerance with the fewest possible nodes.
High Availability
(HA)
HAProxyIt is recommended that this component be installed on a dedicated.
Connections PoolPgBouncerThe host where PgBouncer will be installed depends on the desired architecture. In a common scenario, it is recommended to install it on a dedicated host or together with the Database to reduce network latency. However, in HA environments, it can be installed alongside the Proxy component to achieve better performance.
ObservabilityPrometheusWhenever possible, use a dedicated host for this component.
ObservabilityGrafanaWhenever possible, use a dedicated host for this component. Otherwise, preferably place it on the same server as Prometheus.
ObservabilityAlertmanagerWhenever possible, use a dedicated host for this component. Otherwise, preferably place it on the same server as Prometheus.
ObservabilityKarmaWhenever possible, use a dedicated host for this component. Otherwise, preferably place it on the same server as Prometheus.

We emphasize that each environment is unique and should be assessed individually for proper configuration.

Supported Operating Systems

PostgreSYS is available for the following operating systems:

PostgreSYSOperating SystemVersionArchitecture
4.1CentOS8.xx86-64
4.1CentOS9.xx86-64
4.1Red Hat Enterprise Linux8.xx86-64
4.1Red Hat Enterprise Linux9.xx86-64
4.1Oracle Linux8.xx86-64
4.1Oracle Linux9.xx86-64
4.1Rocky Linux8.xx86-64
4.1Rocky Linux9.xx86-64
4.1AlmaLinux8.xx86-64
4.1AlmaLinux9.xx86-64
4.1Amazon Linux2023x86-64
4.1SUSE Linux Enterprise Server15.6x86-64
4.1openSUSE15.6x86-64
4.1Ubuntu20.04x86-64
4.1Ubuntu22.04x86-64
4.1Ubuntu24.04x86-64
4.1Debian11x86-64
4.1Debian12x86-64

Footnotes

  1. Considering production environments, which require significant memory for maintenance processes, parallelism, work_mem, etc.

  2. Additional 1 to 2 GB for complex geospatial operations.

  3. By default, the PgBouncer component requires 2kB of memory per connection.

  4. The high availability agent, represented by the Patroni component, must be installed on the same server as the database service, represented by the PostgreSQL component.

  5. The performance of the etcd component is directly related to the memory available on the server to cache the key-value data. For high availability environments with more than 20 PostgreSQL servers, consider increasing the memory.

  6. Considering up to 1000 connections per second.