Guides

VPS for a Small Postgres Database: Buy the Commit Path

Spec-sheet autopsy of four US plans, sized from Postgres's own memory defaults and measured random 4k writes.

The short answer

Four gigabytes for $47.98 a year reads like the obvious buy against two at $12.00 a month 1711. That comparison is the mistake. A small Postgres database writes synchronously: the commit stays open until WAL records reach disk 7. Random 4k write throughput decides your purchase, not RAM-per-dollar. Order the Vultr High Frequency 2GB plan at $12.00/mo 11 — $144.00 a year — and fio the volume before importing.

Read-mostly data changes the answer: InterServer's two-slice box costs $6.00/mo ($72.00 a year) 19, month to month.

Skip both if you need failover, point-in-time recovery, or a support SLA; that is managed Postgres territory.

The 96MB Postgres That Ran for Months: Why 40MB of Files Sizes to a 2GB RAM Tier

The empty cluster is a liar. An empty Postgres cluster takes about 40MB, and real data runs about five times the size of a flat text file with the same rows 9, so a fresh 40MB install says nothing about the tier you need once the application writes.

Postgres's own defaults set the floor. On a dedicated database server with 1GB or more, "a reasonable starting value for shared_buffers is 25% of the memory in your system" 1. Below 1GB the docs ask for a smaller share of RAM "so as to leave adequate space for the operating system" 2. On 2GB that is 512MB of shared buffers with 1.5GB left over. On 1GB it is 256MB with 768MB left. On 512MB the 25% rule is off the table and your co-tenants have nowhere to live.

Stack the per-connection allowances on top. work_mem defaults to four megabytes 3 for each sort or hash, not for the server, and every session plus every operation inside a query draws its own allowance, which is why "the total memory used could be many times the value of work_mem" 4. max_connections defaults to about 100 6, so 100 × 4MB = 400MB if every session sorts at once. Add maintenance_work_mem at its 64MB default for VACUUM and CREATE INDEX 5. On 2GB: 512MB shared + 400MB worst-case work_mem + 64MB maintenance ≈ 976MB, leaving a little over 1GB for the OS, page cache, nginx, your app, and Redis. On 1GB: 256 + 400 + 64 = 720MB, leaving under 300MB. That is the arithmetic behind the OOM reports.

The failure is specific, not theoretical. A containerized Postgres given 96MB held for months 26 until feed volume grew the database to roughly 2GB and autovacuum overran the memory left for it; the OOM kill ended in a restore from backup 25 (issue). That report describes a failure mode rather than a base rate — the box that holds for years never posts.

For a co-tenanted stack, 2GB is the floor: order the Vultr High Frequency 2GB plan and leave the 512MB and 1GB cards alone. A standalone database host with no co-tenants can start at 1GB, and below that the docs stop endorsing a 25% share.

Every Commit Waits on the Disk: 124 MiB/s vs 6.55 MiB/s, and the 64k Score Reverses It

The disk decides, and the card prints the wrong number. VPSBenchmarks' August 2024 trial of the Vultr High Frequency 2GB plan measured "124 MiB/s (A)" on the Sysbench random 4k write test 12 (source). Its December 2025 trial of RackNerd's Ryzen 2 vCores 4GB plan at $24.59/mo 14 measured "6.55 MiB/s (F)" on the same test 15 (source). 124 ÷ 6.55 ≈ 19, so the pair sits roughly nineteen times apart on the write pattern a WAL flush generates, and for short transactions that flush delay is "a major component of the total transaction time" 8.

Then the reversal. Both trials also ran the 64k concurrent read+write fio test: Vultr scored "1187 MiB/s (D)" 13 and RackNerd scored "3372 MiB/s (B)" 16. The plan with the bigger sequential number has the worse random write number. Buy on the bar a marketing page enlarges and you rank these two backwards.

Keep a benchmark attached to the plan it was run on. The 6.55 MiB/s result belongs to the $24.59/mo Ryzen trial plan, not to RackNerd's annual special listed further down; nothing transfers between the two, and no fio run on one predicts the other.

Disk space has the same shape: the number on the card is not the number your database will use. max_wal_size is a soft limit, and WAL size "can exceed" it under special circumstances 10.

Rank your candidates by random 4k write throughput, reserve a third of the volume for WAL growth and bloat, and fio the volume you were actually provisioned before the first row lands.

The 12-Month Bill for Four Postgres VPS: $47.98 Prepaid vs $144 for a Graded 4k Disk

The 12-month bill is where spec cards and benchmarks collide, so read the table by scenario, not by rank.

Workload / ScenarioRecommended PlanKey SpecsPrinted RateWhy It Wins / Watch-OutAction
Commits in the request pathVultr High Frequency 2GB2GB RAM, High Frequency volume$12.00/mo 11 → $144.00/yrRandom-4k leader of the benchmarked pair; that price comes from an August 2024 trial, so confirm the live plan card before checkoutCheck Vultr → Review
Read-mostly or nightly-batch data, prepaid budgetRackNerd 4GB KVM special4GB RAM, 60GB SSD 18$47.98/year 17Lifetime recurring rate 32; the specials page checked on 2026-11-30 printed no refund window or money-back guarantee 35Check RackNerd → Review
Month-to-month exit, co-tenanted stackInterServer 2 slices2 × 2GB = 4GB RAM 20, 2 × 40GB = 80GB SSD 212 × $3.00 = $6.00/mo 19 → $72.00/yr (checked 2026-11-30)Cancel any time from the account 31; the page states "There is no trial period or money-back guarantee on VPS hosting" 30 (review)Check InterServer → Review
Backup-inclusive baselineDigitalOcean Basic 2GiB2GiB Droplet$12.00/mo 22 → $144.00/yr before backups (checked 2026-11-30)Backups add 20% (weekly) or 30% (daily) of the Droplet's monthly cost 34DigitalOcean review

