If your RDS Postgres keeps hitting IOPS limits, first find which ceiling you are hitting. It is either the volume, where gp3 is fixed at 3,000 IOPS below 400 GiB and tops out at 64,000 on RDS (io2 at 256,000), or the instance, where a db.r7g.large sustains only 3,600 EBS IOPS regardless of what you provision. Then cut I/O with more RAM, better indexes, and fewer checkpoints. Buy IOPS last, and when you end up paying for a huge instance just to get EBS bandwidth, move to local NVMe.
Limits and prices below are for Amazon RDS for PostgreSQL in us-east-1, on-demand, checked on 2026-11-30. AWS allocates RDS storage in GiB and bills it per GB-month; we follow AWS's unit in each place.
An RDS Postgres database that was fast at 50 GB often gets slow at 500 GB. Queries that took milliseconds start to spike, p99 latency climbs, and the ReadIOPS graph flattens at a suspiciously round number. Usually you have hit a storage ceiling, and on RDS there are two of them.
This guide covers what IOPS limits are, why Postgres hits them as data grows, how to confirm it in five minutes, fixes ranked from free to expensive, what buying IOPS costs, and when to stop. It applies to RDS for PostgreSQL and to self-managed Postgres on EBS. Aurora has its own section.
TL;DR
In order:
- Check which ceiling you hit, the volume or the instance class.
- Make sure the hot data fits in memory. RAM is the cheapest IOPS you can buy.
- Cut the I/O Postgres creates: missing or unused indexes, frequent checkpoints, temp spills, and bloat.
- On gp3 under 400 GiB, growing to 400 GiB raises the baseline from 3,000 to 12,000 IOPS.
- Provision IOPS only up to what your instance class can sustain.
- If you need more than about 40,000 sustained IOPS, or low p99 with data much bigger than RAM, compare local NVMe options such as self-managed Postgres on EC2 instance store, PlanetScale Metal, or ClickHouse Managed Postgres.
What an IOPS limit is
IOPS (input/output operations per second) is how many separate reads or writes a disk will do each second. Throughput is how many bytes per second it will move. Latency is how long each operation takes. A limit on any one of the three can slow Postgres down.
Postgres reads and writes data in 8 kB pages. When a query needs a page that is not in memory, it goes to disk. A random index lookup that misses the cache costs one I/O per page. EBS counts one I/O as up to 256 KiB and merges small I/Os that sit next to each other on disk, so a sequential scan uses fewer IOPS than its page count suggests, while random lookups cost one each.
On RDS, IOPS and throughput are separate limits. AWS says "Measured IOPS values are independent of the size of the individual I/O operation", so a workload can run out of throughput with IOPS to spare, or vice versa. Check both.
| Limit | What sets it on RDS | How it shows up in Postgres |
|---|---|---|
| IOPS | Storage type and size, provisioned IOPS, instance class | Flat ReadIOPS + WriteIOPS, slow index lookups, IO:DataFileRead waits |
| Throughput | Volume MiB/s, instance MB/s | Slow scans, vacuum, and bulk loads; flat ReadThroughput |
| Latency | Storage type and the network hop | Slow commits and high p99 even below the IOPS cap |
There is no single good IOPS number. Size it to what your workload needs at peak, measured as ReadIOPS plus WriteIOPS, against the two ceilings below.
The two ceilings: your volume and your instance
RDS stores your data and logs on EBS volumes, which sit across the network from the database server. AWS warns that your workload "might not be able to achieve 100 percent of the IOPS that you have provisioned". It also enforces a maximum at the DB instance level. In AWS's own example, an instance class capped at 40,000 IOPS with four 64,000 IOPS volumes gets 40,000, "rather than 256,000". The lower ceiling always wins.

