When to choose x86-64 vs aarch64
Choosing between aarch64 and x86-64 for a Postgres cluster matters because vCPUs differ: x86 cloud vCPUs are usually hyperthreads sharing a core, while Graviton and Axion vCPUs are full cores. ARM suits many concurrent small queries plus autovacuum and parallel workers, while x86 wins on single-threaded CPU-bound queries through higher clock speeds and wider AVX2/AVX-512 vectors, which TIN bitmap intersection and pgvector distance code exploit. Architecture can't be switched via physical replication because on-disk files aren't portable (e.g. pg_trgm index ordering differs due to signed vs unsigned char defaults), so migrating requires logical replication to a new cluster. ARM is the recommended default for price/performance; benchmark both at expected concurrency when it matters.
Related posts
- How ClickHouse Cloud uses AWS Graviton to boost performance and efficiency
ClickHouse mediumAdept
ClickHouse Cloud moved about 83% of its AWS fleet from x86 instances (M5/R5) to Graviton ARM instances, building on AArch64 support work that began in 2016 and grew to cover Neon optimizations, JIT and profiling. Because compute and storage are separated, no data had to move. The main engineering work was replacing Intel-only codecs (deflate_qpl, zstd_qat) and making autoscaling work with mixed m7gd/m6gd instance types. That meant matching memory allocations, routing pods under 236Gi to ARM via a webhook, and overprovisioning to handle "architecture jumps." Benchmarks showed about 25% overall query improvement, only 10% on a network-bound S3 workload, and up to 64% for Graviton4 (r8g) versus Intel on ClickBench.
- Benchmarking NVMe-backed Managed Postgres: PlanetScale and ClickHouse
ClickHouse mediumAdept
On identical AWS r8gd instances with local NVMe and quorum synchronous replication, ClickHouse Managed Postgres outperformed PlanetScale Metal in a pgbench TPC-B-like workload. Throughput was 34% higher at 4 vCPU and 51–54% higher at 16 vCPU on 100 GB and 500 GB datasets, with lower average latency. The gap is attributed to configuration rather than hardware: 2 MB huge pages (about 12% on their own), lz4 WAL compression, and max_wal_size sized to the instance (up to 256 GB) versus PlanetScale's 8 GB with huge pages and WAL compression disabled. The results come from a vendor benchmark, and the authors advise validating with your own workload.
- PostgresBench: A Reproducible Benchmark for Postgres Services
ClickHouse mediumAdept
PostgresBench is an open, reproducible benchmark for managed Postgres services built on pgbench's TPC-B-like workload (256 clients, 16 threads, 10-minute runs, three runs each) at ~100 GB and ~500 GB scale factors, with default configs, HA disabled and all services in us-east-2. In the first cohort, ClickHouse's NVMe-backed managed Postgres reached about 28.7K TPS on 16 vCPU/64 GB at 100 GB, versus 14.8K for Crunchy Bridge, 12.6K for Aurora, 8.6K for Neon and 8.1K for RDS, and held about 26K TPS at 500 GB. ClickHouse attributes the lead to co-located local NVMe storage, which avoids network round trips on every fsync and WAL commit in write-heavy workloads. Scripts and raw JSON results are on GitHub for verification and community submissions, though the vendor-run setup and absence of pricing comparisons are worth weighing.
- ClickHouse Cloud on Google Cloud Now Powered by Google Axion Processors: 30–55% Faster Queries, ~15% Fewer Compute Credits
ClickHouse easyNovice
ClickHouse Cloud is migrating its Google Cloud fleet from x86 N2D instances to Arm-based Axion C4A instances, yielding 30–55% faster queries across all 43 ClickBench queries, roughly halved load times, and first place on the combined ClickBench ranking. Across a controlled cohort of 38 production services, compute credits per query fell about 15%, with larger gains for CPU-bound workloads and smaller ones where GCS read throughput dominates. The rollout went from staging to region-by-region migration, gated on SharedCatalog storage, maintenance windows and traffic tier, with the highest-traffic organizations moved last. Contributing factors cited include steadier clock frequency under sustained load and one physical core per vCPU instead of two hyperthreads.
- Introducing DBArena: open, reproducible benchmarks for hosted Postgres
Supabase mediumAdeptDBArena publishes open, reproducible benchmarks of hosted Postgres, starting with Supabase Postgres (heap and OrioleDB), Amazon RDS and Google Cloud SQL across up to seven vCPU-matched tiers on Postgres 17 with default configs. A TPC-C-derived workload with no think time runs in cache-fit and 4x-RAM cache-exceeding scenarios, sweeping client counts to find peak throughput and reporting tpm, tpm per dollar of list price, and p95 latency as the median of three fresh-environment runs. Every result ships a result.json with exact commands and config, and open-source tools (dbarenactl, benchctl, a go-tpc fork) let anyone rerun tests. Limitations include a single workload, one region per cloud, list pricing, vCPU-based matching, and Supabase load generators not being AZ-colocated.