ClickHouse on a VPS: memory, cores, disk and price
ClickHouse is a column-oriented database for analytics: logs, website events, metrics. It works differently from PostgreSQL or MySQL and asks different things of a server. Here is which VPS to take for a small installation.
The short answer. For logs and website analytics with tens of gigabytes of compressed data, one VPS with 4 vCPU, 16 GB of memory and NVMe is enough. When the data reaches hundreds of gigabytes or queries feed customer-facing reports, move to 8 vCPU and 32 GB. ClickHouse is not the place for orders and user accounts — that is what PostgreSQL or MySQL are for.
How much memory and how many cores
The ClickHouse documentation recommends 32 GB or more, and for small volumes (up to ~200 GB of compressed data) as much memory as the data takes, but not less than 8 GB. Altinity puts the minimum at 4 cores and 16 GB; on 4–8 GB the server only works after caches and the number of background merges are reduced. For ordinary analytics the rule of thumb is 4 GB of memory per core, so the convenient steps are 4/16 and 8/32.
Disk and compression
Data is stored by column and compressed (LZ4 by default, ZSTD for a stronger ratio), so you size the disk by the compressed volume, and a query reads only the columns it needs. Analytics reads in large blocks, so read throughput in MB/s matters more than IOPS: NVMe gives headroom, while burstable cloud disks with a low baseline slow down on long queries. More in NVMe or SSD.
One server or a cluster
A single server without replicas does not need ClickHouse Keeper. Keeper coordinates replication; in production it runs as three instances, separate from the data servers, each with 1–2 cores, 4 GB and a fast disk. Replicas protect against hardware failure but not against a mistaken DROP, so backups are always needed: the BACKUP command writes a full or incremental copy to a disk or to S3 — see VPS backups and S3 object storage at hosts.
What the server costs
In the accsly.io catalog on 20 November 2026 (VPS without prepayment, with its own IPv4 and NVMe, median in the host's currency) there are 289 plans with 4 vCPU and 16 GB at 196 hosts; the monthly median is €35 for plans priced in euros and $56 in dollars, with a median disk of 195 GB. With 8 vCPU and 32 GB there are 377 plans at 254 hosts, €78.35 and $100, disk 328 GB. For EU users and GDPR-bound data, pick a location in the EU; for US users, one in the US. Selections: VPS for ClickHouse, VPS with 32 GB, VPS with 16 GB and NVMe VPS.