Stileex

Database

PostgreSQL, 10 GB of data server requirements: RAM, CPU and disk, measured by profile

Plan 684 MiB of RAM for a server running PostgreSQL, 10 GB of data 18.7, system and Docker included: a 1 GB VPS with 1 vCPU held it with 50 simultaneous users, measured on a Simafri VPS Pro on 3 December 2026. Its working memory is 49.1 MiB at idle, 235 MiB with 10 simultaneous users and 316 MiB with 50 simultaneous users.

How much RAM, CPU and disk does PostgreSQL, 10 GB of data need? To answer, PostgreSQL, 10 GB of data 18.7 was installed the official way and measured at idle, with 10 simultaneous users and with 50 simultaneous users, at least two independent runs each, then replayed on a server cut to the smallest size that holds it.

Measured on 3 December 2026, method 1.4

Memory to plan

684 MiB

peak of the whole server, 547 MiB, plus 25%

Smallest validated size

1 vCPU, 1 GiB

a 1 GB VPS, replayed at that size with 50 simultaneous users

In short: PostgreSQL, 10 GB of data minimum requirements

  • At idle, PostgreSQL, 10 GB of data 18.7 uses 49.1 MiB of working memory for the whole stack, and 0.01% of one vCPU on average.
  • With 10 simultaneous users (light use), its working memory stays at 235 MiB (median) and peaks at 238 MiB; its CPU stays at 1.08% of one vCPU at the 95th percentile.
  • With 50 simultaneous users (sustained use), its working memory stays at 316 MiB (median) and peaks at 319 MiB; its CPU stays at 4.13% of one vCPU at the 95th percentile.
  • For the whole server, system and Docker included, plan 684 MiB of RAM: its highest working memory peak, 547 MiB, plus 25%. The smallest size that holds it is 1 vCPU and 1 GiB of memory, a 1 GB VPS, validated by a replay with 50 simultaneous users on a server cut to that size.

Measured resources, by profile

Each value is the median of the independent runs of the profile, with the lowest and the highest in brackets. Working memory is the memory the processes really hold, without the file cache the system can take back; memory.peak is the highest memory the kernel counted against the server, file cache included.

Idle10 simultaneous users50 simultaneous users
Independent runs 222
Simultaneous users none1050
Reference dataset none64,000,000 accounts64,000,000 accounts
Working memory, median 49.1 MiB235 MiB316 MiB
Working memory, 95th percentile 49.5 MiB235 MiB (235 to 236)317 MiB
Working memory, peak 50.2 MiB (49.8 to 50.6)238 MiB (237 to 240)319 MiB (317 to 320)
CPU, average 0.01% of one vCPU0.72% of one vCPU3.27% of one vCPU (3.2 to 3.34)
CPU, 95th percentile 0.0% of one vCPU1.08% of one vCPU (1.06 to 1.09)4.13% of one vCPU (4.02 to 4.25)
Disk reads, average 6.62 KiB/s (6.61 to 6.63)166 KiB/s (166 to 167)801 KiB/s (797 to 805)
Disk writes, average 0.32 KiB/s (0.28 to 0.37)406 KiB/s (405 to 407)1,963 KiB/s (1,954 to 1,972)
Whole server, system included, median 275 MiB (274 to 275)462 MiB542 MiB (541 to 544)
Whole server, working memory peak 277 MiB (276 to 278)465 MiB (464 to 467)546 MiB (545 to 547)
Whole server, memory.peak 279 MiB (278 to 279)468 MiB550 MiB (549 to 552)
Memory to plan (peak of the server plus 25%) 381 MiB584 MiB684 MiB
Scenario response time, 95th percentile none1 ms1 ms
Errors none0%0%

RAM of each service of PostgreSQL, 10 GB of data

The median working memory of each service over the measurement window, then its average CPU, with the lowest and the highest of the runs in brackets.

Service Idle10 simultaneous users50 simultaneous users
PostgreSQL 18 49.1 MiB, 0.01% of one vCPU235 MiB, 0.72% of one vCPU316 MiB, 3.27% of one vCPU (3.2 to 3.34)

Which server for PostgreSQL, 10 GB of data: the smallest VPS that held

For the whole server, system and Docker included, plan 684 MiB of RAM: its highest working memory peak, 547 MiB, plus 25%. The smallest size that holds it is 1 vCPU and 1 GiB of memory, a 1 GB VPS, validated by a replay with 50 simultaneous users on a server cut to that size.

Measured and validated on a Simafri VPS Pro. On Simafri, the plan that holds PostgreSQL, 10 GB of data is the VPS Pro 1 (1 vCPU, 2 GB of RAM, 20 GB of disk), self-managed, or managed by Simafri, who runs the server for you.

The memory to plan is the highest working memory peak of the whole server, system, Docker and the application together, over every run and its first start, plus 25%. The candidate size is the smallest one of the scale (memory of 512 MiB, 1, 2, 4, 8 or 16 GiB, and 1, 2, 4 or 8 vCPU, each on its own axis) that holds that memory and where CPU stays under 70% of its vCPU. It is validated only once the sustained profile has been played again on a server cut to exactly that size, and held.

Installation and disk

First healthy response after the start of the application
1.79 s (1.75 to 2.17)
Peak working memory of the stack during the first start and the migrations
50.8 MiB (49.3 to 56.5)
Peak working memory of the whole server during the first start
306 MiB (303 to 309)
Size of the images
168 MiB
Data on disk after installation
46.5 MiB

The three profiles

The names of the profiles are the same for every application; their content is written for each one, in its own unit, and played the same way on every run.

