VPS for PostgreSQL: database servers by measured TPS
We earn commissions when you shop through the links below. How we make money
A server for your own PostgreSQL. Transactions per second under pgbench depend on the disk syncing writes and on the CPU, which is why plans with the same specs differ several times.
What it needs
- 2 vCPU and 4 GB RAM or more: the data you query often should fit in memory.
- An NVMe disk: every commit waits for the disk.
- Backups off the server: object storage in the same region helps.
Fastest
Highest pgbench read-write among the plans we measured that meet the needs.
- 1 Hetzner CPX 62 16 vCPU · 32 GB · $121.41/mo · measured in Falkenstein 27,003 TPS
- 2 Hetzner CPX 52 12 vCPU · 24 GB · $93.52/mo · measured in Falkenstein 23,082 TPS
- 3 Cherry Servers Premium VDS 8 16 vCPU · 64 GB · $162.99/mo · measured in Chicago 20,358 TPS
- 4 Vultr High Frequency vhf-12c-48gb 12 vCPU · 48 GB · $256.00/mo · measured in Madrid 17,840 TPS
- 5 Cherry Servers Premium VDS 6 12 vCPU · 48 GB · $141.11/mo · measured in Chicago 16,965 TPS
Most for the money
Pgbench read-write per dollar of the full monthly price.
- 1 Hetzner CX 23 2 vCPU · 4 GB · $6.55/mo · measured in Nuremberg 2,825 TPS
- 2 Hetzner CX 33 4 vCPU · 8 GB · $9.83/mo · measured in Falkenstein 3,549 TPS
- 3 Hetzner CAX31 8 vCPU · 16 GB · $23.51/mo · measured in Falkenstein 6,679 TPS
- 4 Hetzner CAX41 16 vCPU · 32 GB · $45.39/mo · measured in Falkenstein 12,489 TPS
- 5 Hetzner CPX 42 8 vCPU · 16 GB · $65.08/mo · measured in Falkenstein 16,089 TPS
pgbench read-write, from our benchmark on real servers: 49 measured plans meet the needs so far. How we measure
Cheapest that meet the needs
Full monthly price in the cheapest region, with IPv4 where it is extra, excluding VAT. Measured or not.
- 1 OVHcloud VPS-1 2027 2 vCPU · 4 GB · Beauharnois $4.91
- 2 OVHcloud VPS-1 LZ 2027 Local Zone 2 vCPU · 4 GB · Amsterdam $6.01
- 3 Hetzner CX 23 2 vCPU · 4 GB · Nuremberg $6.55
- 4 Hetzner CAX11 2 vCPU · 4 GB · Falkenstein $7.10
- 5 OVHcloud VPS-2 2027 4 vCPU · 8 GB · Beauharnois $9.29