Volume limits on RDS for PostgreSQL (checked 2026-11-30)
The number that catches most teams is 400 GiB. Below it, gp3 on RDS for PostgreSQL is fixed at 3,000 IOPS and 125 MiB/s, and you cannot provision more. At 400 GiB and above, RDS stripes your data across four volumes, the baseline rises to 12,000 IOPS and 500 MiB/s, and you can provision up to 64,000 IOPS and 4,000 MiB/s, paying only for performance above the baseline.
Crossing 400 GiB carries an operational cost. RDS moves your data onto four new volumes, which AWS says "can consume a high amount of IOPS, significantly increase I/O latency, and take several hours to complete". Schedule it off-peak. Above 32,000 IOPS, throughput does not rise automatically for PostgreSQL, so set it explicitly.
Table 1. Storage limits for Amazon RDS for PostgreSQL. Source: Amazon RDS DB instance storage and RDS for PostgreSQL pricing, us-east-1, checked 2026-11-30.
| Storage type | Size | Baseline IOPS / throughput | Max you can provision | How IOPS are set | Latency (AWS) | Price basis (Single-AZ) |
|---|---|---|---|---|---|---|
| gp3, under 400 GiB | 20 to 399 GiB | 3,000 IOPS / 125 MiB/s | Not provisionable | Fixed | Single-digit ms, 99% of the time | $0.115/GB-month |
| gp3, 400 GiB and up (4 striped volumes) | 400 GiB to 64 TiB | 12,000 IOPS / 500 MiB/s | 64,000 IOPS / 4,000 MiB/s | Provisioned above baseline; max 500 IOPS per GiB; throughput up to 0.25 MiB/s per IOPS | Single-digit ms, 99% of the time | $0.115/GB-month + $0.02/IOPS-month and $0.08/MiBps-month above baseline |
| io2 Block Express | 100 GiB to 64 TiB | Set by you (1,000 minimum) | 256,000 IOPS / 4,000 MiB/s per volume (AWS's RDS table lists up to 16,000 MiB/s striped) | Provisioned; up to 1,000 IOPS per GiB (max from 256 GiB) | Sub-millisecond, 99.9% of the time | $0.125/GB-month + $0.10/IOPS-month for all IOPS |
| gp2 (previous gen) | 20 GiB to 64 TiB | 3 IOPS per GiB (min 100); burst to 3,000 under 400 GiB, or 12,000 (4 striped volumes) from 400 to 3,999 GiB; no burst at 4,000 GiB+ | 64,000 by size only (12,000 baseline at 4,000 GiB, then 3 IOPS per GiB up to 64,000) | By size; burst credits (BurstBalance) | Single-digit ms, 99% of the time | $0.115/GB-month |
| io1 (previous gen) | 100 GiB to 64 TiB | Set by you | 256,000 IOPS / 4,000 MiB/s (400 GiB+) | Provisioned; 0.5 to 50 IOPS per GiB | Single-digit ms, 99.9% | $0.125/GB-month + $0.10/IOPS-month |
Outdated RDS IOPS numbers to watch out for. Three stale figures circulate widely because people copy EC2 EBS specs onto RDS. First, RDS for PostgreSQL gp3 does not cap at 16,000 IOPS (the old single-volume EC2 limit), nor did it jump to 80,000 IOPS and 2,000 MiB/s when EC2 gp3 and single-volume RDS for SQL Server did in September 2025; striped across four volumes, RDS for PostgreSQL caps at 64,000 IOPS and 4,000 MiB/s. Second, RDS charges $0.02/IOPS-month Single-AZ ($0.04 Multi-AZ) above baseline on gp3, four times raw EC2 EBS's $0.005/IOPS-month. Third, RDS charges a flat $0.10/IOPS-month Single-AZ ($0.20 Multi-AZ) on every io2 IOPS, without EC2 EBS's tiered $0.065 / $0.046 / $0.032 rates.
Instance limits: the cap people forget
The RDS hardware tables only give an "Up to" figure for EBS bandwidth. The baseline and maximum IOPS come from the EC2 instance type pages that RDS points to, measured at 16 KiB per I/O for IOPS and 128 KiB for throughput. Classes up to .4xlarge show two numbers. They can run at the maximum "for 30 minutes at least once every 24 hours", then fall back to the baseline.
A 500 GiB gp3 volume includes 12,000 IOPS, but a db.r7g.large sustains only 3,600 (30% of the volume's baseline). It can burst to 40,000, but only for 30 minutes a day (our calculation from the AWS figures). Older generations are lower still; an r6g.large bursts to 20,000.
Table 2. Instance EBS ceilings for common RDS classes. IOPS at 16 KiB I/O, throughput at 128 KiB I/O, from the EC2 instance type pages the RDS hardware specifications point to. Checked 2026-11-30.
| Size (m7g / r7g / r8g) | vCPU | RAM r7g/r8g (m7g), GiB | Baseline / max EBS IOPS | Baseline / max throughput (MB/s) | Sustains max? |
|---|---|---|---|---|---|
| .large | 2 | 16 (8) | 3,600 / 40,000 | 78.75 / 1,250 | 30 min per 24 h |
| .xlarge | 4 | 32 (16) | 6,000 / 40,000 | 156.25 / 1,250 | 30 min per 24 h |
| .2xlarge | 8 | 64 (32) | 12,000 / 40,000 | 312.5 / 1,250 | 30 min per 24 h |
| .4xlarge | 16 | 128 (64) | 20,000 / 40,000 | 625 / 1,250 | 30 min per 24 h |
| .8xlarge | 32 | 256 (128) | 40,000 | 1,250 | Yes |
| .12xlarge | 48 | 384 (192) | 60,000 | 1,875 | Yes |
| .16xlarge | 64 | 512 (256) | 80,000 | 2,500 | Yes |
Previous-generation r6g is lower (r6g.large 3,600 baseline, 20,000 max). m8gd and r8gd match the table above across .large to .16xlarge. Larger classes exist: db.r8g scales to .24xlarge (120,000 IOPS) and .48xlarge (240,000 IOPS), and EBS-optimized db.r5b delivers 43,333 sustained IOPS at .4xlarge, 86,667 at .8xlarge, and 260,000 at .24xlarge.
Three "balance" metrics that mean different things
Three CloudWatch metrics have "balance" in their name, and they get mixed up constantly. BurstBalance is the credit bucket of a gp2 volume. gp3 does not burst, so ignore it on gp3. EBSIOBalance% and EBSByteBalance% belong to the instance, on the smaller "up to" classes. AWS says EBSIOBalance% "is different from BurstBalance", and it counts all volumes, including the root volume.
Table 3. The three balance metrics. Source: RDS CloudWatch metrics, checked 2026-11-30.
| Metric | What it measures | Applies to | When it hits zero | Fix |
|---|---|---|---|---|
BurstBalance | % of gp2 volume I/O credits left | gp2 volumes (not gp3, which does not burst) | Volume drops to its baseline of 3 IOPS per GiB | Move to gp3, or grow gp2 to 4,000 GiB+ on RDS (1,000 GiB+ on single-volume EC2 EBS) |
EBSIOBalance% | % of the instance's EBS I/O burst credits left (all volumes, root included) | "Up to" classes (.large to .4xlarge in table 2) | Instance drops to baseline EBS IOPS | Larger instance class (or EBS-optimized class like r5b) |
EBSByteBalance% | % of the instance's EBS throughput burst credits left | Same | Instance drops to baseline MB/s | Larger instance class (AWS example: db.r6g.large to db.r6g.xlarge), or less large sequential I/O |
Why IOPS limits hit as data grows
Four things push a growing Postgres database into its ceiling.
The working set outgrows memory. While the data your queries touch fits in shared_buffers plus the operating system's page cache, reads cost almost no IOPS. Once hot tables and indexes grow past RAM, every cache miss becomes a random 8 kB read from disk. A workload that needed nearly zero disk reads at 50 GB can easily average one or more physical reads per transaction at 500 GB. On a gp3 volume capped at its 3,000 IOPS baseline, just one disk read per transaction puts a hard ceiling of 3,000 TPS on the database regardless of how many vCPUs are idle.
Checkpoints and WAL. Every commit waits for its WAL record to be flushed to disk. Checkpoints flush dirty pages, which the Postgres docs say "can cause a significant I/O load", and the first change to each page after a checkpoint writes the entire 8 kB page into WAL as a full-page image. Tighter checkpoints reset that cycle more often, multiplying both WAL volume and full-page writes. Under an IOPS or throughput cap, that extra WAL competes directly with your reads for the same storage budget.
Vacuum, bloat, and write amplification. Vacuum reads and writes pages. An anti-wraparound vacuum on a large, mostly static table can trigger a sudden I/O spike, especially once it crosses vacuum_failsafe_age and disables cost-based throttling (autovacuum_vacuum_cost_delay and autovacuum_vacuum_cost_limit) completely. Dead rows spread live data over more pages, so the same query reads more. Updating a single hot column (like last_login) on a wide row rewrites the whole tuple, and updating TOASTed columns creates one dead tuple per 2 kB TOAST chunk. An update that changes an indexed column also writes new index entries. HOT updates avoid that, but only when no indexed column changes and the page has room.
Temp files. Sorts and hashes that need more than work_mem (4MB by default) spill to temporary files on disk.
What hitting the cap looks like
Once a workload saturates either the volume ceiling or the instance EBS ceiling, ReadIOPS plus WriteIOPS flattens against the cap and extra requests queue in the storage layer. Average and median latency can still look deceptively normal because cached pages return from memory in microseconds, while every query that misses cache waits in the disk queue and drags p99 latency upward. Users experience the p99.
Adding more application connections does not push past a storage cap. By Little's law, throughput equals queue depth divided by latency (IOPS = queue_depth ÷ latency). On a capped 3,000 IOPS volume, holding 1 I/O in flight averages 0.33 ms of queueing, 16 in flight averages 5.33 ms, and 64 in flight averages 21.3 ms, while delivered IOPS stays pinned at 3,000. Extra concurrency only adds wait time.
Little's law also works in the opposite direction, on both reads and writes. A single session running dependent index lookups has about one I/O in flight at a time, so it gets at most 1 ÷ latency operations per second. AWS's guidance of one queued I/O per 1,000 provisioned IOPS implies roughly 1 ms per I/O, which caps a single waiting backend at around 1,000 random reads per second on gp3, 2,000 on io2, and 20,000 on local NVMe (~0.05 ms). The same physics governs writes: with synchronous_commit = on, a single client committing one row at a time cannot exceed 1 ÷ WAL fsync latency (roughly 1,000 to 2,000 commits per second on gp3 or io2 versus well over 10,000 on local NVMe), regardless of how many IOPS you provision. Concurrent writers get past that single-session floor via PostgreSQL's group commit (batching multiple commits into one fsync), while single-threaded batch jobs stall on IO:WALSync.
How to diagnose it in 5 minutes
- Is IOPS flat against a ceiling? In CloudWatch, add
ReadIOPSandWriteIOPS(RDS calls the sum TotalIOPS) and compare it with table 1 and table 2. RDS reports these at 1-minute intervals. Turn on Enhanced Monitoring at 1 second to catch short bursts that the 1-minute average hides. - Is throughput flat or capping your IOPS? Compare
ReadThroughputplusWriteThroughputwith the volume's MiB/s (125 MiB/s on gp3 below 400 GiB) and the instance's MB/s. On EBS-optimized instances, hitting the instance throughput ceiling (for example during large sequential scans, vacuum, or checkpoint flushes) stalls requests and drives upDiskQueueDeptheven while IOPS sits well below what you provisioned. - Did the instance block I/O directly? Check the Nitro-based binary CloudWatch metrics
InstanceEBSIOPSExceededCheckandInstanceEBSThroughputExceededCheck(a value of1means the DB instance class hit its EBS cap). UnlikeEBSIOBalance%andEBSByteBalance%, these work on.8xlargeand larger non-burstable classes and catch sub-minute micro-bursts. On smaller "up to" classes, watchEBSIOBalance%andEBSByteBalance%(andBurstBalanceon gp2) heading toward zero. - Are requests queueing?
DiskQueueDepth,ReadLatency, andWriteLatencyrising while IOPS or throughput stays flat confirms requests are waiting at a cap. - What are sessions waiting on? In CloudWatch Database Insights (Performance Insights reached end of life on July 31, 2026), look for
IO:DataFileRead(pages not in shared buffers),IO:WALWriteandIO:WALSync(commit waits), andIO:BufFileReadandIO:BufFileWrite(temp spills). - What inside Postgres is doing the I/O? Run the queries in the reference block below to see which processes and queries read the most, how healthy checkpoints are, and where temp files come from.
One trap in step 6. In pg_stat_io, a "read" is not always a disk read. With track_io_timing on, divide read_time by reads. Thousandths of a millisecond means the OS page cache served it. 0.1 ms and up means the disk did.
Table 4. CloudWatch metrics to check on RDS for PostgreSQL. Source: RDS CloudWatch metrics and RDS wait events, checked 2026-11-30.
| Metric | What it tells you | Looks like a ceiling when |
|---|---|---|
ReadIOPS, WriteIOPS (sum = TotalIOPS) | Disk operations per second | The sum is flat at a round number near your volume or instance limit |
ReadThroughput, WriteThroughput | Bytes per second | Flat near 125 MiB/s (gp3 under 400 GiB) or the provisioned or instance MB/s |
InstanceEBSIOPSExceededCheck, InstanceEBSThroughputExceededCheck | Binary (0/1) Nitro instance EBS throttle indicator | Equals 1: confirms the DB instance class capped I/O (works on .8xlarge+ non-burstable classes too) |
DiskQueueDepth | I/Os waiting for the disk | Rising while IOPS or throughput is flat. EBS guidance is an average queue depth of about 1 per 1,000 provisioned IOPS to reach the provisioned rate |
ReadLatency, WriteLatency | Average time per disk I/O | Climbing at flat IOPS. gp3 is designed for single-digit ms; a common rule of thumb in AWS guidance is to look closer when values stay near or above 10 ms |
BurstBalance | gp2 credits | Falling toward 0 (gp2 only) |
EBSIOBalance%, EBSByteBalance% | Instance burst credits | Falling toward 0 on "up to" classes |
FreeableMemory | RAM available | Low and falling as data grows, which means the cache is shrinking |
| Database Insights wait events | Where sessions wait | IO:DataFileRead, IO:WALWrite/IO:WALSync, IO:BufFileRead/IO:BufFileWrite dominate |
Copy-paste: CloudWatch metrics and Postgres queries
CloudWatch metrics (RDS for PostgreSQL, namespace AWS/RDS): ReadIOPS, WriteIOPS, ReadThroughput, WriteThroughput, ReadLatency, WriteLatency, DiskQueueDepth, InstanceEBSIOPSExceededCheck, InstanceEBSThroughputExceededCheck, BurstBalance (gp2 only), EBSIOBalance%, EBSByteBalance%, FreeableMemory. With a Dedicated Log Volume, use the *LogVolume variants (for example WriteThroughputLogVolume, DiskQueueDepthLogVolume). On NVMe classes with Optimized Reads, add FreeLocalStorage and ReadIOPSLocalStorage. Use Enhanced Monitoring (1 second) for micro-bursts.
Before you start: pg_stat_statements must be installed for Q2. Turn on track_io_timing for the timing columns (and track_wal_io_timing on Postgres 18+ if you want timing on object = 'wal' rows in Q1); both are off by default because of clock overhead on some platforms. On Amazon RDS, rds_superuser cannot run SET track_io_timing = on per session. Enable track_io_timing = 1 in a custom DB parameter group instead (it is dynamic, so no reboot is required). Version notes are inline. Postgres 19.0 is current (released November 2026 and in RDS Preview; 18.7 is the latest production RDS release, while most RDS fleets run 15 to 17).
Q1. Where I/O comes from, by process type (Postgres 18 and 19; on 16 and 17 replace read_bytes with reads * op_bytes and write_bytes with writes * op_bytes, and expect no wal rows; pg_stat_io does not exist on 15 and older):
SELECT backend_type, object, context,
reads, pg_size_pretty(read_bytes) AS read,
writes, pg_size_pretty(write_bytes) AS written,
hits, evictions, fsyncs,
round(read_time::numeric, 0) AS read_ms,
round(write_time::numeric, 0) AS write_ms,
round((read_time / nullif(reads, 0))::numeric, 3) AS ms_per_read
FROM pg_stat_io
WHERE coalesce(reads,0) + coalesce(writes,0) + coalesce(fsyncs,0) > 0
ORDER BY coalesce(reads,0) + coalesce(writes,0) DESC;Read ms_per_read. Thousandths of a millisecond means the OS page cache served it; 0.1 ms and up means the disk. Many writes or fsyncs by client backend on object = 'relation' point to checkpointer or shared_buffers settings (on 18+, high writes and fsyncs on object = 'wal' are normal commit activity).
Q2. Top queries by blocks read from outside shared_buffers (Postgres 17 to 19 column names; on 16 use blk_read_time; add WHERE dbid = (SELECT oid FROM pg_database WHERE datname = current_database()) to scope to one database, and sort by shared_blk_read_time DESC when track_io_timing is on to separate disk reads from OS page-cache hits):
SELECT left(query, 80) AS query, calls,
shared_blks_read, shared_blks_hit,
round(100.0 * shared_blks_hit / nullif(shared_blks_hit + shared_blks_read, 0), 1) AS hit_pct,
temp_blks_written,
round(shared_blk_read_time::numeric, 0) AS read_ms
FROM pg_stat_statements
ORDER BY shared_blks_read DESC
LIMIT 10;Q3. Cache hit ratio and temp spill for this database (all supported versions):
SELECT datname,
round(100.0 * blks_hit / nullif(blks_hit + blks_read, 0), 2) AS hit_pct,
temp_files, pg_size_pretty(temp_bytes) AS temp_written
FROM pg_stat_database
WHERE datname = current_database();The hit ratio counts only Postgres's own buffer cache and omits the OS page cache, so it is only a rough signal of disk I/O.
Q4. Checkpoint health (Postgres 18 and 19, where num_done excludes skipped idle checkpoints; on 17 drop num_done; on 16 and older see Q4b):
SELECT num_timed, num_requested, num_done,
buffers_written,
round(write_time::numeric / 1000) AS write_s,
round(sync_time::numeric / 1000) AS sync_s
FROM pg_stat_checkpointer;Q4b (Postgres 16 and older):
SELECT checkpoints_timed, checkpoints_req, buffers_checkpoint,
round(checkpoint_write_time::numeric / 1000) AS write_s,
round(checkpoint_sync_time::numeric / 1000) AS sync_s
FROM pg_stat_bgwriter;Many requested checkpoints compared with timed ones means WAL volume is forcing checkpoints. Raise max_wal_size.
Q5. WAL volume and full-page images (Postgres 19; on 14 to 18 remove the two wal_fpi_bytes lines and use wal_fpi as a count):
SELECT wal_records, wal_fpi, pg_size_pretty(wal_bytes) AS wal,
pg_size_pretty(wal_fpi_bytes) AS fpi,
round(100.0 * wal_fpi_bytes / nullif(wal_bytes, 0), 1) AS fpi_pct,
wal_buffers_full
FROM pg_stat_wal;Q6. Unused indexes and tables read by sequential scan:
-- indexes never scanned since the last stats reset
SELECT schemaname, relname, indexrelname, idx_scan,
pg_size_pretty(pg_relation_size(indexrelid)) AS size
FROM pg_stat_user_indexes
WHERE idx_scan = 0
ORDER BY pg_relation_size(indexrelid) DESC;
-- big tables read by sequential scan, and HOT update rate
SELECT relname, seq_scan, seq_tup_read, idx_scan,
n_tup_upd, n_tup_hot_upd,
round(100.0 * n_tup_hot_upd / nullif(n_tup_upd, 0), 1) AS hot_pct,
n_dead_tup
FROM pg_stat_user_tables
ORDER BY seq_tup_read DESC
LIMIT 10;idx_scan = 0 covers only this node since the last stats reset. A replica or a monthly job may use the index, and indexes behind primary keys and unique constraints are needed even if they are never scanned.
Q7. One query in detail:
-- Self-managed Postgres (superuser or delegated SET privilege):
SET track_io_timing = on;
-- On Amazon RDS: enable track_io_timing = 1 in your DB parameter group instead (dynamic, no reboot).
EXPLAIN (ANALYZE, BUFFERS) SELECT ...; -- BUFFERS is automatic with ANALYZE on 18+; add IO on 19Causes that look the same
Each of these problems produces the same flat-topped IOPS graph. Only one of them is fixed by buying more volume IOPS.
Table 5. Causes that look the same. Q numbers refer to the queries in the reference block above.
| Cause | CloudWatch signal | Postgres signal | Fix | Does buying IOPS help? |
|---|---|---|---|---|
| Working set bigger than RAM | High ReadIOPS, FreeableMemory low | IO:DataFileRead dominant; device-speed read_time in Q1; low hit % in Q2 | More RAM, indexes, partition pruning, connection pooling | Partly; RAM is cheaper per I/O saved |
| Queries reading too much (missing index, seq scans) | High ReadIOPS and throughput | Top rows in Q2 by shared_blks_read / shared_blk_read_time; high seq_tup_read in Q6 | Index, rewrite query | No, it hides the problem |
| Checkpoints too frequent | Write IOPS and throughput sawtooth | num_requested high vs num_timed (Q4); high wal_fpi (Q5); checkpoint_warning in logs | Raise max_wal_size, checkpoint_timeout; wal_compression = 'lz4' | No |
| Temp spills | Write and read bursts | IO:BufFileRead/Write; temp_blks_written in Q2; temp_files in Q3 | work_mem per role; Optimized Reads class | No |
| Bloat and vacuum | IOPS rising with flat traffic | High n_dead_tup; vacuum context in pg_stat_io | Autovacuum tuning, pg_repack / PG 19 REPACK, partition drop | No |
| Instance EBS cap | IOPS flat below the volume limit; InstanceEBSIOPSExceededCheck = 1; EBSIOBalance% falling | Waits rise across all I/O types | Larger instance class, r5b, or local NVMe | Volume IOPS no; bigger instance yes |
| Volume cap | IOPS flat at the volume limit; queue and latency rising | Same as above | Grow to 400 GiB, provision, io2 | Yes, this is the one it fixes |
Fixes ranked by cost and effort
Work down the list, and stop when the graph stops touching the ceiling.
Table 6. Fixes ranked by cost and effort. Prices are RDS for PostgreSQL, us-east-1, on-demand, checked 2026-11-30.
| # | Fix | Direct cost | Effort and risk | What it changes | Enough when |
|---|---|---|---|---|---|
| 1 | Index the top readers, drop unused indexes | $0 | Low; check replicas and constraints before dropping | Fewer pages read and written | Q2 top queries dominate I/O |
| 2 | Space out checkpoints, wal_compression = 'lz4' | $0 | Low; longer crash recovery | Less WAL and fewer full-page writes | Q4 shows many requested checkpoints |
| 3 | work_mem per role, or an Optimized Reads class | $0 to small | Low; memory multiplies per operation | Temp I/O off EBS | Temp spills are the driver |
| 4 | Autovacuum per table, fillfactor, repack, partition and drop old data | $0 | Medium; schema work for partitioning | Less bloat, less vacuum I/O, smaller hot set | IOPS grows faster than traffic |
| 5 | More RAM (bigger class) + connection pooling | Instance price step (table 7) | Low; a modify and failover | Fewer reads; also a higher instance EBS ceiling | Working set fits after the change |
| 6 | Grow gp3 to 400 GiB | Up to $46/month total Single-AZ ($92 Multi-AZ); less incrementally | Medium; data moves to 4 volumes, can take hours | 3,000 to 12,000 IOPS baseline | You are under 400 GiB at 3,000 |
| 7 | Provision gp3 IOPS (to 64,000) | $0.02/IOPS-month Single-AZ | Low, if the instance can sustain it | Higher volume ceiling | Volume is the binding cap |
| 8 | io2 Block Express | $0.10/IOPS-month on all IOPS | Low to medium | Lower latency, up to 256,000 | Latency matters and the instance can use it |
| 9 | Change architecture (Aurora I/O-Optimized, local NVMe) | Varies | High; migration | Removes the provisioned volume ceiling | Steps 1 to 8 stop paying off (table 8) |
1. Tune what Postgres reads and writes (free)
Start with the queries in Q2 that read the most blocks (or spend the most shared_blk_read_time), and add the index they are missing with CREATE INDEX CONCURRENTLY. Drop indexes with idx_scan = 0 in Q6 after checking replicas and constraints.
Space out checkpoints by raising max_wal_size (upstream Postgres default 1 GB; RDS defaults to 2 GB on PG 15 and earlier, and 6 GB on PG 16+ at 100 GB storage or more) and checkpoint_timeout (default 5 min), keep checkpoint_completion_target at 0.9, and set wal_compression = 'lz4' (or 'zstd'). Avoid setting wal_compression = 'on' on Postgres 15 to 18, where 'on' aliases the slower pglz algorithm ('on' only switches to zstd/lz4 starting in Postgres 19). The trade-off for wider checkpoints is longer crash recovery. Then watch num_requested against num_timed in Q4.
Raise work_mem per role or session where temp spills show, instead of globally. On Postgres 17 and 18+, raising io_combine_limit (and io_max_combine_limit on 18+, which requires a restart) from 128 kB to 256 kB aligns streaming reads (sequential scans, VACUUM, ANALYZE, and contiguous bitmap heap scans) 1:1 with EBS's 256 KiB single-I/O unit. That cuts IOPS on cold scans in half, though scans remain bounded by throughput and random lookups are unaffected.
On big, update-heavy tables, tune autovacuum per table (keep autovacuum_vacuum_cost_limit and autovacuum_vacuum_cost_delay balanced so background vacuum keeps up before anti-wraparound failsafe fires), set fillfactor to 90 for more HOT updates, and partition and drop old data instead of running bulk DELETEs. Setting fillfactor only affects new pages and splits; existing 100%-packed pages need a table rewrite via pg_repack (supported on RDS) or native REPACK (CONCURRENTLY) on Postgres 19 before HOT rates jump.
Batch writes so multiple rows share a single WAL fsync. Use synchronous_commit = off only for transactions where losing up to ~600 ms of commits (3 × wal_writer_delay) after a crash is acceptable. On self-managed Postgres, never turn off full_page_writes or fsync (RDS enforces both on). If analytics queries scan large tables on the primary, consider moving analytical queries off the primary.
2. Give the working set more RAM (and pool connections)
A bigger instance class adds memory and raises the instance EBS ceiling at the same time. More RAM turns physical disk reads back into memory cache hits. Before scaling up, check connection count: every idle backend takes memory away from the OS page cache, which lowers FreeableMemory and pushes hot pages back onto EBS. Put PgBouncer or RDS Proxy in front of high-concurrency apps, and check whether RDS's default shared_buffers (25% of RAM) leaves too much double-buffering on read-heavy workloads.
Read replicas help with reads only. They take read IOPS off the primary, but every replica replays every write, so write IOPS do not fall.
3. Buy more IOPS
On gp3 under 400 GiB, growing to 400 GiB moves you from 3,000 to 12,000 IOPS for at most $46 a month total Single-AZ ($92 Multi-AZ). The incremental cost is smaller if you already allocate space (for example, +$23/month Single-AZ from 200 GB). Schedule it, because the move to four volumes can take hours and raise latency while it runs.
Above that, provision gp3 up to 64,000 IOPS at $0.02 per IOPS-month above the baseline (Single-AZ) and throughput up to 4,000 MiB/s, once you have checked that your instance class can sustain it.
io2 Block Express gives sub-millisecond latency, up to 256,000 IOPS, and 99.999% durability, but bills every IOPS at $0.10 per IOPS-month. AWS's own io2 benchmark limited IOPS to 20,000 "to match the maximum that the chosen RDS instance can deliver", because the instance bound first.
A Dedicated Log Volume moves WAL to its own fixed 1,024 GiB / 3,000 IOPS volume ($428/month Single-AZ, $856/month Multi-AZ), but only on io1 or io2, and AWS recommends it from 5 TiB. Turning it on requires a reboot, it still shares the instance's EBS bandwidth ceiling, and a stalled replication slot filling that fixed 1,024 GiB puts the database into storage-full. RDS Optimized Reads on NVMe classes moves temporary files to local NVMe, while table data and WAL stay on EBS.
4. Change the storage architecture
If steps 1 to 3 stop paying off, the remaining moves change where the data lives. The Aurora section and the options section below cover them, and our guide to AWS RDS alternatives compares managed services in more depth.
What buying IOPS costs on RDS (checked 2026-11-30)
Provisioned IOPS look cheap per unit. The catch is that you also need an instance big enough to sustain them, and on gp3 that instance is most of the bill.
Table 7. What sustained IOPS cost on RDS for PostgreSQL. Our calculation from AWS list prices, us-east-1, on-demand, 730 hours a month, checked 2026-11-30. 500 GB volume, Multi-AZ DB instance (one standby). Instance is the smallest r7g class whose sustained EBS baseline covers the target; CPU needs are not considered.
| Target sustained IOPS | gp3 storage + IOPS / month | io2 storage + IOPS / month | Smallest r7g class that sustains it | Instance / month | Total with gp3 (instance share) | Total with io2 (instance share) |
|---|---|---|---|---|---|---|
| 10,000 | $115.00 | $2,125.00 | db.r7g.2xlarge | $1,396.49 | $1,511.49 (92%) | $3,521.49 (40%) |
| 20,000 | $435.00 | $4,125.00 | db.r7g.4xlarge | $2,792.25 | $3,227.25 (87%) | $6,917.25 (40%) |
| 40,000 | $1,235.00 | $8,125.00 | db.r7g.8xlarge | $5,584.50 | $6,819.50 (82%) | $13,709.50 (41%) |
| 64,000 | $2,195.00 | $12,925.00 | db.r7g.16xlarge | $11,169.00 | $13,364.00 (84%) | $24,094.00 (46%) |
| 80,000 | not possible on gp3 | $16,125.00 | db.r7g.16xlarge | $11,169.00 | n/a | $27,294.00 (41%) |
How we calculated this: gp3 Multi-AZ = 2 × (500 × $0.115 + max(0, IOPS - 12,000) × $0.02), since 500 GB clears the 400 GiB threshold and includes 12,000 IOPS. io2 Multi-AZ = 2 × (500 × $0.125 + IOPS × $0.10). Instance Multi-AZ hourly rates of $1.913 (r7g.2xlarge), $3.825 (.4xlarge), $7.650 (.8xlarge), and $15.300 (.16xlarge), × 730. Excludes backups, data transfer, extra throughput, and Reserved Instances. Smaller classes reach 40,000 IOPS only for 30 minutes per 24 hours.
Multi-AZ doubles the storage, IOPS, and instance price (a Multi-AZ DB cluster with two readable standbys triples them). Provisioned gp3 IOPS on RDS cost four times the EC2 EBS rate ($0.02 against $0.005 per IOPS-month), and RDS bills io2 at a flat $0.10/IOPS-month Single-AZ instead of EC2's tiered volume discounts ($0.065 down to $0.032). On gp3, the instance you need is 82% to 92% of the total. On io2, the IOPS line is the biggest item instead. And gp3 cannot go past 64,000 IOPS on RDS at any price.
You can shave that instance bill if you are truly buying only for EBS bandwidth and do not need r7g's 1:8 RAM ratio. Backing off from 64,000 to 60,000 IOPS drops you to db.r7g.12xlarge ($8,376.75/month Multi-AZ, saving $2,792/month on compute). db.r8g matches r7g on-demand rates with stronger 1-year RI discounts. db.m7g/db.m8g deliver the same EBS ceilings at ~30% less compute (db.m8g.8xlarge is $3,924/month Multi-AZ for 40,000 IOPS), and EBS-optimized db.r5b sustains 43,333 IOPS at .4xlarge ($3,457/month Multi-AZ) and 86,667 at .8xlarge ($6,915/month Multi-AZ). Even with r5b or m8g, you still pay thousands per month for network-attached storage with single-digit millisecond latency on gp3, or add $8,125 to $16,125/month on top for io2 IOPS.
Throughput can bite too. 64,000 IOPS at 8 KiB each is 500 MiB/s, exactly the striped gp3 baseline, so workloads with larger I/Os need paid throughput on top.
When to stop buying IOPS
Provisioned IOPS raise a ceiling. They do not make each I/O faster on gp3, and they cannot raise the instance ceiling.
Table 8. When to stop buying IOPS.
| Situation | What you see | Do this instead |
|---|---|---|
| The instance is the cap, not the volume | IOPS flat below the volume limit; InstanceEBSIOPSExceededCheck = 1 or EBSIOBalance% falls | Do not provision more volume IOPS. Price the next instance class (m8g/r5b/r8g, table 7) against local NVMe |
| You are buying an instance only for EBS bandwidth | CPU mostly idle on a .8xlarge or .16xlarge class chosen just to sustain IOPS | Compare against local NVMe where I/O comes with smaller instances (ClickHouse Managed Postgres, PlanetScale Metal, EC2 instance store; table 9 and table 12) |
| Latency, not IOPS, is the problem | IOPS below the cap, p99 high, few concurrent queries or single-writer IO:WALSync stalls | More IOPS will not help; one session gets at most 1 ÷ latency. Add RAM, batch commits, or move to local NVMe |
| You need more than 64,000 IOPS | gp3 is at its RDS maximum | io2 (up to 256,000, if the instance sustains it) or local NVMe |
| The IOPS line is bigger than the instance | io2 bills ($8k–$16k+/month Multi-AZ) | Compare total monthly cost with ClickHouse Managed Postgres or PlanetScale Metal at the same HA guarantees |
| Data is many times RAM and write-heavy, p99 matters | Postgres-generated I/O stays high after tuning | Benchmark your workload on local NVMe (see PostgresBench results below) |
| The working set fits in RAM and you are CPU-bound | Low disk reads, high CPU | Do not change storage; scale CPU or tune queries |
What about Aurora PostgreSQL?
Aurora has no IOPS dial to hit. Data lives on a cluster volume that is replicated six ways across three availability zones, with a single writer.
So on Aurora, "IOPS limits" show up as cost and as commit waits. Aurora Standard bills $0.20 per million I/O requests. I/O-Optimized has no I/O charge, but instance prices are about 30% higher and storage is $0.225 per GB-month instead of $0.10. AWS says I/O-Optimized "can reduce your costs when your I/O spending is 25% or more of your total Aurora database spending". Note two operational limits: you can switch from Standard to I/O-Optimized only once every 30 days, and switching storage configuration on NVMe classes (r6gd, r8gd, r6id) triggers an immediate engine restart.
When Aurora slows down at peak, look at wait events. IO:XactSync means sessions are waiting for "the Aurora storage subsystem to acknowledge the commit", which AWS ties to network saturation or CPU pressure. IO:DataFileRead means cache misses, and AWS lists connection spikes among its causes, so pool your connections. Aurora Optimized Reads on r6gd, r8gd, and r6id instances adds a tiered cache of up to 5x memory and reserves 4.5% of shared_buffers for metadata, but only on I/O-Optimized. On Standard, only temporary objects use the NVMe.
For exact Standard vs. I/O-Optimized break-even math and flat-rate options, see Aurora I/O costs and flat-pricing managed Postgres compared, or browse Amazon Aurora alternatives for a wider comparison.
Your options when you outgrow provisioned IOPS
The options split three ways. You can stay on EBS and pay for a higher ceiling (gp3, io2, a bigger instance). You can drop provisioning but keep network storage (Aurora). Or you can move the data onto local NVMe, where the drive sits inside the server.
Every cloud provider's network-attached Postgres enforces both ceilings. Cloud SQL caps IOPS by machine series and vCPU tier: 15,000 combined IOPS up to 15 vCPU on N4 Hyperdisk Balanced (and 15,000 read / 15,000 write on PD-SSD), though newer C4 and C4A instances with Hyperdisk Balanced raise the ceiling to 50,000 IOPS starting at 2 vCPU. Azure Premium SSD v2 is capped by the VM size, for example 3,750 IOPS on a D2ds_v5. Supabase says "The effective IOPS is the lower of the IOPS supported by the compute size or the provisioned IOPS of the disk".
Table 9. Options when provisioned IOPS are not enough. Vendor figures are vendor claims, checked 2026-11-30.
| Option | Storage | How IOPS are set | Published ceiling | IOPS billed separately? | Main trade-off |
|---|---|---|---|---|---|
| RDS gp3, provisioned | Network (EBS) | Provisioned above baseline from 400 GiB | 64,000 IOPS / 4,000 MiB/s | Yes ($0.02/IOPS-month above baseline) | Instance cap; single-digit ms latency |
| RDS io2 Block Express | Network (EBS) | Provisioned | 256,000 IOPS / 4,000 MiB/s per volume (16,000 MiB/s striped in RDS table) | Yes ($0.10/IOPS-month, all IOPS) | Cost; still capped by instance |
| Bigger RDS instance | Same | Raises instance EBS ceiling | 80,000 at r7g.16xlarge; up to 240,000 on r8g.48xlarge or 260,000 on r5b.24xlarge | Instance price | Paying for CPU and RAM to get I/O |
| RDS read replicas | Each replica has its own volume | Per replica | Per replica | Yes | Moves reads only; writes replay everywhere |
| Aurora I/O-Optimized | Distributed cluster volume, 6 copies across 3 AZs | Not provisioned | None published | No; ~30% higher instance price, $0.225/GB-month | Single writer; commit waits on storage |
| Self-managed on EC2 instance store (i4i, i7ie, i8g) | Local NVMe | Hardware | e.g. i8g.large 75,000 read / 41,250 write; i4i.4xlarge 400,000 read / 220,000 write (4 KiB blocks, AWS spec) | No | You own replication, backups, failover |
| PlanetScale Postgres Metal | Local NVMe | Hardware | Not published as a number ("unlimited IOPS") | No; storage included in SKU | No storage autoscaling; migrate to a larger drive SKU with a brief cutover |
| ClickHouse Managed Postgres | Local NVMe | Hardware | AWS EC2 NVMe hardware limits (e.g. i8g.2xlarge 300,000 read / 165,000 write; r8gd.4xlarge 268,333 / 134,167 at 4 KiB) | No; priced per VM | Storage tied to instance; resize by cutover; 60 TB max; GA on AWS, private preview on Google Cloud |
| Aiven for PostgreSQL Storage Optimized | Local NVMe | By plan | "At least 180,000 IOPS" (Aiven) | No | Azure only; pick capacity up front |
| Crunchy Bridge | Network (gp3 on AWS) | Bundled per plan | Up to 78,000 on the largest plans (plan table; docs blur burst vs. sustained) | No; storage $0.10/GB-month | Still network-attached |
Self-managed Postgres on EC2 instance store. AWS rates an i8g.large instance store at 75,000 random read IOPS (41,250 write, measured at 4 KiB blocks). That already clears RDS gp3's 64,000 ceiling on a 2 vCPU box, with the drive included in the instance price. Even after dividing 4 KiB specs by 2 for 8 KiB Postgres pages, an i8g.2xlarge (300,000 read / 165,000 write at 4 KiB) delivers roughly 150,000 read and 82,000 write 8 KiB IOPS. You operate replication, backups, and failover yourself, and any EBS volumes you attach still hit the instance EBS cap. Our guide to self-hosted vs managed PostgreSQL covers that trade.
PlanetScale Postgres Metal. PlanetScale runs Postgres on local NVMe (AWS, Google Cloud, and Azure) with three nodes across three availability zones by default, with local NVMe storage included in the cluster SKU price. Pricing starts at $50 a month (M-10: 1/8 vCPU, 1 GiB RAM, 10 GiB NVMe). There is no storage autoscaling: you pick a drive size up front and migrate to a larger Metal drive SKU (many compute sizes offer multiple storage tiers) when you need more space, with a brief primary cutover that drops open connections.
Aiven, Crunchy Bridge, and Ubicloud. Aiven's Storage Optimized plans put Postgres on local NVMe, on Azure only, and Aiven says to "pick your capacity up front". Crunchy Bridge stays on gp3 on AWS, with IOPS bundled into each plan. Ubicloud also runs Postgres on local NVMe (ClickHouse builds ClickHouse Managed Postgres in partnership with Ubicloud).
Why local NVMe changes the physics (and why ClickHouse Managed Postgres uses it)
Network block storage like EBS puts network hops and separate volume and instance token buckets between Postgres and the flash media. Even with io2 Block Express on a .16xlarge instance, every random page miss and every WAL fsync crosses the network. That adds roughly 0.5 to 1+ ms per I/O and caps single-session throughput under Little's law.
Direct-attached NVMe sits on the server's PCIe bus with no network hop, separate IOPS metering, or EBS instance-bandwidth cap. Latency drops into the tens of microseconds (~0.05 ms vs. ~0.5 to 1+ ms). That raises the single-session ceiling for both random reads and WAL fsync commits, and keeps tail latency bounded once the working set exceeds RAM. AWS offers NVMe-backed RDS classes (db.m8gd, db.r8gd), but RDS Optimized Reads puts only temporary files on that NVMe; table data and WAL stay on EBS.
ClickHouse Managed Postgres puts community Postgres directly on NVMe "physically attached to the same server as your database" across AWS Nitro instance families (m8gd, r8gd, i8g, i8ge). It targets AWS workloads that have outgrown provisioned IOPS and want local NVMe performance without self-managing replication, WAL archiving, and failover. Over 50 configurations scale from 1 vCPU, 8 GB RAM, and 59 GB NVMe up to 96 vCPU, 768 GB RAM, and 60 TB NVMe. You pay per VM with local NVMe included; IOPS, throughput, and backup storage up to 1x provisioned disk carry no separate charge. In ClickHouse's published disk-bound benchmarks, local NVMe runs up to 10x faster than network-attached storage depending on workload and configuration.
Instances include full superuser access, 90+ extensions (including pg_repack, pgvector, postgis, pg_partman, and pg_clickhouse), bundled PgBouncer in transaction pooling mode, and a Prometheus endpoint. Live Monitoring and Query Insights run on pg_stat_ch and expose wait events, disk versus cache reads, and WAL volume. For teams also running analytics on operational data, it connects natively to ClickHouse via free ClickPipes CDC compute, WalShadow (Private Preview: physical WAL replication with ~200 ms latency and zero logical-slot load on the primary), or pre-installed pg_clickhouse.
The trade-offs follow from local storage. Capacity is tied to the instance shape, so adding storage provisions a replacement server and runs a cutover ("typically under a minute") that drops open connections and rolls back in-flight transactions (how storage autoscaling works on local NVMe). Maximum storage is 60 TB versus 64 TiB on RDS. Standbys do not serve reads; read replicas are separate on Scale tier and up, and pull WAL from object storage by default so they add zero load to the primary. ClickHouse Managed Postgres has been generally available on AWS since November 9, 2026, and is in private preview on Google Cloud.
See why network-attached storage becomes the bottleneck for the architecture background.
Real-world evidence: PostgresBench throughput, HA tail latency, and TCO
To measure how managed Postgres services behave once a dataset outgrows RAM, ClickHouse built and open-sourced PostgresBench (GitHub repository).
How PostgresBench works
PostgresBench runs pgbench's standard TPC-B-like read-write workload: short concurrent SELECT, UPDATE, and INSERT transactions that generate continuous random reads, dirty pages, and WAL fsync commits:
pgbench -c 256 -j 16 -T 600 -M prepared -P 30 -s $SCALE_FACTOR -lEvery configuration runs 256 concurrent clients across 16 threads for three consecutive 10-minute runs (30 minutes of sustained load without restarting Postgres), driven from a dedicated m8i.4xlarge client in the same AWS region (us-east-2 for the primary AWS suite), using default vendor Postgres settings and zero manual tuning. Exact whole-run TPS, mean latency, p95, and p99 are computed from per-transaction logs (-l) with zero failed transactions.
Each 16 vCPU instance class is tested at two dataset sizes: SF = 6849 (~100 GB), where a large share of hot pages fits in memory, and SF = 34247 (~500 GB), where the working set exceeds RAM and forces sustained disk I/O. That mirrors the 50 GB-to-500 GB cliff from the start of this guide.
PostgresBench is a vendor-run, open-source synthetic OLTP benchmark (four simple tables, uniform random access) that leaves pricing out of the runner itself. It isolates storage and HA overhead under sustained write-heavy random I/O; always benchmark your own queries and schema before migrating.
Throughput as data outgrows memory (~100 GB to ~500 GB, single node)
Below are the reproducible 3-run averages from ClickHouse/PostgresBench (data.generated.js, July 2026 dataset with all vendors on Postgres 18.2–18.6; note the original April 2026 blog chart plotted each vendor's single highest run).
Table 10. PostgresBench single-node scaling (~100 GB to ~500 GB), 16 vCPU / 64 GB class (Aurora ran on db.r6g.4xlarge, 16 vCPU / 128 GB, because Aurora has no 1:4 class). No HA, pgbench TPC-B-like, 256 clients, 3 × 10 min runs, default configs, vendor-run. Source: ClickHouse/PostgresBench.
| Service | Instance & primary storage | ~100 GB (3-run avg TPS) | ~500 GB (3-run avg TPS) | Change (100 → 500 GB) | ~500 GB avg latency | ~500 GB p99 (ms) |
|---|---|---|---|---|---|---|
| ClickHouse Managed Postgres | m8gd.4xlarge (64 GB), 950 GB local NVMe | 28,008 | 26,105 | -6.8% | 9.79 ms | 13.25 |
| Aurora PostgreSQL (I/O-Optimized) | db.r6g.4xlarge (128 GB), cluster volume | 14,075 | 11,011 | -21.8% | 23.25 ms | 39.99 |
| Crunchy Bridge | Standard-64 (64 GB), gp3 (20k base / 40k max) | 12,220 | 10,954 | -10.4% | 23.33 ms | 41.82 |
| Aurora PostgreSQL (Standard) | db.r6g.4xlarge (128 GB), cluster volume | 11,311 | 9,125 | -19.3% | 28.05 ms | 40.94 |
| Neon | Serverless (64 GB), network page servers | 8,510 | 7,693 | -9.6% | 33.27 ms | 56.89 |
| RDS for PostgreSQL (gp3, 16,000 IOPS) | db.m8gd.4xlarge (64 GB), 1,000 GB gp3 (16k) | 7,622 | 4,727 | -38.0% | 54.35 ms | 124.65 |
Going from ~100 GB to ~500 GB cost RDS 38.0% of its throughput versus 6.8% on ClickHouse Managed Postgres. At ~500 GB, local NVMe reached 5.5x RDS's TPS (26,105 vs. 4,727) with 9.4x lower p99 latency (13.25 ms vs. 124.65 ms). Even though RDS ran on an NVMe-equipped db.m8gd.4xlarge, it restricts that NVMe to temporary files, so the 16,000 provisioned gp3 IOPS (below the instance's 20,000 sustained EBS baseline) bound every table read and WAL flush. Across the three consecutive 10-minute runs at ~500 GB, RDS throughput fell another 13.4% (5,078 → 4,703 → 4,399 TPS) as dirty pages and checkpoints accumulated, while ClickHouse Managed Postgres stayed flat (25,885 → 26,102 → 26,328 TPS).
Aurora I/O-Optimized ran with 128 GB of RAM (twice ClickHouse Managed Postgres's 64 GB), yet delivered less than half the TPS (11,011 vs. 26,105) and 3x higher p99 latency (40.0 ms vs. 13.3 ms) at 500 GB.
When the working set fits in memory, storage makes less difference. On 4 vCPU instances at ~100 GB (SF = 6849, single node), Crunchy Bridge averaged 6,320 TPS against ClickHouse Managed Postgres's 6,013 TPS (RDS averaged 4,782 TPS). If your workload fits in RAM and is CPU-bound, moving to local NVMe will not double throughput.
High availability and end-user p99 latency (PostgresBench HA)
Production databases run with high availability, and synchronous replication adds network round-trips to every commit. PostgresBench HA measured the exact 16 vCPU / ~500 GB workload with each provider's production HA topology (again, 3-run averages from data.generated.js; the HA blog notes that "this isn't a complete high-availability comparison across vendors" and isolates the performance cost of HA durability).
Table 11. PostgresBench HA at 16 vCPU and ~500 GB (SF = 34247, us-east-2), 3-run averages across three 10-minute runs (256 clients, default configs). Source: PostgresBench HA and ClickHouse/PostgresBench.
| Deployment (16 vCPU, ~500 GB) | Durability (RPO) | 3-run avg TPS | Avg latency (ms) | p95 latency (ms) | p99 latency (ms) | 500 GB init load time |
|---|---|---|---|---|---|---|
| ClickHouse Managed Postgres (1 standby, async) | Non-zero (ms) | 24,215 | 10.57 | 18.19 | 24.55 | 45 min |
| ClickHouse Managed Postgres (2 standbys, sync quorum) | 0 RPO (ANY 1) | 20,320 | 12.60 | 26.38 | 34.43 | 44 min |
| Crunchy Bridge HA (1 standby, async) | Non-zero | 10,953 | 23.38 | 37.48 | 42.08 | 46 min |
| Aurora I/O-Optimized HA (1 reader, 128 GB RAM) | 0 RPO (storage) | 10,345 | 24.76 | 35.08 | 44.25 | 90 min |
| Aurora Standard HA (1 reader, 128 GB RAM) | 0 RPO (storage) | 9,394 | 27.26 | 35.06 | 41.13 | 88 min |
| RDS Multi-AZ instance (1 sync standby, gp3 16k) | 0 RPO | 4,740 | 54.17 | 153.52 | 233.01 | 74 min |
| RDS Multi-AZ DB cluster (2 sync readable standbys, gp3 16k) | 0 RPO (ANY 1) | 4,987 | 51.76 | 199.20 | 721.56 | 54 min |
Synchronous quorum replication on ClickHouse Managed Postgres (2 standbys, 0 RPO) costs about 22% of single-node throughput (26,105 → 20,320 TPS) and raises p99 from 13.3 ms to 34.4 ms, which is still faster than every other service's single-node result.
On RDS, synchronous HA spikes tail latency. Moving from Single-AZ to a standard Multi-AZ instance (1 sync standby) nearly doubles p99 from 124.7 ms to 233.0 ms. Moving to an RDS Multi-AZ DB cluster (2 sync readable standbys) pushes p99 to 721.6 ms on average, and 816.6 ms by Run #3. Against matched 0-RPO RDS Multi-AZ configurations, ClickHouse Managed Postgres delivers 4.1x to 4.3x the TPS and 6.8x to 21x lower p99 latency.
Two other runs in the same repository show the same pattern across providers. In us-west-2 on identical 3-node local-NVMe hardware (16 vCPU / 128 GB / 950 GB NVMe, 2 sync standbys, ~500 GB), ClickHouse Managed Postgres (r8gd.4xlarge) averaged 21,186 TPS (33.5 ms p99) against PlanetScale Metal (M-1280) at 14,001 TPS (40.2 ms p99), or 1.51x higher TPS. On Google Cloud (us-east1, 16 vCPU / 128 GB, ~500 GB, HA), ClickHouse Managed Postgres (Private Preview, 2 sync standbys) averaged 21,102 TPS (31.5 ms p99) against Cloud SQL (db-c4a-highmem-16, 16,000 IOPS, 1 sync standby) at 6,130 TPS (428.3 ms p99), or 3.4x the TPS and 13.6x lower p99.
A database p99 jump from 34 ms to 233–722 ms compounds across application requests. An API handler running four or five sequential queries sees p99 database wait time climb from ~150 ms to 1–3+ seconds. Slow queries also hold connections open longer, which saturates connection pools and turns tail latency into timeouts under load.
Infrastructure footprint, cost per TPS, and monthly TCO
Table 12 pairs those HA results and Table 7's RDS Multi-AZ costs with on-demand AWS us-east-1 list prices for ClickHouse Managed Postgres (Scale tier) (730 hours/month, checked 2026-11-30).
The first two rows compare matched hardware (throughput per dollar at 16 vCPU / 64 GB); the last three compare a right-sized footprint when you no longer buy 32 to 64 vCPUs on RDS just to get 40,000 to 64,000 sustained EBS IOPS.
Table 12. Monthly TCO and infrastructure footprint: RDS Multi-AZ vs. ClickHouse Managed Postgres (Scale tier, AWS us-east-1, on-demand, 730 hrs/month, checked 2026-11-30). Excludes Reserved Instances / committed-spend discounts, data transfer, and extra backups beyond 1x disk.
| Scenario (~500 GB dataset, production HA) | RDS Multi-AZ configuration | RDS monthly cost | ClickHouse Managed Postgres configuration (Scale tier) | ClickHouse monthly cost | Difference |
|---|---|---|---|---|---|
| Matched 16 vCPU / 64 GB (PostgresBench HA workload) | db.m8gd.4xlarge Multi-AZ 1-sync + 1 TB gp3 (16k IOPS): 4,740 TPS, 233 ms p99 | $2,698 ($569 per 1k TPS) | m8gd.4xlarge (16 vCPU / 64 GB / 950 GB NVMe), 2 sync standbys (0 RPO): 20,320 TPS, 34 ms p99 | $3,435 ($169 per 1k TPS; 1-standby async or 1-standby sync Preview* = $2,290) | 3.4x more TPS per dollar (2-sync 0-RPO); 15% cheaper than 2-node RDS with 1-standby |
| Matched 3-node 0-RPO HA (16 vCPU / 64 GB) | db.m8gd.4xlarge Multi-AZ cluster (2 sync readable standbys) + 1 TB gp3 (16k): 4,987 TPS, 722 ms p99 | $4,047 ($812 per 1k TPS) | m8gd.4xlarge, 2 sync standbys (0 RPO): 20,320 TPS, 34 ms p99 | $3,435 ($169 per 1k TPS) | 15% lower bill, 4.1x TPS (4.8x TPS/$), 21x lower p99 |
| Sustaining 40,000 IOPS (from Table 7, I/O-bound) | db.r7g.8xlarge (32 vCPU / 256 GB) Multi-AZ + 500 GB gp3 / io2 | $6,820 (gp3) / $13,710 (io2) | i8g.2xlarge (8 vCPU / 64 GB / 1,875 GB NVMe; 300k R / 165k W 4 KiB IOPS), 2 sync standbys (0 RPO) | $2,555 (1-standby = $1,704) | 4x fewer vCPUs; 63% cheaper than gp3, 81% cheaper than io2 |
| Sustaining 64,000 IOPS (from Table 7, I/O-bound) | db.r7g.16xlarge (64 vCPU / 512 GB) Multi-AZ + 500 GB gp3 / io2 | $13,364 (gp3) / $24,094 (io2) | i8g.2xlarge (8 vCPU / 64 GB / 1,875 GB NVMe), 2 sync standbys (0 RPO) | $2,555 (1-standby = $1,704) | 8x fewer vCPUs; 81% cheaper than gp3, 89% cheaper than io2 |
| Sustaining 40k–64k IOPS when you also need 128 GB RAM | db.r7g.8xlarge–.16xlarge Multi-AZ + 500 GB gp3 / io2 | $6,820–$13,364 (gp3) / $13,710–$24,094 (io2) | r8gd.4xlarge (16 vCPU / 128 GB / 950 GB NVMe; 268k R / 134k W 4 KiB IOPS), 2 sync standbys (0 RPO) | $4,377 (1-standby = $2,918) | 2x–4x fewer vCPUs; 36%–67% cheaper than gp3, 68%–82% cheaper than io2 |
*ClickHouse Managed Postgres 1 Standby Synchronous (Preview) adds a lightweight WAL listener at no extra charge to provide synchronous quorum durability at 2x VM pricing instead of 3x.
Downsizing from 32–64 vCPUs on RDS to 8–16 vCPUs on local NVMe only applies when you were over-provisioning RDS compute to clear the EBS instance ceiling (Table 7). If your workload actually burns 32 vCPUs on query execution or needs 256 GB of RAM for its working set, you still need comparable compute and memory. Even at matched hardware, local NVMe delivers 3.4x to 4.8x more transactions per dollar under disk-bound load. AWS Reserved Instances can cut RDS compute by ~20–40% (excluding gp3/io2 storage and IOPS charges), and ClickHouse offers committed-spend discounts on Scale and Enterprise tiers.
Isn't local NVMe ephemeral?
Yes, on its own. AWS says instance store data "does not persist if the instance is stopped, hibernated, or terminated", and data on a failed disk is lost.
Managed local-NVMe services make durability a job for the database layer instead, with standbys across availability zones plus WAL archived continuously to object storage. PlanetScale uses synchronous replication to at least one replica (which PlanetScale refers to as semi-synchronous), so a write is acknowledged only after it reaches stable storage in two availability zones. ClickHouse Managed Postgres runs up to two standbys across availability zones. With two standbys, synchronous quorum replication (ANY 1) waits for at least one standby to acknowledge each commit and gives zero data loss (RPO = 0) on failover. With one standby, replication is asynchronous by default, and a 1 Standby Synchronous option (in Preview) pairs one standby with a lightweight WAL listener at no additional cost so you get RPO = 0 without paying for a third full node. WAL is archived every 60 seconds or 16 MB via WAL-G, and point-in-time recovery restores to a new instance (high availability options).
For production, run at least one standby, and synchronous replication if you cannot lose a committed transaction. No-standby instances are for development and testing.
The trade-off is resize flexibility. Network volumes grow independently and survive the loss of a compute node. Local NVMe ties capacity to the instance shape, so you give up live volume resizing to get microsecond storage latency and higher sustained IOPS.
Conclusion
IOPS limits on RDS come from two ceilings (the volume and the instance) plus the I/O Postgres generates when the working set outgrows RAM or checkpoints and vacuum fall behind. Most teams recover plenty of headroom with indexes, checkpoint tuning, connection pooling, and RAM before paying for extra IOPS.
Buy IOPS while your instance can sustain them and the bill makes sense. Stop when you are buying a .8xlarge or .16xlarge instance purely for EBS bandwidth, paying more for io2 IOPS than for compute, or watching Multi-AZ synchronous replication push p99 latency past 200 ms.
If your workload has outgrown provisioned IOPS, benchmark it on ClickHouse Managed Postgres at your real dataset size and HA configuration, or test a smaller i8g / r8gd local-NVMe footprint against your current RDS Multi-AZ instance.
Related: most reliable managed Postgres for production, how to increase Postgres TPS and scale without sharding, AWS RDS alternatives, Amazon Aurora alternatives, Aurora I/O costs and flat-pricing managed Postgres, how to choose a managed Postgres provider.
Sources checked on 2026-11-30
- AWS, Amazon RDS DB instance storage, checked 2026-11-30
- AWS, RDS DB instance class hardware specifications, checked 2026-11-30
- AWS, EC2 instance types: general purpose, memory optimized, storage optimized, checked 2026-11-30
- AWS, EBS General Purpose SSD volumes and Provisioned IOPS SSD volumes, checked 2026-11-30
- AWS, EBS I/O characteristics and monitoring, checked 2026-11-30
- AWS, gp3 size and performance increase (September 2025), checked 2026-11-30
- AWS, RDS CloudWatch metrics and CloudWatch Database Insights, checked 2026-11-30
- AWS, Tuning RDS for PostgreSQL with wait events, RDS PostgreSQL parameters, and Aurora IO:XactSync, checked 2026-11-30
- AWS re:Post, RDS latency and EBS IOPS bottlenecks, checked 2026-11-30
- AWS, RDS Optimized Reads for PostgreSQL and Dedicated Log Volume, checked 2026-11-30
- AWS, Optimize Amazon RDS performance with io2 Block Express, checked 2026-11-30
- AWS, RDS for PostgreSQL pricing, EBS pricing and Aurora pricing, checked 2026-11-30
- AWS, Aurora storage and reliability and Aurora Optimized Reads, checked 2026-11-30
- AWS, EC2 instance store lifetime, checked 2026-11-30
- PostgreSQL, PostgreSQL 19 documentation and release notes for 16, 17, 18 and 19, checked 2026-11-30
- ClickHouse, PostgresBench, PostgresBench HA, and PostgresBench GitHub repository, checked 2026-11-30
- ClickHouse, Managed Postgres docs & pricing: overview, pricing docs, pricing calculator, high availability, backup and restore, scaling, checked 2026-11-30
- PlanetScale, Metal, Metal docs, cluster configuration, and Postgres pricing, checked 2026-11-30
- Google Cloud, Cloud SQL storage options; Microsoft, Azure Premium SSD v2 for PostgreSQL and compute options; Supabase, compute and disk; Aiven, Storage Optimized plans; Crunchy Bridge, plans and pricing, checked 2026-11-30
Changelog: 2026-11-30, first published.
FAQ
What is the maximum IOPS for gp3 on RDS for PostgreSQL?
64,000 IOPS and 4,000 MiB/s, and only once storage is 400 GiB or more (when RDS stripes across four volumes). Below 400 GiB, gp3 is fixed at 3,000 IOPS and 125 MiB/s. EBS gp3 volumes on EC2 (and RDS for SQL Server) moved to 80,000 IOPS, while RDS for PostgreSQL still caps at 64,000. Checked on 2026-11-30.
Why is my RDS instance not reaching the IOPS I provisioned?
RDS enforces IOPS and throughput ceilings at the DB instance level too, and the lower limit wins. A db.r7g.large sustains 3,600 EBS IOPS and reaches 40,000 only for 30 minutes a day. Check InstanceEBSIOPSExceededCheck and InstanceEBSThroughputExceededCheck (which work on all Nitro classes, including .8xlarge and larger), plus EBSIOBalance% on smaller "up to" classes. If the instance is throttling I/O, provisioning more volume IOPS will not help.
What is the difference between BurstBalance and EBSIOBalance%?
BurstBalance is the credit bucket of a gp2 volume (which applies up to 3,999 GiB on RDS for PostgreSQL because of 4-volume striping); gp3 does not burst, so ignore BurstBalance on gp3. EBSIOBalance% and EBSByteBalance% are credit buckets of the DB instance on smaller "up to" classes (.large to .4xlarge), for IOPS and throughput across all attached volumes. When they hit zero, the instance drops to its baseline EBS rate until you scale up the instance class.
Is gp3 or io2 better for Postgres on RDS?
gp3 is far cheaper and enough for most workloads up to 64,000 IOPS, at $0.02 per IOPS-month above the 12,000 baseline (Single-AZ, 400 GiB+). io2 Block Express adds sub-millisecond latency, 99.999% durability, and up to 256,000 IOPS, but bills every IOPS at a flat $0.10 per IOPS-month Single-AZ ($0.20 Multi-AZ). Both remain capped by the DB instance class. Prices are us-east-1, checked 2026-11-30.
What is a good IOPS number for Postgres?
There is no single target. Measure peak ReadIOPS plus WriteIOPS (use 1-second Enhanced Monitoring to catch short spikes) and compare it with both your volume ceiling and your instance class ceiling. If the working set fits in RAM, a busy database needs very few IOPS; if it does not, each cache miss costs a random read.
Do read replicas reduce IOPS on the primary?
They take read traffic off the primary, so read IOPS fall there. They do not reduce write IOPS, because every replica replays the same WAL and writes the same pages on its own volume. If writes, checkpoints, or vacuum drive your IOPS, read replicas will not fix it.
Is Aurora better than RDS when you hit IOPS limits?
Aurora removes provisioned IOPS ceilings. You pay $0.20 per million I/Os on Aurora Standard, or switch to I/O-Optimized, which drops I/O charges in exchange for ~30% higher compute and $0.225/GB-month storage; AWS says it can save money when I/O is 25% or more of spend. Peak bottlenecks show up as IO:XactSync commit waits instead, and in PostgresBench at ~500 GB Aurora still trails local NVMe by more than 2x on throughput even with twice the RAM.
When should I switch from RDS Postgres to local NVMe?
Consider moving to local NVMe (such as ClickHouse Managed Postgres, PlanetScale Postgres Metal, or self-managed Postgres on EC2 i8g/i4i instance store) when you need more than ~40,000 sustained IOPS, when you are paying for a .8xlarge or .16xlarge RDS instance solely for EBS bandwidth, when io2 IOPS charges exceed your compute bill, or when Multi-AZ synchronous replication pushes p99 latency past your application SLO. In PostgresBench HA at ~500 GB (16 vCPU, 0 RPO), ClickHouse Managed Postgres delivered 4.1x to 4.3x RDS Multi-AZ's TPS (20,320 vs. 4,740–4,987) with 6.8x to 21x lower p99 latency (34 ms vs. 233–722 ms), and an 8 vCPU i8g.2xlarge with 2 synchronous standbys ($2,555/month) can replace a $6,820–$24,094/month RDS Multi-AZ instance sized solely for 40,000–64,000 IOPS.
Is local NVMe safe for production Postgres?
Not on a single bare node, because instance store data does not survive a stop, termination, or disk failure. Managed local-NVMe services such as ClickHouse Managed Postgres and PlanetScale Postgres Metal make durability a database-layer guarantee instead, replicating across availability zones and archiving WAL continuously to object storage. For production, run at least one standby, and synchronous replication (such as ClickHouse Managed Postgres's two-standby quorum or one-standby synchronous Preview) if you require zero data loss (RPO = 0). For a full HA and failure-mode comparison across providers, see most reliable managed Postgres for production.
Will Postgres 18 asynchronous I/O fix an IOPS limit?
No. Async I/O in Postgres 18 lets a backend keep more reads in flight, which cuts waiting on scans and vacuum, but it does not reduce how many pages are read. On a capped volume, more reads in flight means more queueing. Read combining (io_combine_limit, introduced in Postgres 17 and expandable up to 1 MB with io_max_combine_limit in Postgres 18+) cuts I/O count for contiguous streaming reads such as sequential scans, VACUUM, ANALYZE, and contiguous bitmap heap scans. Setting it to 256kB matches EBS's 256 KiB I/O cap, though it does not reduce random point-lookup IOPS.