PostgreSQL Instance Types

PostgreSQL on Thalassa Cloud DBaaS runs on General Purpose instance types. Each type has a fixed vCPU and memory size; the platform sets PostgreSQL parameters to values suited for that size. You can override allowed parameters if your workload needs different tuning.

General Purpose (db-pgp)

General purpose instance types for production PostgreSQL workloads.

Instance typevCPUsMemoryDescription
micro11 GBMicro instance for light workloads, development, or testing.
small12 GBSmall instance for low-traffic or small datasets.
medium24 GBMedium instance for typical application workloads.
large28 GBLarge instance for production with higher memory needs.
xlarge416 GBExtra large instance for heavier production workloads.
2xlarge832 GBDouble extra large for high concurrency and large datasets.

How instance types affect PostgreSQL

When you select an instance type, Thalassa Cloud applies default parameters for that size:

  • Memory-relatedwork_mem, temp_buffers, maintenance_work_mem, effective_cache_size, and WAL-related settings scale with instance size.
  • Parallelismmax_worker_processes, max_parallel_workers, max_parallel_workers_per_gather, and max_parallel_maintenance_workers increase on larger instances.
  • Connectionsmax_connections is set per size (e.g. 100 on smaller instances, 200 on xlarge and 2xlarge).

You can change any allowed parameter after creation to better match your workload. Instance-type defaults are a starting point, not a lock-in.

Default parameters per instance type

The table below lists the default PostgreSQL parameters applied for each General Purpose instance type. These values are tuned for that instance size; you can override them within the allowed parameters.

Parametermicrosmallmediumlargexlarge2xlarge
max_connections100100100100200200
work_mem4 MB4 MB8 MB16 MB32 MB64 MB
temp_buffers8 MB16 MB32 MB64 MB128 MB256 MB
maintenance_work_mem256 MB512 MB1 GB1 GB2 GB2 GB
effective_cache_size512 MB1 GB2 GB4 GB10 GB20 GB
checkpoint_completion_target0.90.90.90.90.90.9
wal_buffers16 MB16 MB16 MB16 MB16 MB16 MB
min_wal_size512 MB1 GB1 GB1 GB2 GB4 GB
max_wal_size2 GB4 GB6 GB6 GB10 GB16 GB
random_page_cost1.21.21.21.21.21.2
effective_io_concurrency200200200200200200
max_worker_processes1144812
max_parallel_workers_per_gather002248
max_parallel_workers1144812
max_replication_slots445569
max_parallel_maintenance_workers202248
statement_timeout000000

statement_timeout value 0 means disabled (no timeout). Other parameters may have cluster-level defaults in addition to these; see Parameters for the full list of configurable parameters.

Choosing an instance type

  • Development / testing — micro or small.
  • Production (moderate traffic) — medium or large.
  • Production (high traffic, many connections, or large working set) — xlarge or 2xlarge.

If you hit connection limits, high I/O wait, or slow queries despite tuning, consider moving to a larger instance type.