{"schema": "pgtrue.report/1", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62", "published": "2026-10-28T02:47:45Z", "publisher": "PostgresAI", "article": {"title": "StackGres | Open-source Citus matches PlanetScale's Neki at 10M QPS on half the data nodes", "url": "https://stackgres.io/blog/open-source-citus-matches-planetscales-neki-at-10m-qps-on-half-the-data-nodes", "date_published": "2026-10-16T00:00:00Z", "author": "\u00c1lvaro Hern\u00e1ndez", "publisher": "StackGres"}, "grade": "B", "axes": [{"axis": "Factual", "summary": "A \u00b7 0 wrong of 23 checked \u00b7 0 caveats"}, {"axis": "Applicable", "summary": "A \u00b7 0 wrong of 8 checked \u00b7 0 caveats"}, {"axis": "Consistent", "summary": "A \u00b7 0 wrong of 23 checked \u00b7 0 caveats"}, {"axis": "Transparent", "summary": "C \u00b7 0 wrong of 18 checked \u00b7 0 caveats \u00b7 reproducibility: C (no code or raw results)"}, {"axis": "Safe", "summary": "not applicable"}], "findings": [{"anchor": "F1", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F1", "claim": "\u2026Query Routers (think of Citus Coordinators, but you can scale them out)\u2026", "title": "StackGres supports additional query-router resources", "explanation": "StackGres generates additional query-router resources at 1.19.0 and 1.19.3. ShardedClusters.java contains the generation path. Version 1.19.3 registers routers with shouldhaveshards=false. These mechanisms support expanding the query entry tier.", "verdict": "Accurate", "sources": [{"url": "https://github.com/ongres/stackgres/blob/4a02eeaf3a8177862c23fa37c328eadfa3472171/stackgres-k8s/src/operator/src/main/java/io/stackgres/operator/conciliation/factory/shardedcluster/ShardedClusters.java#L56-L64", "label": "stackgres@1.19.3 \u00b7 stackgres-k8s/src/operator/src/main/java/io/stackgres/operator/conciliation/factory/shardedcluster/ShardedClusters.java:56-64"}, {"url": "https://github.com/ongres/stackgres/blob/bfc46d9692babb6ca0721831c82507249f539d69/stackgres-k8s/src/operator/src/main/java/io/stackgres/operator/conciliation/factory/shardedcluster/ShardedClusters.java#L47-L47", "label": "stackgres@1.19.0 \u00b7 stackgres-k8s/src/operator/src/main/java/io/stackgres/operator/conciliation/factory/shardedcluster/ShardedClusters.java:47-47"}, {"url": "https://github.com/ongres/stackgres/blob/4a02eeaf3a8177862c23fa37c328eadfa3472171/stackgres-k8s/src/operator/src/main/resources/citus/citus-update-nodes.sql#L48-L55", "label": "stackgres@1.19.3 \u00b7 stackgres-k8s/src/operator/src/main/resources/citus/citus-update-nodes.sql:48-55"}]}, {"anchor": "F2", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F2", "claim": "\u2026-M prepared\u2026", "title": "Prepared mode uses prepared statements", "explanation": "PostgreSQL 18.4 sends prepared statements in prepared mode. src/bin/pgbench/pgbench.c:3218 calls PQsendQueryPrepared.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/f5cc81719e6da4cbdb1f797c48b693e91018153a/src/bin/pgbench/pgbench.c#L3210-L3219", "label": "REL_18_4 \u00b7 src/bin/pgbench/pgbench.c:3210-3219"}]}, {"anchor": "F3", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F3", "claim": "\u2026-f hot.sql@80 -f uniform.sql@10 -f tellers.sql@5 -f branches.sql@5\u2026", "title": "The command specifies the stated script mix", "explanation": "The four weights specify probabilities of 80%, 10%, 5%, and 5%. src/bin/pgbench/pgbench.c:3084 selects scripts using their cumulative weights.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/f5cc81719e6da4cbdb1f797c48b693e91018153a/src/bin/pgbench/pgbench.c#L3084-L3088", "label": "REL_18_4 \u00b7 src/bin/pgbench/pgbench.c:3084-3088"}]}, {"anchor": "F4", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F4", "claim": "\u2026-c 400 -j 16 -T 300\u2026", "title": "The command requests 400 clients, 16 threads, and 300 seconds", "explanation": "PostgreSQL 18.4 defines -c as concurrent sessions, -j as worker threads, and -T as seconds. doc/src/sgml/ref/pgbench.sgml:447, :501, and :731 match the displayed options.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/f5cc81719e6da4cbdb1f797c48b693e91018153a/doc/src/sgml/ref/pgbench.sgml#L447-L448", "label": "REL_18_4 \u00b7 doc/src/sgml/ref/pgbench.sgml:447-448"}, {"url": "https://github.com/postgres/postgres/blob/f5cc81719e6da4cbdb1f797c48b693e91018153a/doc/src/sgml/ref/pgbench.sgml#L501-L503", "label": "REL_18_4 \u00b7 doc/src/sgml/ref/pgbench.sgml:501-503"}, {"url": "https://github.com/postgres/postgres/blob/f5cc81719e6da4cbdb1f797c48b693e91018153a/doc/src/sgml/ref/pgbench.sgml#L727-L733", "label": "REL_18_4 \u00b7 doc/src/sgml/ref/pgbench.sgml:727-733"}]}, {"anchor": "F5", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F5", "claim": "\u2026--log --sampling-rate=0.01\u2026", "title": "The command enables transaction-log sampling at 1%", "explanation": "The command enables logging with sampling probability 0.01. src/bin/pgbench/pgbench.c:4633 skips entries whose random draw exceeds the sampling rate.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/f5cc81719e6da4cbdb1f797c48b693e91018153a/src/bin/pgbench/pgbench.c#L4633-L4635", "label": "REL_18_4 \u00b7 src/bin/pgbench/pgbench.c:4633-4635"}]}, {"anchor": "F6", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F6", "claim": "\u2026the Postgres shared buffers hit ratio alone, which doesn\u2019t count the OS page cache\u2026", "title": "PostgreSQL buffer hits exclude operating-system cache hits", "explanation": "PostgreSQL's buffer-hit statistic excludes the operating-system file cache. doc/src/sgml/monitoring.sgml:3419 states that distinction explicitly.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/f5cc81719e6da4cbdb1f797c48b693e91018153a/doc/src/sgml/monitoring.sgml#L3417-L3419", "label": "REL_18_4 \u00b7 doc/src/sgml/monitoring.sgml:3417-3419"}]}, {"anchor": "F7", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F7", "claim": "Four pgbench scripts, each one single-row primary-key SELECT, read-only\u2026", "title": "The displayed predicates match standard pgbench primary keys", "explanation": "The displayed SELECT statements filter accounts by aid, tellers by tid, and branches by bid. src/bin/pgbench/pgbench.c:5233 creates those three primary keys during standard initialization.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/f5cc81719e6da4cbdb1f797c48b693e91018153a/src/bin/pgbench/pgbench.c#L5233-L5235", "label": "REL_18_4 \u00b7 src/bin/pgbench/pgbench.c:5233-5235"}]}, {"anchor": "F8", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F8", "claim": "A Neki shard is one Postgres primary.", "title": "The cited benchmark uses one PostgreSQL primary per shard", "explanation": "The cited benchmark describes 512 shards, each containing one PostgreSQL primary on r8g.16xlarge. This supports the article's benchmark-specific shard definition.", "verdict": "Accurate", "sources": [{"url": "https://planetscale.com/blog/118-million-queries-per-second-on-neki", "label": "https://planetscale.com/blog/118-million-queries-per-second-on-neki"}]}, {"anchor": "F9", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F9", "claim": "\u2026pgbench -n\u2026", "title": "The command skips pgbench's preliminary vacuum", "explanation": "PostgreSQL 18.4 defines -n as skipping vacuum before the test. doc/src/sgml/ref/pgbench.sgml:584 confirms that behavior.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/f5cc81719e6da4cbdb1f797c48b693e91018153a/doc/src/sgml/ref/pgbench.sgml#L579-L589", "label": "REL_18_4 \u00b7 doc/src/sgml/ref/pgbench.sgml:579-589"}]}, {"anchor": "F10", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F10", "claim": "\u2026-D hot_pct=5\u2026", "title": "The -D option defines script variables", "explanation": "The command defines hot_pct as 5 using valid pgbench syntax. doc/src/sgml/ref/pgbench.sgml:470 defines -D as supplying variables to custom scripts.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/f5cc81719e6da4cbdb1f797c48b693e91018153a/doc/src/sgml/ref/pgbench.sgml#L465-L471", "label": "REL_18_4 \u00b7 doc/src/sgml/ref/pgbench.sgml:465-471"}]}, {"anchor": "F11", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F11", "claim": "It included data points at 5, 50 and 512 shards\u2026", "title": "The cited Neki benchmark lists 5, 50, and 512 shards", "explanation": "The cited benchmark table lists 5, 50, and 512 shards. The article reproduces those comparison points correctly.", "verdict": "Accurate", "sources": [{"url": "https://planetscale.com/blog/118-million-queries-per-second-on-neki", "label": "https://planetscale.com/blog/118-million-queries-per-second-on-neki"}, {"url": "https://planetscale.com/blog/118-million-queries-per-second-on-neki", "label": "https://planetscale.com/blog/118-million-queries-per-second-on-neki"}, {"url": "https://planetscale.com/blog/118-million-queries-per-second-on-neki", "label": "https://planetscale.com/blog/118-million-queries-per-second-on-neki"}, {"url": "https://planetscale.com/blog/118-million-queries-per-second-on-neki", "label": "https://planetscale.com/blog/118-million-queries-per-second-on-neki"}]}, {"anchor": "F12", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F12", "claim": "They sustained 118.5 M for 16 minutes.", "title": "Neki reports 118.5 million queries per second for 16 minutes", "explanation": "The cited post reports 118,538,803 queries per second for 16 minutes. The article rounds the throughput correctly.", "verdict": "Accurate", "sources": [{"url": "https://planetscale.com/blog/118-million-queries-per-second-on-neki", "label": "https://planetscale.com/blog/118-million-queries-per-second-on-neki"}]}, {"anchor": "F13", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F13", "claim": "\u2026client p99 13.95 ms\u2026", "explanation": "The cited post gives client p99 latency as 13.95 milliseconds at 512 shards.", "verdict": "Accurate", "sources": [{"url": "https://planetscale.com/blog/118-million-queries-per-second-on-neki", "label": "https://planetscale.com/blog/118-million-queries-per-second-on-neki"}, {"url": "https://planetscale.com/blog/118-million-queries-per-second-on-neki", "label": "https://planetscale.com/blog/118-million-queries-per-second-on-neki"}]}, {"anchor": "F14", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F14", "claim": "A Neki shard PS-5120 (64 vCPU, 512 GiB) is $17,250 per month\u2026", "title": "The current PS-5120 price matches $17,250 per month", "explanation": "The October 28 pricing page lists PS-5120 with 64 vCPUs and 512 GiB of memory at $17,250 per month. It lists additional replicas at $5,750 per month.", "verdict": "Accurate", "sources": [{"url": "https://planetscale.com/pricing", "label": "https://planetscale.com/pricing"}]}, {"anchor": "F15", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F15", "claim": "\u2026the largest SKU, NKR-640 (27 vCPU, 38.75 GiB), is $5,260 per month per baseline of three\u2026", "title": "The current NKR-640 price matches $5,260 per production baseline", "explanation": "The October 28 pricing page lists NKR-640 with 27 vCPUs and 38.75 GiB of memory at $5,260 per month. Its production rate covers three routers.", "verdict": "Accurate", "sources": [{"url": "https://planetscale.com/pricing", "label": "https://planetscale.com/pricing"}]}, {"anchor": "F16", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F16", "claim": "\u2026their data was on network storage (EBS)\u2026", "title": "The linked benchmark discussion reports EBS disks", "explanation": "The linked discussion says the benchmark used r8g.16xlarge instances with EBS disks. The article's storage description matches that statement.", "verdict": "Accurate", "sources": [{"url": "https://news.ycombinator.com/item?id=49661481", "label": "https://news.ycombinator.com/item?id=49661481"}]}, {"anchor": "F17", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F17", "claim": "\u2026their run cost $250,000\u2026", "title": "The linked comment states a benchmark cost of $250,000", "explanation": "The samlambert comment states that the run cost $250,000. The article quotes the amount correctly.", "verdict": "Accurate", "sources": [{"url": "https://news.ycombinator.com/item?id=49661481", "label": "https://news.ycombinator.com/item?id=49661481"}]}, {"anchor": "F18", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F18", "claim": "\u202624 48 19,200 10,032,084 7.01\u00d7 87.7%\u2026", "explanation": "The cited endpoints give 7.01 times baseline throughput and 87.7% efficiency at eight times the workers. The baseline gives 1.00 times throughput and 100.0% efficiency. These calculations do not verify measured throughput.", "verdict": "Accurate", "sources": []}, {"anchor": "F19", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F19", "claim": "\u202624 workers and 48 query routers, a total of 3,072 cores.", "explanation": "The largest configuration totals 3,072 vCPUs excluding its coordinator (derived: 24 \u00d7 64 + 48 \u00d7 32). Deployment ratios are 1.83 and 1.54 under that exclusion. Including four coordinator vCPUs changes them to 1.81 and 1.54. Both still round to the article's 1.8 and 1.5.", "verdict": "Accurate", "sources": []}, {"anchor": "F20", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F20", "claim": "\u2026tps per data node 199,925 476,794 2.38\u00d7\u2026", "explanation": "The reported per-worker throughput ratios round to 2.38 and 2.11 (derived: 476,794 / 199,925 and 418,003 / 198,478). These calculations verify the displayed per-worker ratios.", "verdict": "Accurate", "sources": []}, {"anchor": "F21", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F21", "claim": "\u2026Neki, primary-only equivalent $49,790 $371,660\u2026", "explanation": "The primary-only monthly deployment-price ratios are 4.81 and 4.56 (derived: $49,790 / $10,349 and $371,660 / $81,449). This verifies division of the stated prices, not the price inputs.", "verdict": "Accurate", "sources": []}, {"anchor": "F22", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F22", "claim": "\u20262.43 TB per worker against their 2.44 TiB (2.68 TB)\u2026", "explanation": "2.44 TiB equals approximately 2.683 TB. The stated 2.43 TB per worker is 9.42% smaller, consistent with the article's rounded 9% comparison.", "verdict": "Accurate", "sources": []}, {"anchor": "F23", "url": "https://pgtrue.postgres.ai/shared/brief/46ec89dd-0b65-47d1-9b29-3010956c3a62#F23", "claim": "\u2026550K queries per second with a single coordinator to 1.4M with three Query Routers.", "title": "The earlier three-router result supports the introductory 1.4-million-QPS figure", "explanation": "The earlier benchmark reports 552,154 TPS with one coordinator and 1,428,324 TPS with three routers. Two routers reach 1,055,946 TPS. That is 1.91 times the single-coordinator result, consistent with near-linear scaling through two routers.", "verdict": "Accurate", "sources": [{"url": "https://stackgres.io/blog/scaling-citus-beyond-one-coordinator-announcing-query-routers-stackgres/", "label": "https://stackgres.io/blog/scaling-citus-beyond-one-coordinator-announcing-query-routers-stackgres/"}]}]}