Postgres 18 quietly changes something fundamental about how the database talks to storage. For the first time, you can choose how Postgres performs disk I/O. It sounds technical, but it affects one of the most important parts of database performance: how quickly data moves between memory and disk.
PlanetScale’s team decided to find out what that really means in practice. They ran a series of benchmarks comparing Postgres 17 with the new Postgres 18, testing all of the new I/O options under a variety of conditions. The results show that Postgres 18 is faster and more flexible, but also that the gains depend heavily on your storage and workload.
What Changed in Postgres 18
In earlier versions, every I/O operation in Postgres was synchronous. The database asked the operating system for data and waited until it was ready. That made behavior predictable but sometimes limited throughput.
Postgres 18 introduces a new parameter called io_method. It determines how Postgres issues and manages disk operations. There are now three modes:
On paper, this should allow Postgres to keep disks busy while freeing up CPU time for query processing. The benchmark aimed to see how much that helps in practice.
How PlanetScale Tested It
The team used sysbench, a standard tool for database stress testing. They focused on the oltp_read_only workload, which measures how well Postgres handles reads. That choice matters because io_uring only affects read paths at the moment.
The database contained around 300 GB of data spread across 100 tables, each with 13 million rows. With only 64 GB of RAM available, the dataset couldn’t fit entirely in memory, forcing the system to hit disk often-exactly the scenario where better I/O should help.
They ran each configuration for five minutes, with a ten-minute warm-up period. Tests varied in three main ways:
- Connection count: 1, 10, and 50 clients
- Range size: 100 (small point lookups) and 10,000 (larger scans)
- Storage type: from slow network volumes to fast local NVMe drives
In total, 96 benchmark runs covered every combination of Postgres version and I/O method.
Hardware Overview
The tests ran on AWS EC2 instances with identical CPUs and memory but different disk setups:
- r7i.2xlarge (gp3, 3,000 IOPS) – baseline network-attached storage
- r7i.2xlarge (gp3, 10,000 IOPS) – faster network volume
- r7i.2xlarge (io2, 16,000 IOPS) – premium EBS storage
- i7i.2xlarge with local NVMe – local, low-latency SSD
This spread let them see how the new I/O methods behave when the disk is the bottleneck versus when it’s not.
Results
Low Concurrency
With a single connection, Postgres 18 was generally faster than 17. The new worker mode performed especially well, while io_uring often lagged behind on network-attached disks.
On local NVMe storage, the differences narrowed. For small queries (range size 100), worker and sync still led. For larger range scans, all three modes were closer, and disk latency mattered more than the I/O method.
Moderate Load
At ten concurrent connections, patterns began to shift. On slower disks, io_uring struggled. On faster hardware, it caught up, though worker remained the most consistent performer across all environments.
Heavy Concurrency
At fifty connections, Postgres 18 pulled ahead of 17 across the board. On network-attached storage, performance was similar between I/O modes because the disks themselves were the limiting factor. On local NVMe drives, io_uring finally showed its potential, edging out worker in throughput for large range scans.
The lesson: io_uring can help in very fast, high-concurrency environments, but it doesn’t automatically win in every scenario.
Cost Perspective
The hardware story isn’t complete without cost. Here are the approximate monthly AWS prices used in the benchmark:
- r7i + gp3 (3k IOPS): $442
- r7i + gp3 (10k IOPS): $492
- r7i + io2 (16k IOPS): $1,514
- i7i + local NVMe: $551

Even though the NVMe instance isn’t the cheapest per hour, it provides far better throughput and comes with nearly 1.8 TB of local SSD space. In performance per dollar, it wins by a wide margin.
Why io_uring Isn’t Always Faster
It’s tempting to expect io_uring to dominate, but several factors limit its impact today.
- The benchmark focused on reads only. Real workloads often mix reads and writes, and Postgres hasn’t applied asynchronous I/O to writes yet.
- Not every type of read in Postgres takes advantage of io_uring. Index scans, for instance, still rely on synchronous paths.
- Some CPU-bound tasks, like checksums or memory copying, still block progress even if disk operations don’t.
- The worker mode adds parallelism in a simpler, sometimes more efficient way.
- On slower, network-attached disks, the latency overhead of the storage system dwarfs any software-level improvement.
So while io_uring is an exciting step forward, it’s not a universal speed boost. It’s a tool that pays off only in the right environment.
What This Means for You
If you upgrade to Postgres 18, you’ll get the worker I/O method by default. It’s a safe and smart choice, delivering smoother parallel performance without the complexity of io_uring.
If you run on local NVMe disks and handle lots of concurrent reads, it’s worth experimenting with io_uring. You might see small but measurable gains. For most other setups, worker will likely perform just as well or better.
The broader message from these benchmarks is simple: hardware still matters more than I/O method. Fast, local storage beats higher-end network volumes in both speed and cost efficiency.
Final Thoughts
Postgres 18 is not a revolutionary release, but it makes meaningful progress. It gives database administrators more control over how the system interacts with storage and shows that the project is serious about modernizing its performance model.
The new io_method options are a foundation for future improvements. worker already delivers benefits today, and io_uring hints at what’s possible as more of Postgres adopts asynchronous I/O internally.
For now, the best advice is practical: upgrade to 18, keep the default settings, and let your workload decide if it’s worth pushing further.
The big picture is encouraging. Postgres 18 feels faster, more flexible, and better prepared for the next decade of workloads.
to interact with this post.
Topics included
Social.
Snapshot.
Instantly create a share-worthy social post for this post.
Explore similar content
SpiderMonkey: Inside Mozilla's JavaScript Engine That Powers the Web
JavaScript is everywhere. It runs in web browsers, powers server-side applications, handles embedded devices, and even shows up in desktop software. At the core of this reach are JavaScript engines. These engines parse, compile, optimize, and execute JavaScript code behind the scenes.
Steering the Matrix: Using Attention Weights to Eliminate Hallucinations (A Perspective)
I was in a long conversation with my friend Atul recently, fully aware he’d most likely forget most of it by tomorrow. Yet, mid-conversation, he pinpointed a memory from months ago: he fumbled in a React question in an interview, posted about it on LinkedIn, and received a perfectly reasoned comment from a stranger correcting his understanding. After researching the stranger's reply, Atul realized his own understanding was wrong and learned something new. The irony struck me immediately, his brain was ruthlessly deleting our present interaction while perfectly preserving a hyper-specific artifact from his past.
Software Design Principles:
Have you ever copied a block of code, pasted it somewhere else, and changed just one or two lines? We’ve all done it. It feels like the quickest solution — until you need to update that logic later and realize it’s duplicated in five different places.
Understanding Multi-Tenant Architecture : A Simple Guide
Multi-tenancy is a software architecture where a single application serves multiple customers (called tenants) while keeping their data isolated and secure.
Exploring Video Streaming Protocols: Types, Uses, and Platforms
Video streaming has become a huge part of our daily lives. We watch movies on Netflix, catch live sports on YouTube, or join video calls on Zoom. Behind all this smooth playback is a set of technologies called streaming protocols. These protocols are like the rules that govern how video data travels from a server to your device. They handle everything from breaking the video into chunks to adjusting quality based on your internet speed. Without them, streaming would be choppy, unreliable, or impossible on different devices.
React (RSC) Exploits Are Real and It's Hurting Engineering Teams
If you work in web engineering, the transition into 2026 hasn’t been defined by new features, but by a single, terrifying realization: The boundary between your client and server is broken.