One line of arithmetic: $144.00 for the Vultr plan minus $47.98 for the RackNerd special leaves a $96.02 annual spread, and the special is two-thirds cheaper on paper 1117. Whether that $96.02 gap survives contact with your write path is the only question that matters, and the specials page does not answer it — a fio run on the provisioned volume belongs before the import, not after.

Renewal terms carry their own weight. RackNerd prices its specials as lifetime recurring 32 and renews "at the same rate for as long as you keep the service" 33, so $47.98 does not jump at renewal. The trade is the prepaid year: because the specials page checked on 2026-11-30 prints no refund term 35, that year is committed once it is paid. InterServer runs the opposite trade — month-to-month billing with cancellation from the account at any time 31 — and its VPS page states "There is no trial period or money-back guarantee on VPS hosting" too 30, so there is no trial to burn either way. DigitalOcean's 2GiB Droplet matches the Vultr monthly figure at $12.00/mo 22, with backups billed as a percentage of the Droplet's cost each month 34 rather than a flat add-on: 20% for weekly backups and 30% for daily, charged against that $12.00 monthly cost.

Prepaying a year also leaves less room to fix an account-level mistake. One RackNerd customer reported losing two years of data after a cancellation request for the wrong server was not corrected before deletion 29 (review). That is one customer's account, not a probability estimate for every annual plan. Price the exposure instead of the odds: with $47.98 prepaid and no refund term printed on the specials page 35, name the exact server in any cancellation request before submitting it.

Pay $144.00 when commits sit in the request path. Pay $47.98 only for read-mostly data, and only after the volume passes fio. Pay $6.00/mo when a monthly exit and 4GB of RAM matter more than a graded 4k disk.

Buy the Commit Path, Then Run fio on First Boot: The Three-Way Buy Rule

Across the four US plans compared here, plan cards rank RAM per dollar and a 64k sequential score, while the measured random-4k spread runs opposite to the 64k result — for a WAL-bound database the spec sheets rank the wrong disk metric. The buy rule follows from that: pay $144.00/yr for the graded 2GB plan when commits sit in the request path; the $47.98 prepaid special is defensible for read-mostly or batch data only after a fio run on that volume; the $6.00/mo two-slice box wins when a monthly exit counts for more than benchmark proof.

Then verify the box you actually got, because a plan card describes a template, not your volume. Right after provisioning, run a random 4k write pass with fio against the mounted volume and compare it with the trial number you bought on. Before the first VACUUM, check the container's shared-memory limit: Docker's /dev/shm default of 64MB is "small for PostgreSQL" 27 (issue), and the fix recorded in that thread was raising shm_size. Trackers surface failed VACUUMs; a container that vacuums cleanly never files one.

Set shared_buffers, work_mem, and maintenance_work_mem against the doc values on the box that exists, record the plan's RAM, the measured 4k number, and the renewal date next to the order — then import.

Disclosure

This page contains an affiliate link to the InterServer VPS review; a purchase through it pays bestusavps.com a commission at no extra cost to you. Prices, policies, and benchmark figures are quoted from the vendor and third-party sources listed below. Check InterServer Slice

Sources

All pages checked 30 November 2026.

Reference URL
PostgreSQL resource configurationhttps://www.postgresql.org/docs/current/runtime-config-resource.html
PostgreSQL connection settingshttps://www.postgresql.org/docs/current/runtime-config-connection.html
PostgreSQL WAL async commithttps://www.postgresql.org/docs/current/wal-async-commit.html
PostgreSQL WAL configurationhttps://www.postgresql.org/docs/current/runtime-config-wal.html
PostgreSQL 15 installation requirementshttps://www.postgresql.org/docs/15/install-requirements.html
VPSBenchmarks Vultr trial (Aug 2024)https://www.vpsbenchmarks.com/trials/vultr_performance_trial_06Aug2024
VPSBenchmarks Vultr disk gradeshttps://www.vpsbenchmarks.com/trials/vultr_performance_trial_06Aug2024/plan_grades/explanation/category/disk_io_perf
VPSBenchmarks RackNerd trial (Dec 2025)https://www.vpsbenchmarks.com/trials/racknerd_performance_trial_11Dec2025
VPSBenchmarks RackNerd disk gradeshttps://www.vpsbenchmarks.com/trials/racknerd_performance_trial_11Dec2025/plan_grades/explanation/category/disk_io_perf
RackNerd VPS specialshttps://www.racknerd.com/specials/ Visit RackNerd ↗ · Review
InterServer Cloud VPShttps://www.interserver.net/vps/ Visit InterServer ↗ · Review
DigitalOcean Droplet pricinghttps://www.digitalocean.com/pricing/droplets
DigitalOcean backups pricinghttps://docs.digitalocean.com/products/backups/details/pricing/
miniflux v2 issue #770https://github.com/miniflux/v2/issues/770
ODK Central issue #1147https://github.com/getodk/central/issues/1147
Trustpilot review (RackNerd cancellation)https://ch.trustpilot.com/reviews/69f7ac3cd94d992f49e13ee0