m5.xlarge

General purpose · Intel Xeon Platinum (x86)

PostgreSQL benchmark results for the m5.xlarge AWS EC2 instance with 4 vCPU, 16 GiB RAM, and x86-64 architecture.

Compute

vCPU
4
Memory
16 GiB
Mem / vCPU
4 : 1

Platform

Family
m5
Architecture
x86-64
Performance
Fixed

Cost & region

On-demand
$0.1920/hr~$140/mo
Region
us-east-1

Chart

Change the metric and disk to see how the numbers shift as the dataset grows — and where it stops fitting in memory.

Open markers sit past the RAM limit (~12 GB of 16 GiB): the dataset no longer fits in cache, so the working set spills to disk and throughput drops.

All results

6 of 6 rows
m5.xlarge PostgreSQL benchmark results
1 GBgp3-baseline39,959±0.7%186,7940.80±0.7%2.22±0.3%2.68±0.3%9,9902,497
10 GBgp3-baseline39,076±0.6%182,6690.82±0.6%2.24±0.4%2.69±0.4%9,7692,442
1 GBgp3-max39,479±0.4%112,5060.81±0.4%2.24±0.2%2.69±0.2%9,8702,467
10 GBgp3-max37,821±0.2%107,7810.85±0.2%2.28±0.1%2.74±0.1%9,4552,364
50 GBgp3-max18,841±0.1%53,6921.70±0.1%2.70±0.1%3.17±0.1%4,7101,178
50 GBgp3-baseline3,335±2.1%15,5919.60±2.1%14.83±2.8%17.64±3.1%834208