Dedicated servers for databases
Databases reward three things: memory to hold the working set, drives with steady write latency, and no neighbour stealing either.
Why do databases belong on bare metal?
A database is the one component whose slowness every other part of an application inherits. On shared infrastructure, storage latency spikes when another tenant runs a backup, and memory pressure on the host leads to unpredictable stalls. A rented machine gives the database all of its drives and memory, all the time. Query plans that are fast in testing stay fast in production, and you can tune the kernel, the file system and the scheduler without asking anyone.
How should RAM be sized for the database?
Enough to keep the working set in RAM: the tables and indexes that are read often. Total data can be far larger; the working set is usually 10 to 30% of it. Give PostgreSQL around a quarter of memory as shared buffers and let the page cache use the rest; give MySQL and MariaDB a buffer pool of 50 to 70%. All memory in the catalogue is ECC, which corrects single bit errors instead of quietly writing them to disk. The ECC memory explained article explains why that matters.
- Up to 30 GB working set: BUSINESS-2 2024, 64 GB DDR5 of DDR5 and two 960 GB NVMe drives, from $109.80 a month.
- Up to 80 GB: ESSENTIAL-L, 128 GB DDR5 with a AMD Ryzen 9 9950X, from $106.20.
- Up to 100 GB with heavy writes: ENTERPRISE-a2 2024 or ENTERPRISE-i1 2026 with dual power supplies and datacenter NVMe.
- Up to 200 GB on a budget: ESSENTIAL-8 with 256 GB DDR4, on SATA SSDs that suit read-heavy loads.
Which drives suit database work?
NVMe, mirrored. Databases issue many small synchronous writes, and NVMe drives handle them with far lower latency than SATA. Keep the two drives in RAID 1 so a drive failure costs nothing but a rebuild. The 2026 Enterprise models ship 1.92 TB drives, giving room for data plus write-ahead logs. Our NVMe vs SATA SSD vs HDD article compares the drive types we use.
How do I make a database highly available?
Run a primary and a replica on two machines, ideally in two data centres such as Gravelines and Strasbourg, and connect them through a WireGuard tunnel. PostgreSQL streaming replication with Patroni, or MySQL group replication, handles failover. Asynchronous replication across data centres adds no latency to commits; synchronous replication should stay within one site. Back up both with logical dumps and continuous archiving to a separate machine; see the Backup and archive storage page.
How many cores does a database use?
Fewer than most people expect. A single query usually runs on one core, so clock speed decides latency; parallel query and many concurrent connections use more. Eight to sixteen fast cores serve the majority of OLTP databases. For analytical engines, see Big data and analytics.
Should connections go through a pooler?
For PostgreSQL almost always. Each connection is a separate process with its own memory, so an application that opens hundreds of connections wastes RAM that the buffer cache could use. PgBouncer in transaction mode lets a few dozen server connections serve thousands of clients. MySQL and MariaDB handle many connections more cheaply, but a thread pool or ProxySQL still smooths spikes from web workers. Run the pooler on the database machine itself or on each application server, and keep the database port bound to localhost or the WireGuard interface rather than the public address.
What does a database server cost over a year?
A yearly BUSINESS-2 2024 is one payment of $1,317.60, with no setup charge, and a yearly ENTERPRISE-a2 2024 is $4,932.00.
Machines we suggest for databases
Lowest monthly price of each model across its data centres; the model page shows the price in every location.
| Model | Processor | Cores | Memory | Drives | Port | Per month |
|---|---|---|---|---|---|---|
| BUSINESS-2 2024 | AMD EPYC 4344P | 8 | 64 GB | 2x 960 GB SSD NVMe | 3 Gbps unmetered | $109.80 |
| BUSINESS-3 2024 | AMD EPYC 4464P | 12 | 64 GB | 2x 960 GB SSD NVMe | 3 Gbps unmetered | $141.60 |
| ESSENTIAL-L | AMD Ryzen 9 9950X | 16 | 128 GB | 2x 960 GB SSD NVMe | 1 Gbps unmetered | $106.20 |
| ESSENTIAL-8 | AMD EPYC 7532 | 32 | 256 GB | 2x 480 GB SSD SATA | 1 Gbps unmetered | $126.60 |
| ENTERPRISE-a2 2024 | AMD EPYC GENOA 9254 | 24 | 128 GB | 2x 960 GB SSD NVMe | 5 Gbps unmetered | $411.00 |
| ENTERPRISE-i1 2026 | Intel Xeon 6517P | 16 | 128 GB | 2x 1.92 TB SSD NVMe | 5 Gbps unmetered | $424.80 |
| ENTERPRISE-a3 2026 | AMD EPYC TURIN 9355 | 32 | 128 GB | 2x 1.92 TB SSD NVMe | 5 Gbps unmetered | $481.80 |
Filter the full list by memory and NVMe to find every database-ready model.
Related pages
ECC memory explained
Why servers use error correcting memory, how full ECC differs from DDR5 on-die ECC, and which of our machines carry which.
Read moreNVMe vs SATA SSD vs HDD
Throughput, latency and cost per terabyte of the three drive types in our machines, and which job suits each.
Read moreBig data and analytics
High core EPYC machines and dense disk chassis for Spark, ClickHouse and data lake clusters.
Read moreQuestions and answers
What is the best server for PostgreSQL?
One with enough memory for the working set and mirrored NVMe drives; the BUSINESS-2 2024 and ENTERPRISE-a2 2024 are our usual picks.
Is the memory ECC?
Yes. Every model in the catalogue has ECC memory, on-die ECC on the Ryzen 9000 and EPYC 4004/4005 platforms.
Can I add more RAM later?
Models are sold in their listed configuration. Move to a larger model by setting up a replica on it and switching over.
Do you provide managed databases?
No. You install and run the database engine with full root access; we deliver and maintain the hardware.
What is a sound backup routine for the database?
Use pg_dump or mysqldump for logical copies and WAL or binlog archiving for point-in-time recovery, stored on a second machine.