m5.large

General purpose · Intel Xeon Platinum (x86)

PostgreSQL benchmark results for the m5.large AWS EC2 instance with 2 vCPU, 8 GiB RAM, and x86-64 architecture.

Compute

vCPU
2
Memory
8 GiB
Mem / vCPU
4 : 1

Platform

Family
m5
Architecture
x86-64
Performance
Fixed

Cost & region

On-demand
$0.0960/hr~$70/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 (~6 GB of 8 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.large PostgreSQL benchmark results
1 GBgp3-baseline20,293±0.2%172,0921.58±0.2%3.12±0.2%3.88±0.4%10,1462,537
1 GBgp3-max19,627±0.3%76,9971.63±0.3%3.16±0.2%3.83±0.2%9,8132,453
10 GBgp3-max15,894±0.6%62,3542.01±0.6%3.43±0.4%4.44±0.6%7,9471,987
50 GBgp3-max14,227±0.6%55,8152.25±0.6%3.29±0.6%4.03±0.8%7,1141,778
10 GBgp3-baseline5,447±3.1%46,1925.88±3.0%11.90±3.5%14.91±3.4%2,723681
50 GBgp3-baseline2,700±0.8%22,90011.85±0.8%17.67±1.1%20.63±1.7%1,350338