Idle

Installed as the documentation describes, the first account created, no data: 10 minutes of rest, then 15 minutes measured.

10 simultaneous users (light use)

10 simultaneous users, simulated by k6 from another server, after a reference dataset of 64,000,000 accounts: 5 minutes of warm-up, then 30 minutes measured.

50 simultaneous users (sustained use)

50 simultaneous users, simulated by k6 from another server, after a reference dataset of 64,000,000 accounts: 5 minutes of warm-up, then 30 minutes measured.

PostgreSQL 18 runs alone, in its official image, as the image’s documentation runs it, with its default configuration, its data in a volume. Idle is PostgreSQL started, its database empty. The data and the load are those of pgbench, PostgreSQL’s own benchmark tool. One simulated user is one connection of an application:

  • the database holds pgbench’s tables at scale factor 640, about 10 GB of data (64,000,000 accounts), generated by the server itself, then vacuumed and analysed, as pgbench’s initialisation does;
  • each connection runs pgbench’s standard transaction, TPC-B-like (three updates, a select and an insert), about once a second, the starts spaced at random as pgbench spaces them for a rate: about 10 transactions a second with 10 users, about 50 with 50;
  • the load comes from pgbench on the load generator, over the bench’s private network.

The response time is the time of each transaction, from its scheduled start to its commit, the wait for a late start included, as pgbench reports it.

pgbench’s tables at scale factor 640, about 10 GB of data, loaded before the load.

What the official documentation says about minimum requirements

Read on 30 November 2026, for version 18.

  • The documentation publishes no minimum memory, CPU or disk for PostgreSQL, 10 GB of data. Source
  • It advises a shared_buffers of 25% of the memory on a dedicated database server with 1 GB of memory or more; the measured configuration keeps the image’s default, 128 MB. Source

Method, bench and data

Method 1.4. Bench: Simafri VPS Pro (LXC), Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz, Linux 7.0.14-28-pve, Proxmox VE 9.2.26, Ubuntu 24.04.5 LTS, Docker 29.10.1, Compose 5.8.1, k6 v2.4.0.

Image measured: postgres:18.7@sha256:64c8b0d31e4ab6ea665e8426ea406a94bf52de3c05b3a4a8bf713704eefa9328

The method in full JSON

Data under the CC BY 4.0 license: you may reuse it, citing Stileex and linking to this page.

Cite this page: Stileex, "PostgreSQL, 10 GB of data server requirements, measured", 3 December 2026, method 1.4, https://stileex.xyz/en/apps/postgresql-10gb

Badge for the PostgreSQL, 10 GB of data README

Measured by Stileex: 1 vCPU, 1 GiB

Markdown, to copy:

[![Measured by Stileex](https://stileex.xyz/apps/postgresql-10gb/badge.svg)](https://stileex.xyz/en/apps/postgresql-10gb)

Frequently asked questions

How much RAM does PostgreSQL, 10 GB of data need?

PostgreSQL, 10 GB of data 18.7, measured on 3 December 2026: 49.1 MiB of working memory at idle, 235 MiB with 10 simultaneous users and 316 MiB with 50 simultaneous users, for the whole stack. For the whole server, system and Docker included, plan 684 MiB of RAM; a 1 GB VPS with 1 vCPU held it with 50 simultaneous users, replayed on a server cut to that size.

Is 1 GB enough for PostgreSQL, 10 GB of data?

Yes. PostgreSQL, 10 GB of data 18.7, measured on 3 December 2026: plan 684 MiB of RAM for the whole server, system and Docker included, and a 1 GB VPS with 1 vCPU held it with 50 simultaneous users, replayed on a server cut to that size.

Can PostgreSQL, 10 GB of data run on a 512 MB VPS?

PostgreSQL, 10 GB of data 18.7, measured on 3 December 2026: the whole server, system and Docker included, needs 684 MiB of RAM, and the smallest server that held it with 50 simultaneous users is a 1 GB VPS with 1 vCPU.

How many users can PostgreSQL, 10 GB of data handle on 1 GB?

PostgreSQL, 10 GB of data 18.7, measured on 3 December 2026: a 1 GB VPS with 1 vCPU held it with 50 simultaneous users, replayed on a server cut to that size; the memory to plan for the whole server, system and Docker included, is 584 MiB with 10 simultaneous users and 684 MiB with 50 simultaneous users.

How much CPU does PostgreSQL, 10 GB of data use?

On average 0.01% of one vCPU at idle and 3.27% of one vCPU with 50 simultaneous users, with 4.13% of one vCPU at the 95th percentile.

Which server should I choose for PostgreSQL, 10 GB of data?

For the whole server, system and Docker included, plan 684 MiB of RAM: its highest working memory peak, 547 MiB, plus 25%. The smallest size that holds it is 1 vCPU and 1 GiB of memory, a 1 GB VPS, validated by a replay with 50 simultaneous users on a server cut to that size. Every criterion held at that size: errors, response time, no stop for lack of memory, no page in swap, no restart. Measured and validated on a Simafri VPS Pro. On Simafri, the plan that holds PostgreSQL, 10 GB of data is the VPS Pro 1 (1 vCPU, 2 GB of RAM, 20 GB of disk), self-managed, or managed by Simafri, who runs the server for you.

How were these figures measured?

On a dedicated bench, with the official installation, three profiles (idle, 10 simultaneous users and 50 simultaneous users) and at least two independent runs each, the memory and CPU of every service of the application read once per second in cgroup v2, then a replay at the smallest size that holds it. Method 1.4; the data and the scripts are public.