Skip to content

Command Palette

Search for a command to run...

Best VPS for Databases (Postgres & MySQL) in 2026

Updated Jul 2026 · 3 plans benchmarked

A self-hosted database wants three things: RAM to cache the working set, fast NVMe for write latency, and reliable backups. These plans deliver all three without enterprise pricing.

What to look for
  • RAM sized to your working set — a high cache-hit ratio is the single biggest performance lever.
  • NVMe, not spinning disk, for low write latency and fast checkpoints.
  • Snapshots or automated backups for point-in-time recovery.
  • KVM for full control of kernel/IO tuning, and a region near your app servers.

The picks

Hetzner CloudBest overall

Fast NVMe and 4 GB RAM handle a real Postgres or MySQL workload, and Snapshots make point-in-time backups trivial.

From $4.59/mo · 2 vCPU / 4 GB / 40 GB · EU + USSee Hetzner Cloud plans →
KamateraEasiest to startrecurring pricefree tier

Scale RAM independently as your dataset grows, and place the database in the same region as your app to cut query latency.

From $4/mo · 1 vCPU / 1 GB / 20 GB · US + EU + AsiaSee Kamatera plans →
affiliate disclosure

The picks, side by side

Hetzner CloudBest overall
From$4.59/movCPU2RAM4 GBStorage40 GBRegionsEU, USBillingusage-based
KamateraEasiest to start
From$4.00/movCPU1RAM1 GBStorage20 GBRegionsUS, EU, AsiaBillingrecurring

Prices verified Jul 2026 · How we benchmark →

Common questions

How much RAM does my database need?

Ideally enough to hold your working set (the frequently accessed rows and indexes) in cache. For small apps 2–4 GB is plenty; size up as your hot data grows.

NVMe vs SSD for databases — does it matter?

Yes. NVMe has far lower write latency than SATA SSD, which directly improves transaction throughput and checkpoint times under load.

Should the database share a VPS with my app?

At small scale, yes — it's simpler and cheaper. Split it onto its own box once the database and app start competing for RAM or CPU.

We may earn a commission when you sign up through links on this page. Rankings are decided before affiliate terms are ever discussed. How we test →