Database
PostgreSQL, 1 GB of data server requirements: RAM, CPU and disk, measured by profile
Plan 673 MiB of RAM for a server running PostgreSQL, 1 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.3 MiB at idle, 225 MiB with 10 simultaneous users and 306 MiB with 50 simultaneous users.
How much RAM, CPU and disk does PostgreSQL, 1 GB of data need? To answer, PostgreSQL, 1 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
673 MiB
peak of the whole server, 539 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, 1 GB of data minimum requirements
- At idle, PostgreSQL, 1 GB of data 18.7 uses 49.3 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 225 MiB (median) and peaks at 227 MiB; its CPU stays at 1.17% of one vCPU at the 95th percentile.
- With 50 simultaneous users (sustained use), its working memory stays at 306 MiB (median) and peaks at 312 MiB; its CPU stays at 3.4% of one vCPU at the 95th percentile.
- For the whole server, system and Docker included, plan 673 MiB of RAM: its highest working memory peak, 539 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.
| Idle | 10 simultaneous users | 50 simultaneous users | |
|---|---|---|---|
| Independent runs | 2 | 2 | 2 |
| Simultaneous users | none | 10 | 50 |
| Reference dataset | none | 6,400,000 accounts | 6,400,000 accounts |
| Working memory, median | 49.3 MiB (49.2 to 49.4) | 225 MiB | 306 MiB |
| Working memory, 95th percentile | 49.6 MiB | 226 MiB | 307 MiB (306 to 307) |
| Working memory, peak | 49.9 MiB (49.8 to 49.9) | 227 MiB (226 to 227) | 312 MiB (312 to 313) |
| CPU, average | 0.01% of one vCPU | 0.71% of one vCPU (0.64 to 0.77) | 2.71% of one vCPU (2.7 to 2.73) |
| CPU, 95th percentile | 0.0% of one vCPU | 1.17% of one vCPU (0.97 to 1.37) | 3.4% of one vCPU (3.39 to 3.4) |
| Disk reads, average | 6.52 KiB/s (6.45 to 6.6) | 131 KiB/s (130 to 131) | 614 KiB/s (613 to 615) |
| Disk writes, average | 0.16 KiB/s (0.16 to 0.17) | 402 KiB/s (401 to 403) | 1,568 KiB/s (1,565 to 1,571) |
| Whole server, system included, median | 275 MiB | 451 MiB | 531 MiB (530 to 532) |
| Whole server, working memory peak | 277 MiB (277 to 278) | 454 MiB | 538 MiB (537 to 539) |
| Whole server, memory.peak | 280 MiB (279 to 280) | 457 MiB | 540 MiB (538 to 542) |
| Memory to plan (peak of the server plus 25%) | 388 MiB | 568 MiB | 673 MiB |
| Scenario response time, 95th percentile | none | 2 ms (1 to 2) | 1 ms |
| Errors | none | 0% | 0% |
RAM of each service of PostgreSQL, 1 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 | Idle | 10 simultaneous users | 50 simultaneous users |
|---|---|---|---|
| PostgreSQL 18 | 49.3 MiB (49.2 to 49.4), 0.01% of one vCPU | 225 MiB, 0.71% of one vCPU (0.64 to 0.77) | 306 MiB, 2.71% of one vCPU (2.7 to 2.73) |
Which server for PostgreSQL, 1 GB of data: the smallest VPS that held
For the whole server, system and Docker included, plan 673 MiB of RAM: its highest working memory peak, 539 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, 1 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.74 s (1.62 to 1.78)
- Peak working memory of the stack during the first start and the migrations
- 51.2 MiB (49.5 to 57.2)
- Peak working memory of the whole server during the first start
- 308 MiB (303 to 310)
- Size of the images
- 166 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 6,400,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 6,400,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 64, about 1 GB of data (6,400,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 64, about 1 GB of data, loaded before the load.
What the official documentation says about minimum requirements
Read on 30 November 2026, for version 18.
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
Data under the CC BY 4.0 license: you may reuse it, citing Stileex and linking to this page.
Cite this page: Stileex, "PostgreSQL, 1 GB of data server requirements, measured", 3 December 2026, method 1.4, https://stileex.xyz/en/apps/postgresql-1gb
Badge for the PostgreSQL, 1 GB of data README
Markdown, to copy:
[](https://stileex.xyz/en/apps/postgresql-1gb)
Frequently asked questions
How much RAM does PostgreSQL, 1 GB of data need?
PostgreSQL, 1 GB of data 18.7, measured on 3 December 2026: 49.3 MiB of working memory at idle, 225 MiB with 10 simultaneous users and 306 MiB with 50 simultaneous users, for the whole stack. For the whole server, system and Docker included, plan 673 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, 1 GB of data?
Yes. PostgreSQL, 1 GB of data 18.7, measured on 3 December 2026: plan 673 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, 1 GB of data run on a 512 MB VPS?
PostgreSQL, 1 GB of data 18.7, measured on 3 December 2026: the whole server, system and Docker included, needs 673 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, 1 GB of data handle on 1 GB?
PostgreSQL, 1 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 568 MiB with 10 simultaneous users and 673 MiB with 50 simultaneous users.
How much CPU does PostgreSQL, 1 GB of data use?
On average 0.01% of one vCPU at idle and 2.71% of one vCPU with 50 simultaneous users, with 3.4% of one vCPU at the 95th percentile.
Which server should I choose for PostgreSQL, 1 GB of data?
For the whole server, system and Docker included, plan 673 MiB of RAM: its highest working memory peak, 539 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, 1 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.