Menu

Faster SSDs for PostgreSQL: From Read I/O to WAL Waits
📰

Faster SSDs for PostgreSQL: From Read I/O to WAL Waits

DEV Community: azure·Franck Pachot·18 days ago
#MEpdWZNL
#devtoazure#devto#dev#primary#disk
Long article (1078 words) — no AI summary yet.
Reading 0:00
15s threshold

The baseline in the previous post reached 50,648 NOPM, with most active-client observations at IO:DataFileRead . To understand the next bottleneck, I first increased the storage budget, then checked the next boundary in the commit path: acknowledgment from another availability zone. The objective was to distinguish device capacity from waiting higher in the path.

The 95,000-warehouse dataset, 512 workers, 15-minute ramp-up, and 45-minute measurement remained. The primary still had 64 vCPUs, 512 GiB RAM, and 128 GiB of shared buffers.

What changed on the primary

I changed storage only on the primary because this step targeted the benchmark's foreground read I/O ( IO:DataFileRead ). In this HammerDB TPROC-C run, all transactions, including their SELECT statements, used the primary endpoint. The workload did not offload reads to replicas.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.