Limited beta · What is this?

pgTrue is under active development: reports may contain significant mistakes, inaccuracies, or bugs. Please report anything you find to pgtrue@postgres.ai.

pgTrue is an independent fact-check of technical Postgres articles. Read the questions and answers.

pgTrue fact-check

ElephantSeal D+Limited coverageOpen: the benchmark cannot yet be rerun from what is published; the production risk is not yet fixed or warned about

Embed

The ElephantSeal always shows this report's latest edition and links here. Copies cached elsewhere may update later.

[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2)
<a href="https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2"><img src="https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13&amp;theme=light" alt="pgTrue fact-check" width="90" height="20" loading="lazy" decoding="async" style="display:inline-block;width:90px;height:20px"></a>
https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2)
<a href="https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2"><img src="https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13&amp;theme=dark" alt="pgTrue fact-check" width="90" height="20" loading="lazy" decoding="async" style="display:inline-block;width:90px;height:20px"></a>
https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2)
<a href="https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2"><img src="https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13" alt="pgTrue fact-check" width="90" height="20" loading="lazy" decoding="async" style="display:inline-block;width:90px;height:20px"></a>
https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2)
<a href="https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2"><img src="https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13&amp;theme=light" alt="pgTrue fact-check" width="240" height="240" loading="lazy" decoding="async" style="display:inline-block;width:240px;height:240px"></a>
https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2)
<a href="https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2"><img src="https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13&amp;theme=dark" alt="pgTrue fact-check" width="240" height="240" loading="lazy" decoding="async" style="display:inline-block;width:240px;height:240px"></a>
https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2)
<a href="https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2"><img src="https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13" alt="pgTrue fact-check" width="240" height="240" loading="lazy" decoding="async" style="display:inline-block;width:240px;height:240px"></a>
https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/radar.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2)
<a href="https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2"><img src="https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13&amp;theme=light" alt="pgTrue fact-check" width="480" height="240" loading="lazy" decoding="async" style="display:inline-block;width:480px;height:240px"></a>
https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2)
<a href="https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2"><img src="https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13&amp;theme=dark" alt="pgTrue fact-check" width="480" height="240" loading="lazy" decoding="async" style="display:inline-block;width:480px;height:240px"></a>
https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2)
<a href="https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2"><img src="https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13" alt="pgTrue fact-check" width="480" height="240" loading="lazy" decoding="async" style="display:inline-block;width:480px;height:240px"></a>
https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/9f32e744-4150-4ff0-a747-4aea251c27d2/wide.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2
   :alt: pgTrue fact-check
   :width: 480
   :height: 240

Click the snippet to select all of it, then copy. Where SVG is stripped, as in some email clients and feed readers, change .svg to .png. PNG uses the light theme for Auto. For Markdown PNG embeds, use the HTML snippet where supported to preserve the display size.

Optional colours: append &color=26798E or &labelColor=333C47 after a theme query (use ? for the first parameter). Use 3- or 6-digit hex.

For pages with a light background.

For pages with a dark background. The ElephantSeal gets a thin edge so it does not blend in.

Auto follows the reader's light or dark setting where the host supports it, and shows the light ElephantSeal where it does not.

On a light page
On a dark page

#PostgresMarathon 2-012: Ultra-fast replica creation with pgBackRest (opens in new tab)

postgres.ai
Don't run its recipes as written: 2 can do harm. Step: “mv "$TMP_DIR/backup/$STANZA_TMP/latest/pg_data"/* "$PG_DATA_DIR/" rm -rf "$TMP_DIR" # Also removes the temporary config file touch "$PG_DATA_DIR/standby.signal" cat <<EOS >> "$PG_DATA_DIR/postgresql.auto.conf" primary_conninfo = 'user=''$REPLICATION_USER'' host=''$PRIMARY'' application_name=''$HOSTNAME'' ' EOS # Note: No restore_command needed for streaming replication # The replica will fetch everything via streaming from primary_conninfo # Important: Create a replication slot on the primary before starting the replica # This prevents WAL files from being removed before the replica consumes”. 5 claims are wrong in all. 1 recipe error (Safe) fails loudly; see the finding.
3
inaccuracy
2
dangerous-recipe
1
recipe-error
1
misleading
3
imprecise
0
transcription
0
aged
0
withdrawn
5
verified-accurate

Factual C · Applicable A · Consistent A · Transparent C · Safe D

ReportTechnical fact-check, edition 2 Issued EditionUpdated after review. Corrections are listed below. SubmittedSubmitted by the PostgresAI team. Author responseNo written reply from the author. See Revisions below. Policy: right-of-reply and corrections policy. pgTrue versionaudited with v1.1.0 (approx.)

Inaccuracies

F3

compress-type=none leaves network compression enabled

INACCURATEFactual · holds up after review

Claim ledger

Article says
…Testing: no network compression (compress-type=none)…
What is true
pgBackRest 2.57.0 defaults compress-level-network to 1. With compress-type=none, remote file reads use LZ4 compression. The baseline and explicit --compress-level-network=1 commands select the same network compression level.
So what
Set --compress-level-network=0 for an uncompressed baseline, then compare it with level 1.
Charitable reading
An unreported configuration could disable compression. The configuration printed in the article does not.

Source

Source · pgbackrest@release/2.57.0 · src/build/config/config.yaml:813-817compress-level-network: section: global type: integer default: 1 allow-range: [-5, 12]

Review correction: see "How the review tested this" below.

In the article · section “Performance benchmarks”

In the article

excerpt · section “Performance benchmarks” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Performance benchmarks

Testing: no network compression (compress-type=none), no checksum verification for maximum throughput

# pg_basebackup baseline (PostgreSQL 18 with worker-based async I/O) time pg_basebackup \ --pgdata="$PG_DATA_DIR" \ --write-recovery-conf \ --wal-method=stream \ --checkpoint=fast \ --progress \ --verbose \ --host=$PRIMARY \ --username=$REPLICATION_USER # real    950s (15.8 minutes) - 1.08 GiB/s # pgbackrest with 4 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=4 backup # real   575s (9.6 minutes) - 1.78 GiB/s # pgbackrest with 8 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=8 backup # real   298s (5.0 minutes) - 3.43 GiB/s # pgbackrest with 16 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=16 backup # real   164s (2.7 minutes) - 6.24 GiB/s # pgbackrest with 32 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=32 backup # real   101s (1.7 minutes) - 10.13 GiB/s - network saturated # pgbackrest with 64 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=64 backup # real   107s (1.8 minutes) - 9.56 GiB/s - network limited # pgbackrest with 128 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=128 backup # real   133s (2.2 minutes) - 7.69 GiB/s - SSH overhead reduces throughput # pgbackrest with 64 processes + network compression time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=64 --compress-level-network=1 backup # real   101s (1.7 minutes) - 10.13 GiB/s - 6% improvement # pgbackrest with 128 processes + network compression time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=128 --compress-level-network=1 backup # real   127s (2.1 minutes) - 8.25 GiB/s - 5% improvement
All sources and excerpts · 4
Evidence compress-level-network: section: global type: integer default: 1 allow-range: [-5, 12]
Evidence // If the file is compressible add compression filter on the remote if (this->interface.compressible) { ioFilterGroupAdd( ioReadFilterGroup(storageReadIo(this->read)), compressFilterP(compressTypeLz4, (int)this->interface.compressLevel, .raw = true)); }
Evidence // Are the files compressible during the copy? const bool compressible = repoFileCompressType == compressTypeNone && cipherType == cipherTypeNone;
Evidence result = storageRemoteNew( STORAGE_MODE_FILE_DEFAULT, STORAGE_MODE_PATH_DEFAULT, write, 0, NULL, protocolRemoteGet(protocolStorageTypePg, pgIdx, true), cfgOptionUInt(cfgOptCompressLevelNetwork));
How the review tested this

Review: We checked whether compress-type=none disables transport compression. The default remains level 1, and the remote path selects LZ4. Undocumented overrides cannot validate the printed baseline. We checked whether compress-type=none disables transport compression. The default network level remains 1, and eligible remote reads use LZ4.

F4

Full backups do not omit zero-filled file regions

INACCURATEFactual · holds up after review

Claim ledger

Article says
…Sparse file regions and zero-filled blocks that aren't transmitted…
What is true
The full-backup copy writes the first buffer and copies the remaining bytes. It does not omit zero-filled regions. Network LZ4 can reduce their transmitted size. Sparse-region omission does not explain the reported 10.13 GiB/s.
So what
Size transfers using measured compressed bytes and actual data compressibility, without assuming sparse-region omission.
Charitable reading
Logical throughput can exceed wire throughput under compression. That does not establish sparse-block skipping.

Source

Source · pgbackrest@release/2.57.0 · src/storage/remote/read.c:194-200// If the file is compressible add compression filter on the remote if (this->interface.compressible) { ioFilterGroupAdd( ioReadFilterGroup(storageReadIo(this->read)), compressFilterP(compressTypeLz4, (int)this->interface.compressLevel, .raw = true)); }

Review correction: see "How the review tested this" below.

In the article · section “Analysis”

In the article

excerpt · section “Analysis” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Analysis

Sparse file regions and zero-filled blocks that aren't transmitted

All sources and excerpts · 3
Evidence // If the file is compressible add compression filter on the remote if (this->interface.compressible) { ioFilterGroupAdd( ioReadFilterGroup(storageReadIo(this->read)), compressFilterP(compressTypeLz4, (int)this->interface.compressLevel, .raw = true)); }
Evidence // Are the files compressible during the copy? const bool compressible = repoFileCompressType == compressTypeNone && cipherType == cipherTypeNone;
Evidence // Write the first buffer ioWrite(storageWriteIo(write), buffer); bufFree(buffer); // Copy remainder of the file if not eof if (!readEof) { ioCopyP(readIo, storageWriteIo(write));
How the review tested this

Review: We considered compression as the charitable explanation for fewer transmitted bytes. That explains possible logical throughput, but does not establish omitted sparse regions. The copy path preserves the bytes. We considered compression as the charitable explanation. E-14 copies file contents. LZ4 can reduce transferred bytes without omitting zero-filled regions.

F18

The compressed 128-process speedup is 7.48×, not 8.1×

INACCURATEFactual · holds up after review

Claim ledger

Article says
…pgBackRest + compress 128 127 8.25 29.00 8.1x…
What is true
The compressed 128-process run achieves 7.48× baseline speed (derived: 950 seconds / 127 seconds). The table lists 8.1×. That overstates the elapsed-time speedup by 8.3%.
So what
Use 7.48× baseline speed when estimating the benefit of 128 processes with compression.
Charitable reading
Neither the elapsed-time ratio nor the displayed throughput ratio rounds to 8.1×.

Checked for internal consistency: the evidence is the article itself.

Review correction: see "How the review tested this" below.

In the article · section “Analysis”

In the article

excerpt · section “Analysis” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Analysis

method process max duration (s) tput (logical), GiB/s TiB/hour speedup pg_basebackup 1 950 1.08 3.80 1.0x pgBackRest 4 575 1.78 6.26 1.7x pgBackRest 8 298 3.43 12.06 3.2x pgBackRest 16 164 6.24 21.94 5.8x pgBackRest 32 101 10.13 35.61 9.4x pgBackRest 64 107 9.56 33.61 8.9x pgBackRest 128 133 7.69 27.04 7.1x pgBackRest + compress 64 101 10.13 35.61 9.4x pgBackRest + compress 128 127 8.25 29.00 8.1x
How the review tested this

Review: We tested elapsed-time and displayed-throughput ratios. They yield 7.48× and 7.64× respectively. Neither supports 8.1×. The stated 8.3% overstatement is correct. We tested elapsed-time and displayed-throughput ratios. Neither supports 8.1×. The elapsed-time ratio is 7.48×, with 8.3% overstatement.

Dangerous or recipe bugs

F13

The illustrated replication slot does not protect WAL

INACCURATESafe · holds up after review

Claim ledger

Article says
…# This prevents WAL files from being removed before the replica consumes them…
What is true
The one-argument slot function reserves WAL only when a client first uses the slot. doc/src/sgml/func.sgml:29579 documents this behavior. The example never sets primary_slot_name and creates the slot after copying. Required WAL can disappear before startup. PostgreSQL then requires another base backup.
So what
Reserve WAL before the backup with an immediately reserved physical slot, and configure primary_slot_name on the standby.
Charitable reading
An idle primary may retain enough WAL for this demonstration. That does not make the illustrated slot protect the transfer.

Source

Source · REL_18_0 · doc/src/sgml/func.sgml:29579-29582when <literal>true</literal>, specifies that the <acronym>LSN</acronym> for this replication slot be reserved immediately; otherwise the <acronym>LSN</acronym> is reserved on first connection from a streaming replication client. Streaming changes from a physical slot is only

Review correction: see "How the review tested this" below.

In the article · section “Finalization”

In the article

excerpt · section “Finalization” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Finalization

# Safety check: ensure target directory is empty if [ "$(ls -A "$PG_DATA_DIR" 2>/dev/null)" ]; then echo "ERROR: $PG_DATA_DIR is not empty. Clear it first or use a different directory" exit 1 fi # Research shortcut: we copy files directly from the pgBackRest repo # (no restore-time verification). Not recommended for production use. mv "$TMP_DIR/backup/$STANZA_TMP/latest/pg_data"/* "$PG_DATA_DIR/" rm -rf "$TMP_DIR"  # Also removes the temporary config file touch "$PG_DATA_DIR/standby.signal" cat <<EOS >> "$PG_DATA_DIR/postgresql.auto.conf" primary_conninfo = 'user=''$REPLICATION_USER'' host=''$PRIMARY'' application_name=''$HOSTNAME'' ' EOS # Note: No restore_command needed for streaming replication # The replica will fetch everything via streaming from primary_conninfo # Important: Create a replication slot on the primary before starting the replica # This prevents WAL files from being removed before the replica consumes them: # psql -h $PRIMARY -U $REPLICATION_USER -c "SELECT pg_create_physical_replication_slot('replica_slot_name');" # Start the replica Postgres instance as usual
All sources and excerpts · 3
Evidence when <literal>true</literal>, specifies that the <acronym>LSN</acronym> for this replication slot be reserved immediately; otherwise the <acronym>LSN</acronym> is reserved on first connection from a streaming replication client. Streaming changes from a physical slot is only
Evidence Optionally specifies an existing replication slot to be used when connecting to the sending server via streaming replication to control resource removal on the upstream node (see <xref linkend="streaming-replication-slots"/>).

Version note: This range describes primary_slot_name.

Evidence If you use streaming replication without file-based continuous archiving, the server might recycle old WAL segments before the standby has received them. If this occurs, the standby will need to be reinitialized from a new base backup. You can avoid this by setting
How the review tested this

Review: We considered the idle-system qualification. Incidental WAL retention can let the demonstration succeed. It does not make the unused, unreserved slot provide the promised protection. We considered an idle primary retaining enough WAL. That permits success but does not make the unused, unreserved slot protect WAL.

Recipe errors (fail loudly)

F5

Benchmark commands omit the temporary configuration

Recipe errorSafe · holds up after review

Claim ledger

Article says
…time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=4 backup…
What is true
The benchmark commands omit --config. CONFIG_FILE is a shell variable, not a recognized pgBackRest configuration environment variable. With only the temporary setup, those commands cannot load the configured stanza.
So what
Keep or recreate the temporary file and pass --config="$CONFIG_FILE" to every benchmark command.
Charitable reading
The commands may abbreviate an actual run. They still cannot use the printed temporary setup without another configuration source.

Source

Source · pgbackrest@release/2.57.0 · src/build/config/config.yaml:273-277config: type: string default-type: literal default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE negate: true

Review correction: see "How the review tested this" below.

In the article · section “Performance benchmarks”

In the article

excerpt · section “Performance benchmarks” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Performance benchmarks

# pg_basebackup baseline (PostgreSQL 18 with worker-based async I/O) time pg_basebackup \ --pgdata="$PG_DATA_DIR" \ --write-recovery-conf \ --wal-method=stream \ --checkpoint=fast \ --progress \ --verbose \ --host=$PRIMARY \ --username=$REPLICATION_USER # real    950s (15.8 minutes) - 1.08 GiB/s # pgbackrest with 4 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=4 backup # real   575s (9.6 minutes) - 1.78 GiB/s # pgbackrest with 8 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=8 backup # real   298s (5.0 minutes) - 3.43 GiB/s # pgbackrest with 16 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=16 backup # real   164s (2.7 minutes) - 6.24 GiB/s # pgbackrest with 32 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=32 backup # real   101s (1.7 minutes) - 10.13 GiB/s - network saturated # pgbackrest with 64 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=64 backup # real   107s (1.8 minutes) - 9.56 GiB/s - network limited # pgbackrest with 128 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=128 backup # real   133s (2.2 minutes) - 7.69 GiB/s - SSH overhead reduces throughput # pgbackrest with 64 processes + network compression time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=64 --compress-level-network=1 backup # real   101s (1.7 minutes) - 10.13 GiB/s - 6% improvement # pgbackrest with 128 processes + network compression time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=128 --compress-level-network=1 backup # real   127s (2.1 minutes) - 8.25 GiB/s - 5% improvement
All sources and excerpts · 2
Evidence config: type: string default-type: literal default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE negate: true
Evidence#define PGBACKREST_ENV "PGBACKREST_" #define PGBACKREST_ENV_SIZE (sizeof(PGBACKREST_ENV) - 1)
How the review tested this

Review: We considered abbreviated benchmark commands and alternative configuration sources. The finding already limits failure to the printed temporary setup. CONFIG_FILE alone does not select that configuration. We considered abbreviated benchmark commands and existing configuration. The finding expressly limits failure to using only the printed temporary setup.

Misleading / imprecise

F2

PostgreSQL 18 AIO does not accelerate this backup read path

MISLEADINGFactual · holds up after review

Claim ledger

Article says
…asynchronous I/O (we left settings default: io_method=worker and io_workers=3 ) can speed it up significantly.
What is true
PostgreSQL 18.0 copies backup files through synchronous pg_pread. This path does not dispatch reads to io_workers. The reported 1.08 GiB/s does not establish an AIO speedup.
So what
Do not increase io_workers to accelerate pg_basebackup. Measure backup throughput separately from AIO settings.
Charitable reading
The measured PostgreSQL 18 improvement can be real. Its cause requires a controlled comparison.

Source

Source · REL_18_0 · src/backend/utils/misc/guc_tables.c:5412-5419 {"io_method", PGC_POSTMASTER, RESOURCES_IO, gettext_noop("Selects the method for executing asynchronous I/O."), NULL }, &io_method, DEFAULT_IO_METHOD, io_method_options, NULL, assign_io_method, NULL },

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…asynchronous I/O (we left settings default: io_method=worker and io_workers=3 ) can speed it up significantly.
All sources and excerpts · 3
Evidence {"io_method", PGC_POSTMASTER, RESOURCES_IO, gettext_noop("Selects the method for executing asynchronous I/O."), NULL }, &io_method, DEFAULT_IO_METHOD, io_method_options, NULL, assign_io_method, NULL },
Evidencestatic ssize_t basebackup_read_file(int fd, char *buf, size_t nbytes, off_t offset, const char *filename, bool partial_read_ok) { ssize_t rc; pgstat_report_wait_start(WAIT_EVENT_BASEBACKUP_READ); rc = pg_pread(fd, buf, nbytes, offset); pgstat_report_wait_end();
Evidence /* Try to read some more data. */ cnt = basebackup_read_file(fd, sink->bbs_buffer, Min(sink->bbs_buffer_length, length), offset, readfilename, true);
How the review tested this

Review: We tested whether the finding denied the measurement itself. It does not. PostgreSQL 18.0 uses synchronous pg_pread here. The causal correction stands. We tested whether default AIO settings support the attribution. PostgreSQL 18.0 reads this backup path through synchronous pg_pread. The measurement remains unchallenged.

F10

The SQL prerequisite checks a different database role

IMPRECISEFactual · holds up after review

Claim ledger

Article says
…standard SQL connectivity for pgBackRest verification…
What is true
The configuration never assigns REPLICATION_USER to pg1-user. pgBackRest uses the remote OS account or PGUSER for SQL. A TCP psql check as REPLICATION_USER does not verify that backup connection.
So what
Test local SQL as postgres over SSH, or configure pg1-user with a role permitted to run backup functions.
Charitable reading
The replication role remains useful for streaming and slot creation. The mismatch concerns pgBackRest verification.

Source

Source · pgbackrest@release/2.57.0 · src/build/help/help.xml:1959-1964<p>The database user name used when connecting to <postgres/>. If not specified <backrest/> will connect with the local OS user or <id>PGUSER</id>.</p>

Review correction: see "How the review tested this" below.

In the article · section “Prerequisites”

In the article

excerpt · section “Prerequisites” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Prerequisites

Passwordless psql connection for $REPLICATION_USER to $PRIMARY (standard SQL connectivity for pgBackRest verification; replication wiring with slot + primary_conninfo happens at the end)

All sources and excerpts · 2
Evidence <p>The database user name used when connecting to <postgres/>. If not specified <backrest/> will connect with the local OS user or <id>PGUSER</id>.</p>
Evidence result = dbNew( pgClientNew( cfgOptionIdxStrNull(cfgOptPgSocketPath, pgIdx), cfgOptionIdxUInt(cfgOptPgPort, pgIdx), cfgOptionIdxStr(cfgOptPgDatabase, pgIdx), cfgOptionIdxStrNull(cfgOptPgUser, pgIdx), cfgOptionUInt64(cfgOptDbTimeout)), NULL, storagePgIdx(pgIdx), applicationName); } else result = dbNew(NULL, protocolRemoteGet(protocolStorageTypePg, pgIdx, true), storagePgIdx(pgIdx), applicationName);
How the review tested this

Review: We considered whether REPLICATION_USER could also serve as the backup role. The printed configuration never assigns it. Testing that role does not verify pgBackRest's actual SQL connection. We considered whether REPLICATION_USER implicitly selects the backup SQL role. E-30 instead specifies the OS user or PGUSER.

F17

Imprecise: “…pgBackRest 32 101 10.13 35.61 9.4x…”

IMPRECISEConsistent · partly holds after review

Claim ledger

Article says
…pgBackRest 32 101 10.13 35.61 9.4x…
What is true
The 32-process result gives 10.4 GiB/s and 36.5 TiB/hour (derived: 1.023 TiB / 101 seconds). E-51 lists 10.13 GiB/s and 35.61 TiB/hour. Correct the stated database size or this row's calculated rates.
So what
Recompute GiB/s and TiB/hour from the verified database byte count before sizing transfer capacity.

Checked for internal consistency: the evidence is the article itself.

Review correction: see "How the review tested this" below.

In the article · section “Analysis”

In the article

excerpt · section “Analysis” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Analysis

method process max duration (s) tput (logical), GiB/s TiB/hour speedup pg_basebackup 1 950 1.08 3.80 1.0x pgBackRest 4 575 1.78 6.26 1.7x pgBackRest 8 298 3.43 12.06 3.2x pgBackRest 16 164 6.24 21.94 5.8x pgBackRest 32 101 10.13 35.61 9.4x pgBackRest 64 107 9.56 33.61 8.9x pgBackRest 128 133 7.69 27.04 7.1x pgBackRest + compress 64 101 10.13 35.61 9.4x pgBackRest + compress 128 127 8.25 29.00 8.1x
How the review tested this

Review: We recalculated the 101-second row and tested rounding. Its discrepancy survives. E-50 and E-51 establish one row, not the assertion about most other rows.

F19

Scaling efficiency through 16 processes is 88%, not 96%

IMPRECISEConsistent · holds up after review

Claim ledger

Article says
…Nearly linear scaling: performance doubles with each doubling of parallelism up to 16 processes (96% efficiency)…
What is true
Scaling from 4 to 16 processes achieves 87.7% efficiency (derived: 575 / 164 / 4). The 8-to-16-process step achieves 90.9%. Only the 4-to-8-process step reaches approximately 96%.
So what
Estimate 16-process throughput from the measured 164-second duration instead of assuming 96% scaling efficiency.
Charitable reading
The 4-to-8-process step achieves approximately 96% efficiency. The claim extends that figure through 16 processes.

Checked for internal consistency: the evidence is the article itself.

Review correction: see "How the review tested this" below.

In the article · section “Analysis”

In the article

excerpt · section “Analysis” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Analysis

Nearly linear scaling: performance doubles with each doubling of parallelism up to 16 processes (96% efficiency)

How the review tested this

Review: We tested whether 96% described only the first doubling. That step gives 96.5%, but the claim extends through 16 processes. Overall efficiency is 87.7%. We tested both successive doubling steps. Efficiency reaches 96% only from 4 to 8 processes. Overall efficiency through 16 processes is 87.7%.

Verified accurate

F6

PostgreSQL 18 defaults match worker and three workers

ACCURATEFactual · holds up after review

Claim ledger

Article says
…io_method=worker and io_workers=3…
What is true
PostgreSQL 18.0 defaults io_method to worker and io_workers to 3. These defaults do not establish that pg_basebackup uses AIO.
Charitable reading
The default values are separate from the claimed backup speedup.

Source

Source · REL_18_0 · doc/src/sgml/config.sgml:2778-2785 The default is <literal>worker</literal>. </para> <para> This parameter can only be set at server start.

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…io_method=worker and io_workers=3…
All sources and excerpts · 3
Evidence The default is <literal>worker</literal>. </para> <para> This parameter can only be set at server start.
Evidence {"io_workers", PGC_SIGHUP, RESOURCES_IO, gettext_noop("Number of IO worker processes, for io_method=worker."), NULL, }, &io_workers, 3, 1, MAX_IO_WORKERS, NULL, NULL, NULL
Evidence {"io_method", PGC_POSTMASTER, RESOURCES_IO, gettext_noop("Selects the method for executing asynchronous I/O."), NULL }, &io_method, DEFAULT_IO_METHOD, io_method_options, NULL, assign_io_method, NULL },
How the review tested this

Review: We separated configuration defaults from backup behavior. PostgreSQL 18.0 documents worker and initializes io_workers to 3. The accurate verdict concerns those defaults only. We checked the documented method default and the worker-count initializer. Both match the article's PostgreSQL 18 settings.

F7

primary_conninfo configures the streaming connection

ACCURATEFactual · holds up after review

Claim ledger

Article says
…primary_conninfo = 'user=''$REPLICATION_USER'' host=''$PRIMARY'' application_name=''$HOSTNAME'' '…
What is true
primary_conninfo supplies the standby connection string. Recovery passes it to RequestXLogStreaming. Slot selection remains a separate primary_slot_name setting.
Charitable reading
This verifies the connection setting, not WAL availability or the complete bootstrap procedure.

Source

Source · REL_18_0 · doc/src/sgml/config.sgml:4911-4915Specifies a connection string to be used for the standby server to connect with a sending server. This string is in the format described in <xref linkend="libpq-connstring"/>. If any option is

Review correction: see "How the review tested this" below.

In the article · section “Finalization”

In the article

excerpt · section “Finalization” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Finalization

# Safety check: ensure target directory is empty if [ "$(ls -A "$PG_DATA_DIR" 2>/dev/null)" ]; then echo "ERROR: $PG_DATA_DIR is not empty. Clear it first or use a different directory" exit 1 fi # Research shortcut: we copy files directly from the pgBackRest repo # (no restore-time verification). Not recommended for production use. mv "$TMP_DIR/backup/$STANZA_TMP/latest/pg_data"/* "$PG_DATA_DIR/" rm -rf "$TMP_DIR"  # Also removes the temporary config file touch "$PG_DATA_DIR/standby.signal" cat <<EOS >> "$PG_DATA_DIR/postgresql.auto.conf" primary_conninfo = 'user=''$REPLICATION_USER'' host=''$PRIMARY'' application_name=''$HOSTNAME'' ' EOS # Note: No restore_command needed for streaming replication # The replica will fetch everything via streaming from primary_conninfo # Important: Create a replication slot on the primary before starting the replica # This prevents WAL files from being removed before the replica consumes them: # psql -h $PRIMARY -U $REPLICATION_USER -c "SELECT pg_create_physical_replication_slot('replica_slot_name');" # Start the replica Postgres instance as usual
All sources and excerpts · 2
Evidence Specifies a connection string to be used for the standby server to connect with a sending server. This string is in the format described in <xref linkend="libpq-connstring"/>. If any option is
Evidence RequestXLogStreaming(tli, ptr, PrimaryConnInfo, PrimarySlotName,
How the review tested this

Review: We checked whether the finding certified the entire bootstrap procedure. It only verifies primary_conninfo. RequestXLogStreaming receives the connection string and slot name separately. We checked whether connection configuration also selects a slot. E-5 passes PrimaryConnInfo and PrimarySlotName separately, as the finding states.

F8

application_name accepts the replica hostname label

ACCURATEFactual · holds up after review

Claim ledger

Article says
…application_name=''$HOSTNAME''…
What is true
application_name labels the connection in statistics and logs. The supplied hostname assignment uses that setting for the replica connection.
Charitable reading
An ordinary hostname fits the intended connection label.

Source

Source · REL_18_0 · src/backend/utils/misc/guc_tables.c:4875-4877{"application_name", PGC_USERSET, LOGGING_WHAT, gettext_noop("Sets the application name to be reported in statistics and logs."), NULL,

Review correction: see "How the review tested this" below.

In the article · section “Finalization”

In the article

excerpt · section “Finalization” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Finalization

# Safety check: ensure target directory is empty if [ "$(ls -A "$PG_DATA_DIR" 2>/dev/null)" ]; then echo "ERROR: $PG_DATA_DIR is not empty. Clear it first or use a different directory" exit 1 fi # Research shortcut: we copy files directly from the pgBackRest repo # (no restore-time verification). Not recommended for production use. mv "$TMP_DIR/backup/$STANZA_TMP/latest/pg_data"/* "$PG_DATA_DIR/" rm -rf "$TMP_DIR"  # Also removes the temporary config file touch "$PG_DATA_DIR/standby.signal" cat <<EOS >> "$PG_DATA_DIR/postgresql.auto.conf" primary_conninfo = 'user=''$REPLICATION_USER'' host=''$PRIMARY'' application_name=''$HOSTNAME'' ' EOS # Note: No restore_command needed for streaming replication # The replica will fetch everything via streaming from primary_conninfo # Important: Create a replication slot on the primary before starting the replica # This prevents WAL files from being removed before the replica consumes them: # psql -h $PRIMARY -U $REPLICATION_USER -c "SELECT pg_create_physical_replication_slot('replica_slot_name');" # Start the replica Postgres instance as usual
All sources and excerpts · 1
Evidence {"application_name", PGC_USERSET, LOGGING_WHAT, gettext_noop("Sets the application name to be reported in statistics and logs."), NULL,
How the review tested this

Review: We tested whether the hostname assignment implied unsupported replication behavior. It supplies an application label. PostgreSQL documents that label for statistics and logs. We checked the setting's stated purpose. E-25 confirms that application_name labels the connection in statistics and logs.

F9

Streaming replication does not require restore_command

ACCURATEFactual · holds up after review

Claim ledger

Article says
…No restore_command needed for streaming replication…
What is true
PostgreSQL 18.0 makes restore_command optional for streaming replication. Recovery accepts its absence. Streaming still requires the primary to retain every needed WAL segment.
Charitable reading
An archive command can provide another WAL source. It does not replace retention requirements.

Source

Source · REL_18_0 · doc/src/sgml/config.sgml:4030-4033The local shell command to execute to retrieve an archived segment of the WAL file series. This parameter is required for archive recovery, but optional for streaming replication.

Review correction: see "How the review tested this" below.

In the article · section “Finalization”

In the article

excerpt · section “Finalization” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Finalization

# Safety check: ensure target directory is empty if [ "$(ls -A "$PG_DATA_DIR" 2>/dev/null)" ]; then echo "ERROR: $PG_DATA_DIR is not empty. Clear it first or use a different directory" exit 1 fi # Research shortcut: we copy files directly from the pgBackRest repo # (no restore-time verification). Not recommended for production use. mv "$TMP_DIR/backup/$STANZA_TMP/latest/pg_data"/* "$PG_DATA_DIR/" rm -rf "$TMP_DIR"  # Also removes the temporary config file touch "$PG_DATA_DIR/standby.signal" cat <<EOS >> "$PG_DATA_DIR/postgresql.auto.conf" primary_conninfo = 'user=''$REPLICATION_USER'' host=''$PRIMARY'' application_name=''$HOSTNAME'' ' EOS # Note: No restore_command needed for streaming replication # The replica will fetch everything via streaming from primary_conninfo # Important: Create a replication slot on the primary before starting the replica # This prevents WAL files from being removed before the replica consumes them: # psql -h $PRIMARY -U $REPLICATION_USER -c "SELECT pg_create_physical_replication_slot('replica_slot_name');" # Start the replica Postgres instance as usual
All sources and excerpts · 3
Evidence The local shell command to execute to retrieve an archived segment of the WAL file series. This parameter is required for archive recovery, but optional for streaming replication.
Evidence /* In standby mode, restore_command might not be supplied */ if (recoveryRestoreCommand == NULL || strcmp(recoveryRestoreCommand, "") == 0) goto not_available;
Evidence fails, it tries to restore any WAL available in the <filename>pg_wal</filename> directory. If that fails, and streaming replication has been configured, the standby tries to connect to the primary server and start streaming WAL from the last valid record found in archive or <filename>pg_wal</filename>. If that fails
How the review tested this

Review: We checked archive recovery requirements against streaming requirements. PostgreSQL explicitly makes restore_command optional for streaming. The finding preserves the required-WAL qualification. We checked whether recovery requires restore_command. Both documentation and code allow its absence during streaming replication.

F14

pg_basebackup supports standby creation

ACCURATEFactual · holds up after review

Claim ledger

Article says
…The standard approach to creating a Postgres replica uses pg_basebackup…
What is true
PostgreSQL 18 documents pg_basebackup output for standby setup. doc/src/sgml/ref/pg_basebackup.sgml:237 describes the recovery connection settings written by --write-recovery-conf.
Charitable reading
Standard means a supported built-in approach, without claiming that every deployment uses it.

Source

Source · REL_18_0 · doc/src/sgml/ref/pg_basebackup.sgml:237-240connection settings to the <filename>postgresql.auto.conf</filename> file in the target directory (or within the base archive file when using tar format). This eases setting up a standby server using the results of the backup.

Review correction: see "How the review tested this" below.

In the article · section “pg_basebackup is single-threaded”

In the article

excerpt · section “pg_basebackup is single-threaded” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

pg_basebackup is single-threaded

The standard approach to creating a Postgres replica uses pg_basebackup :

All sources and excerpts · 1
Evidence connection settings to the <filename>postgresql.auto.conf</filename> file in the target directory (or within the base archive file when using tar format). This eases setting up a standby server using the results of the backup.
How the review tested this

Review: We read standard as a supported built-in approach, not a deployment-frequency claim. PostgreSQL 18 explicitly documents pg_basebackup output for standby setup. We checked whether the documentation supports standby creation. E-42 explicitly describes setting up a standby from pg_basebackup output.

Notes

4 not graded: findings no reader would act on differently
F1

Note: “…This prevents WAL files from being removed before the replica consumes them…”

NOTEpartly holds after review

Claim ledger

Article says
…This prevents WAL files from being removed before the replica consumes them…
What is true
The illustrated slot does not reserve WAL immediately, and the configuration omits primary_slot_name. Required WAL can disappear before streaming starts. E-40 documents possible reinitialization, not silent wrong results. F13 covers this same recipe defect.
So what
Reserve WAL before backup with immediately_reserve=true, and set primary_slot_name to the same slot on the replica.

Source

Source · REL_18_0 · doc/src/sgml/func.sgml:29576-29584<parameter>slot_name</parameter>. The optional second parameter, when <literal>true</literal>, specifies that the <acronym>LSN</acronym> for this replication slot be reserved immediately; otherwise the <acronym>LSN</acronym> is reserved on first connection from a streaming replication client. Streaming changes from a physical slot is only

Not graded: no reader would act differently on it.

Review correction: see "How the review tested this" below.

In the article · section “Finalization”

In the article

excerpt · section “Finalization” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Finalization

# Safety check: ensure target directory is empty if [ "$(ls -A "$PG_DATA_DIR" 2>/dev/null)" ]; then echo "ERROR: $PG_DATA_DIR is not empty. Clear it first or use a different directory" exit 1 fi # Research shortcut: we copy files directly from the pgBackRest repo # (no restore-time verification). Not recommended for production use. mv "$TMP_DIR/backup/$STANZA_TMP/latest/pg_data"/* "$PG_DATA_DIR/" rm -rf "$TMP_DIR"  # Also removes the temporary config file touch "$PG_DATA_DIR/standby.signal" cat <<EOS >> "$PG_DATA_DIR/postgresql.auto.conf" primary_conninfo = 'user=''$REPLICATION_USER'' host=''$PRIMARY'' application_name=''$HOSTNAME'' ' EOS # Note: No restore_command needed for streaming replication # The replica will fetch everything via streaming from primary_conninfo # Important: Create a replication slot on the primary before starting the replica # This prevents WAL files from being removed before the replica consumes them: # psql -h $PRIMARY -U $REPLICATION_USER -c "SELECT pg_create_physical_replication_slot('replica_slot_name');" # Start the replica Postgres instance as usual
All sources and excerpts · 5
Evidence <parameter>slot_name</parameter>. The optional second parameter, when <literal>true</literal>, specifies that the <acronym>LSN</acronym> for this replication slot be reserved immediately; otherwise the <acronym>LSN</acronym> is reserved on first connection from a streaming replication client. Streaming changes from a physical slot is only
Evidence if (immediately_reserve) { /* Reserve WAL as the user asked for it */ if (XLogRecPtrIsInvalid(restart_lsn)) ReplicationSlotReserveWal(); else
Evidence Optionally specifies an existing replication slot to be used when connecting to the sending server via streaming replication to control resource removal on the upstream node (see <xref linkend="streaming-replication-slots"/>).
Evidence If you use streaming replication without file-based continuous archiving, the server might recycle old WAL segments before the standby has received them. If this occurs, the standby will need to be reinitialized from a new base backup. You can avoid this by setting
Evidence RequestXLogStreaming(tli, ptr, PrimaryConnInfo, PrimarySlotName,
How the review tested this

Review: The slot defect stands, but silent wrong results do not follow from these citations. E-40 establishes possible reinitialization. F13 already charges this same defect. The slot defect stands. E-40 supports failed recovery and another backup, not silent incorrect results. F13 already charges this defect.

F12

Note: “…no checksum verification for maximum throughput…”

NOTEpartly holds after review

Claim ledger

Article says
…no checksum verification for maximum throughput…
What is true
pgBackRest 2.57.0 enables page validation automatically when the cluster has checksums. A cluster without checksums satisfies the stated condition without checksum-page=n. The article does not document the cluster checksum state, so we cannot independently confirm that benchmark condition.
So what
Record data_checksums and the effective checksum-page option before comparing checksum-enabled and checksum-disabled benchmark runs.

Source

Source · pgbackrest@release/2.57.0 · src/command/backup/backup.c:248-254// If checksum page is not explicitly set then automatically enable it when checksums are available if (!cfgOptionTest(cfgOptChecksumPage)) { // If online then use the value in pg_control to set checksum-page if (cfgOptionBool(cfgOptOnline)) { cfgOptionSet(cfgOptChecksumPage, cfgSourceParam, VARBOOL(pgControl.pageChecksumVersion != 0));

Not graded: no reader would act differently on it.

Review correction: see "How the review tested this" below.

In the article · section “Performance benchmarks”

In the article

excerpt · section “Performance benchmarks” · as fetched 2026-10-27 · open in article ↗ (opens in new tab)

Performance benchmarks

Testing: no network compression (compress-type=none), no checksum verification for maximum throughput

# pg_basebackup baseline (PostgreSQL 18 with worker-based async I/O) time pg_basebackup \ --pgdata="$PG_DATA_DIR" \ --write-recovery-conf \ --wal-method=stream \ --checkpoint=fast \ --progress \ --verbose \ --host=$PRIMARY \ --username=$REPLICATION_USER # real    950s (15.8 minutes) - 1.08 GiB/s # pgbackrest with 4 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=4 backup # real   575s (9.6 minutes) - 1.78 GiB/s # pgbackrest with 8 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=8 backup # real   298s (5.0 minutes) - 3.43 GiB/s # pgbackrest with 16 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=16 backup # real   164s (2.7 minutes) - 6.24 GiB/s # pgbackrest with 32 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=32 backup # real   101s (1.7 minutes) - 10.13 GiB/s - network saturated # pgbackrest with 64 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=64 backup # real   107s (1.8 minutes) - 9.56 GiB/s - network limited # pgbackrest with 128 processes time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=128 backup # real   133s (2.2 minutes) - 7.69 GiB/s - SSH overhead reduces throughput # pgbackrest with 64 processes + network compression time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=64 --compress-level-network=1 backup # real   101s (1.7 minutes) - 10.13 GiB/s - 6% improvement # pgbackrest with 128 processes + network compression time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=128 --compress-level-network=1 backup # real   127s (2.1 minutes) - 8.25 GiB/s - 5% improvement
All sources and excerpts · 1
Evidence // If checksum page is not explicitly set then automatically enable it when checksums are available if (!cfgOptionTest(cfgOptChecksumPage)) { // If online then use the value in pg_control to set checksum-page if (cfgOptionBool(cfgOptOnline)) { cfgOptionSet(cfgOptChecksumPage, cfgSourceParam, VARBOOL(pgControl.pageChecksumVersion != 0));
How the review tested this

Review: E-36 makes validation conditional on the cluster checksum state. The article's stated checksum-free condition remains compatible with that code. Missing configuration detail supports a reproducibility note. E-36 makes validation conditional on cluster checksums. A checksum-disabled cluster satisfies the article's claim. Missing configuration details do not prove incorrect benchmark conditions.

F15

pgBackRest 2.55.0 introduced experimental PostgreSQL 18 support

NOTEholds up after review

Claim ledger

Article says
Use a recent version (2.55+) to ensure PostgreSQL 18 support…
What is true
The 2.55.0 release notes label PostgreSQL 18 support experimental. doc/xml/release/2025/2.55.0.xml:103 records that qualification. The article's R&D framing makes this a qualification rather than proof of an invalid minimum version.
Charitable reading
The article describes an R&D exercise. Experimental PostgreSQL 18 support can satisfy that purpose.

Source

Source · pgbackrest@release/2.55.0 · doc/xml/release/2025/2.55.0.xml:103-103<p><proper>PostgreSQL</proper> 18 experimental support.</p>

Not graded: no reader would act differently on it.

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)Use a recent version (2.55+) to ensure PostgreSQL 18 support…
All sources and excerpts · 1
Evidence <p><proper>PostgreSQL</proper> 18 experimental support.</p>

Version note: Checked the article's stated minimum version.

How the review tested this

Review: We checked the claimed minimum version directly. Release 2.55.0 labels PostgreSQL 18 support experimental. The note correctly avoids converting that qualification into incompatibility. We checked the stated minimum release. E-45 says experimental PostgreSQL 18 support. The finding correctly preserves this as a qualification.

F16

Native process priority shipped in pgBackRest 2.58.0

NOTEholds up after review

Claim ledger

Article says
…PR #2693 adding native process priority support to pgBackRest.
What is true
pgBackRest 2.58.0 shipped process priority on January 19, 2026. doc/xml/release/2020s/2026/2.58.0.xml:97 records the feature. The priority option accepts values from -20 through 19. The article's external renice workaround remains usable.
So what
On pgBackRest 2.58.0 or later, consider --priority=19 instead of repeatedly invoking renice.
Charitable reading
The article credits a proposed improvement. It does not claim that external renice remains necessary in every later version.

Source

Source · pgbackrest@release/2.58.0 · doc/xml/release/2020s/2026/2.58.0.xml:97-97<p>Allow process priority to be set.</p>

Not graded: no reader would act differently on it.

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…PR #2693 adding native process priority support to pgBackRest.
All sources and excerpts · 3
Evidence <p>Allow process priority to be set.</p>

Version note: Later release checked for feature delivery.

Evidence<release date="2026-01-19" version="2.58.0" title="Object Storage Improvements">
Evidence priority: section: global type: integer required: false allow-range: [-20, 19]
How the review tested this

Review: We checked for anachronistic criticism. The finding explicitly dates the later feature and retains the external workaround. Release 2.58.0 confirms the date and priority range. We checked the later release date and option range. The finding separates later feature delivery from publication-time advice and private attribution.

More in this report

Section checks · 6 sections

Section checks

AspectGradeFindingsCoverage
pg_basebackup limitationsB+1 misleading · 2 verified-accurate93% of claims (14 of 15, plus 2 that need data we do not have)
PrerequisitesA1 imprecise83% of claims (5 of 6)
FinalizationD1 dangerous-recipe · 3 verified-accurate82% of claims (14 of 17, plus 4 that need data we do not have)
Performance benchmarksB1 inaccuracy · 1 recipe error (fails loudly)100% of claims (17 of 17, plus 6 that need data we do not have)
AnalysisB-2 inaccuracy · 2 imprecise81% of claims (13 of 16, plus 6 that need data we do not have)
AcknowledgmentsAnoneno checkable claims
Coverage and assessment · Checked 92 of 112 Postgres claims across 14 sections; 1 section below half

D+ — the findings address the article's main subject. What we did not check is listed below. We checked the replica setup, transfer settings, performance explanations, and throughput arithmetic against PostgreSQL 18.0 and pgBackRest 2.57.0.

We did not check everything in this article. What we did not check is listed below, in the words we recorded at the time. None of it moved the letter. We never charge our own limits to the article.

What we did not check

  • We did not reproduce the throughput measurements or inspect their network and process counters.
  • We did not verify direct repository moves with tablespaces, symlinks, or a changing primary.
  • We did not check shell failure handling, cron scheduling, kernel cache flushing, or SSH limits.
  • We did not validate the process-count and storage recommendations across different workloads.
  • We did not reproduce the benchmark measurements or inspect the original timing and network-counter records.
  • We did not verify the benchmark hosts, cache conditions, or cluster checksum settings.
  • We could not retrieve the linked io_method and io_workers reference pages or the article's edit page.
  • We did not reach Maxim Boguk's linked professional profile.
  • We did not reproduce the benchmark timings, database size, row count, or storage comparison.
  • We did not verify the 8.5 GiB/s network-counter measurement.
  • We did not verify the pre-18 throughput range or tests on 1–8 Gbps networks.
  • We did not establish the maximum io_workers value in PostgreSQL 18.
  • Factual: we did not complete every applicable check.
  • Section “pgBackRest alternative”: we checked 1 of 5 checkable claims.
  • Section “Key takeaways”: we checked 1 of 2 checkable claims.
  • We could not decide whether the published benchmark details are complete.
  • We could not decide whether the article depends on finding F3.
  • We could not decide whether the article depends on finding F4.
  • We could not decide whether the article depends on finding F18.
  • We hold no source mapping for “postgres-ai/docs”, so we did not check the article's claims about its code.
Checked 92 of 112 Postgres claims across 14 sections; 1 section below half
  • Introduction: 1 of 1 Postgres claims checked, plus 2 that need data we do not have; not counted: 5 not a claim
  • pg_basebackup limitations: 14 of 15 Postgres claims checked, plus 2 that need data we do not have; not counted: 4 duplicate; not checked: 1 for other reasons
  • pgBackRest alternative: 1 of 4 Postgres claims checked, plus 1 that need data we do not have; not checked: 3 for other reasons
  • Prerequisites: 5 of 6 Postgres claims checked; not checked: 1 for other reasons
  • Configuration: 15 of 19 Postgres claims checked, plus 5 that need data we do not have; not counted: 1 not a claim; not checked: 4 for other reasons
  • Execution: 6 of 9 Postgres claims checked, plus 4 that need data we do not have; not counted: 2 duplicate; not checked: 3 for other reasons
  • Finalization: 14 of 17 Postgres claims checked, plus 4 that need data we do not have; not counted: 1 duplicate; not checked: 3 for other reasons
  • Performance benchmarks: 17 of 17 Postgres claims checked, plus 6 that need data we do not have; not counted: 3 product or opinion, 1 not a claim
  • Analysis: 13 of 16 Postgres claims checked, plus 6 that need data we do not have; not counted: 1 product or opinion, 15 duplicate, 1 not a claim; not checked: 3 for other reasons
  • Practical considerations: 1 of 1 Postgres claims checked, plus 3 that need data we do not have; not counted: 4 product or opinion, 4 duplicate, 2 not a claim
  • When to use pg_basebackup: 6 claims are the author's own account; nothing checkable; not counted: 2 product or opinion, 1 duplicate
  • Future work: 4 of 5 Postgres claims checked, plus 3 that need data we do not have; not counted: 6 product or opinion, 5 duplicate, 3 not a claim; not checked: 1 for other reasons
  • Key takeaways: 1 of 2 Postgres claims checked; not counted: 7 duplicate; not checked: 1 for other reasons
  • Acknowledgments: no checkable claims; not counted: 1 product or opinion, 2 not a claim

Average of 5 axes: 2.6 · benchmark not reproducible, one step off (no code) · worst of factual, consistent, safe: D · result D+

Some explanatory text is not shown in this edition; the grade and findings are complete.

Scorecard · the five axes
FACTS scorecard Scorecard radar, 5 axes, bigger is better. Overall D+. Factual C · 4 wrong of 14 checked · 1 caveat. Applicable A · 0 wrong of 4 checked · 0 caveats. Consistent A · 0 wrong of 14 checked · 2 caveats. Transparent C · 0 wrong of 5 checked · 0 caveats · reproducibility: C (no code). Safe D · 2 wrong of 22 checked · 0 caveats · 1 unwarned risk. C 4 wrong of 14 checked · 1 caveatFactual C4 wrong of 141 caveat A 0 wrong of 4 checked · 0 caveatsApplicable A0 wrong of 40 caveats A 0 wrong of 14 checked · 2 caveatsConsistent A0 wrong of 142 caveats C 0 wrong of 5 checked · 0 caveats reproducibility: C (no code)Transparent C0 wrong of 50 caveatsreproducibility: C(no code) D 2 wrong of 22 checked · 0 caveats 1 unwarned riskSafe D2 wrong of 220 caveats1 unwarned risk

By topic: pg_basebackup limitations — 3 findings, 1 wrong · Prerequisites — 1 finding, 0 wrong · Finalization — 4 findings, 1 wrong · Performance benchmarks — 2 findings, 2 wrong · Analysis — 4 findings, 2 wrong

Further out is better. Each axis has its own letter, from the wrong claims and caveats among the claims we checked of that kind.

Checked on the FACTS: Factual, Applicable, Consistent, Transparent, Safe. Clockwise: Factual (is it true?), Applicable (does it apply to my setup, today?), Consistent (does it agree with itself?), Transparent (can I check it myself?), Safe (can I run this on prod?).

We checked 14 claims, 22 commands scanned.

AxisLetterWrongCaveatsCheckedCoverage
FactualC4114partly assessed: C · 4 wrong of 14 checked · 1 caveat · partly assessed
ApplicableA004assessed: A · 0 wrong of 4 checked · 0 caveats
ConsistentA0214assessed: A · 0 wrong of 14 checked · 2 caveats
TransparentC005assessed: C · 0 wrong of 5 checked · 0 caveats · reproducibility: C (no code)
SafeD2022assessed: D · 2 wrong of 22 checked · 0 caveats · 1 unwarned risk

Safe. Recommended for production with no warning about data loss, downtime or a missing prerequisite: “mv "$TMP_DIR/backup/$STANZA_TMP/latest/pg_data"/* "$PG_DATA_DIR/" rm -rf "$TMP_DIR" # Also removes the temporary config file touch "$PG_DATA_DIR/standby.signal" cat <<EOS >> "$PG_DATA_DIR/postgresql.auto.conf" primary_conninfo = 'user=''$REPLICATION_USER'' host=''$PRIMARY'' application_name=''$HOSTNAME'' ' EOS # Note: No restore_command needed for streaming replication # The replica will fetch everything via streaming from primary_conninfo # Important: Create a replication slot on the primary before starting the replica # This prevents WAL files from being removed before the replica consumes”

Topics · 6 topics

Topics

TopicFactualApplicableConsistentTransparentSafe
pg_basebackup limitations1 issue 3 checked F2 F6 F140 issues 2 checked0 issues 3 checked0 issues 1 checked
Prerequisites1 issue 1 checked F100 issues 1 checked
Finalization0 issues 4 checked F7 F8 F90 issues 1 checked0 issues 4 checked0 issues 1 checked1 issue 1 checked F13
Performance benchmarks1 issue 2 checked F30 issues 1 checked0 issues 2 checked1 issue 1 checked F5
Analysis2 issues 4 checked F4 F182 issues 4 checked F17 F190 issues 3 checked
Acknowledgments

Issues found among the claims checked, per topic and axis. Each link goes to the finding behind the count.

Revisions: 1 · D+

We audited this article 1 time. Each row is the final edition of one audit. Letters and findings of earlier revisions stay readable at their own address.

  1. Revision 1 · this page · 2026-10-27 03:06 UTC · D+ · audited with v1.1.0 (approx.)

    Article as first submitted. 5 accurate · 5 wrong · 3 caveats.

    ElephantSeal: D+. Open: the benchmark cannot yet be rerun from what is published; the production risk is not yet fixed or warned about.

    Changes: First audit. Open: F3 “compress-type=none leaves network compression enabled” (false); F4 “Full backups do not omit zero-filled file regions” (false); F18 “The compressed 128-process speedup is 7.48×, not 8.1×” (false); F13 “The illustrated replication slot does not protect WAL” (dangerous); F5 “Benchmark commands omit the temporary configuration” (recipe error); F2 “PostgreSQL 18 AIO does not accelerate this backup read path” (misleading); F10 “The SQL prerequisite checks a different database role” (mostly accurate); F17 “…pgBackRest 32 101 10.13 35.61 9.4x…” (mostly accurate); F19 “Scaling efficiency through 16 processes is 88%, not 96%” (mostly accurate).

First impression
Questions and answers

Questions and answers

What is pgTrue?

pgTrue is an independent fact-check of technical Postgres articles, made by PostgresAI. It helps you check advice before you use it.

What does the letter grade mean?

The letter grade summarizes the claims we checked. Five axes show what we checked:

  • Factual: is it true?
  • Applicable: does it apply to my setup, today?
  • Consistent: does it agree with itself?
  • Transparent: can I check it myself?
  • Safe: can I run this in production?

What is the ElephantSeal?

The ElephantSeal is the mark an article earns. It always shows the latest edition. “Open:” lists what is still open.

Can an author reply?

Authors can ask us to correct a finding, reply to it, or withdraw it. Right-of-reply policy.

Paste into your AI assistant to fix the article, then ask for a re-review.

Show the text
Fix the article with this report, then ask pgTrue for a re-review.

# pgTrue report: \#PostgresMarathon 2-012: Ultra-fast replica creation with pgBackRest

Article title: \#PostgresMarathon 2-012: Ultra-fast replica creation with pgBackRest
Article URL: https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest
Report URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2
Audited revision: 1 of 1, 2026-10-27 03:06:02 UTC
Overall letter: D+

## Axes

- Factual: C · 4 wrong · 14 checked · 1 caveats · partly assessed
- Applicable: A · 0 wrong · 4 checked · 0 caveats · assessed
- Consistent: A · 0 wrong · 14 checked · 2 caveats · assessed
- Transparent: C · 0 wrong · 5 checked · 0 caveats · assessed
- Safe: D · 2 wrong · 22 checked · 0 caveats · assessed

ElephantSeal: D+.
Open conditions: the benchmark cannot yet be rerun from what is published; the production risk is not yet fixed or warned about.

## Report metadata

- Report: Technical fact-check, edition 2
- Issued: 2026-10-27
- Edition: Updated after review. Corrections are listed below.
- Submitted: Submitted by the PostgresAI team.
- Author response: No written reply from the author. See Revisions below. Policy: [right-of-reply and corrections policy](/pgtrue/security).
- pgTrue version: audited with v1.1.0 (approx.)

## Findings needing a change (9)

### F3 · Inaccurate · Factual · compress-type=none leaves network compression enabled
Location: excerpt · section “Performance benchmarks” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=Testing%3A%20no%20network%20compression%20%28compress%2Dtype%3Dnone%29)
Article says:
```text
…Testing: no network compression (compress-type=none)…
```
What is true:
pgBackRest 2.57.0 defaults compress-level-network to 1. With compress-type=none, remote file reads use LZ4 compression. The baseline and explicit --compress-level-network=1 commands select the same network compression level.
So what:
Set --compress-level-network=0 for an uncompressed baseline, then compare it with level 1.
Charitable reading:
An unreported configuration could disable compression. The configuration printed in the article does not.
Review: We checked whether compress-type=none disables transport compression. The default remains level 1, and the remote path selects LZ4. Undocumented overrides cannot validate the printed baseline. We checked whether compress-type=none disables transport compression. The default network level remains 1, and eligible remote reads use LZ4.

Sources:
- [pgbackrest@release/2.57.0 · src/build/config/config.yaml:813-817](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/build/config/config.yaml#L813-L817)
  Excerpt:
  ```text
  compress-level-network:
    section: global
    type: integer
    default: 1
    allow-range: [-5, 12]
  ```
- [pgbackrest@release/2.57.0 · src/storage/remote/read.c:194-200](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/storage/remote/read.c#L194-L200)
  Excerpt:
  ```text
  // If the file is compressible add compression filter on the remote
        if (this->interface.compressible)
        {
            ioFilterGroupAdd(
                ioReadFilterGroup(storageReadIo(this->read)),
                compressFilterP(compressTypeLz4, (int)this->interface.compressLevel, .raw = true));
        }
  ```
- [pgbackrest@release/2.57.0 · src/command/backup/file.c:180-181](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/command/backup/file.c#L180-L181)
  Excerpt:
  ```text
  // Are the files compressible during the copy?
        const bool compressible = repoFileCompressType == compressTypeNone && cipherType == cipherTypeNone;
  ```
- [pgbackrest@release/2.57.0 · src/storage/helper.c:195-197](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/storage/helper.c#L195-L197)
  Excerpt:
  ```text
  result = storageRemoteNew(
            STORAGE_MODE_FILE_DEFAULT, STORAGE_MODE_PATH_DEFAULT, write, 0, NULL,
            protocolRemoteGet(protocolStorageTypePg, pgIdx, true), cfgOptionUInt(cfgOptCompressLevelNetwork));
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F3

### F4 · Inaccurate · Factual · Full backups do not omit zero-filled file regions
Location: excerpt · section “Analysis” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=Sparse%20file%20regions%20and%20zero%2Dfilled%20blocks%20that%20aren%27t%20transmitted)
Article says:
```text
…Sparse file regions and zero-filled blocks that aren't transmitted…
```
What is true:
The full-backup copy writes the first buffer and copies the remaining bytes. It does not omit zero-filled regions. Network LZ4 can reduce their transmitted size. Sparse-region omission does not explain the reported 10.13 GiB/s.
So what:
Size transfers using measured compressed bytes and actual data compressibility, without assuming sparse-region omission.
Charitable reading:
Logical throughput can exceed wire throughput under compression. That does not establish sparse-block skipping.
Review: We considered compression as the charitable explanation for fewer transmitted bytes. That explains possible logical throughput, but does not establish omitted sparse regions. The copy path preserves the bytes. We considered compression as the charitable explanation. E-14 copies file contents. LZ4 can reduce transferred bytes without omitting zero-filled regions.

Sources:
- [pgbackrest@release/2.57.0 · src/storage/remote/read.c:194-200](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/storage/remote/read.c#L194-L200)
  Excerpt:
  ```text
  // If the file is compressible add compression filter on the remote
        if (this->interface.compressible)
        {
            ioFilterGroupAdd(
                ioReadFilterGroup(storageReadIo(this->read)),
                compressFilterP(compressTypeLz4, (int)this->interface.compressLevel, .raw = true));
        }
  ```
- [pgbackrest@release/2.57.0 · src/command/backup/file.c:180-181](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/command/backup/file.c#L180-L181)
  Excerpt:
  ```text
  // Are the files compressible during the copy?
        const bool compressible = repoFileCompressType == compressTypeNone && cipherType == cipherTypeNone;
  ```
- [pgbackrest@release/2.57.0 · src/command/backup/file.c:373-381](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/command/backup/file.c#L373-L381)
  Excerpt:
  ```text
  // Write the first buffer
                            ioWrite(storageWriteIo(write), buffer);
                            bufFree(buffer);

                            // Copy remainder of the file if not eof
                            if (!readEof)
                            {
                                ioCopyP(readIo, storageWriteIo(write));
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F4

### F18 · Inaccurate · Factual · The compressed 128-process speedup is 7.48×, not 8.1×
Location: excerpt · section “Analysis” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=pgBackRest%20%2B%20compress%20128%20127%208.25%2029.00%208.1x)
Article says:
```text
…pgBackRest + compress 128 127 8.25 29.00 8.1x…
```
What is true:
The compressed 128-process run achieves 7.48× baseline speed (derived: 950 seconds / 127 seconds). The table lists 8.1×. That overstates the elapsed-time speedup by 8.3%.
So what:
Use 7.48× baseline speed when estimating the benefit of 128 processes with compression.
Charitable reading:
Neither the elapsed-time ratio nor the displayed throughput ratio rounds to 8.1×.
Explanation: Checked for internal consistency: the evidence is the article itself.
Review: We tested elapsed-time and displayed-throughput ratios. They yield 7.48× and 7.64× respectively. Neither supports 8.1×. The stated 8.3% overstatement is correct. We tested elapsed-time and displayed-throughput ratios. Neither supports 8.1×. The elapsed-time ratio is 7.48×, with 8.3% overstatement.

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F18

### F13 · Inaccurate · Safe · The illustrated replication slot does not protect WAL
Location: excerpt · section “Finalization” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=%23%20This%20prevents%20WAL%20files,before%20the%20replica%20consumes%20them)
Article says:
```text
…# This prevents WAL files from being removed before the replica consumes them…
```
What is true:
The one-argument slot function reserves WAL only when a client first uses the slot. doc/src/sgml/func.sgml:29579 documents this behavior. The example never sets primary_slot_name and creates the slot after copying. Required WAL can disappear before startup. PostgreSQL then requires another base backup.
So what:
Reserve WAL before the backup with an immediately reserved physical slot, and configure primary_slot_name on the standby.
Charitable reading:
An idle primary may retain enough WAL for this demonstration. That does not make the illustrated slot protect the transfer.
Review: We considered the idle-system qualification. Incidental WAL retention can let the demonstration succeed. It does not make the unused, unreserved slot provide the promised protection. We considered an idle primary retaining enough WAL. That permits success but does not make the unused, unreserved slot protect WAL.

Sources:
- [REL_18_0 · doc/src/sgml/func.sgml:29579-29582](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/func.sgml#L29579-L29582)
  Excerpt:
  ```text
  when <literal>true</literal>, specifies that the <acronym>LSN</acronym> for this
        replication slot be reserved immediately; otherwise
        the <acronym>LSN</acronym> is reserved on first connection from a streaming
        replication client. Streaming changes from a physical slot is only
  ```
- [REL_18_0 · doc/src/sgml/config.sgml:4958-4961](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/config.sgml#L4958-L4961)
  Qualification: Version note: This range describes primary_slot_name.
  Excerpt:
  ```text
  Optionally specifies an existing replication slot to be used when
          connecting to the sending server via streaming replication to control
          resource removal on the upstream node
          (see <xref linkend="streaming-replication-slots"/>).
  ```
- [REL_18_0 · doc/src/sgml/high-availability.sgml:787-790](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/high-availability.sgml#L787-L790)
  Excerpt:
  ```text
  If you use streaming replication without file-based continuous
    archiving, the server might recycle old WAL segments before the standby
    has received them.  If this occurs, the standby will need to be
    reinitialized from a new base backup.  You can avoid this by setting
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F13

### F5 · Recipe Error · Safe · Benchmark commands omit the temporary configuration
Location: excerpt · section “Performance benchmarks” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=time%20pgbackrest%20%2D%2Dstanza%3D%22%24STANZA_TMP%22%20%2D%2Dtype%3Dfull%20%2D%2Dprocess%2Dmax%3D4%20backup)
Article says:
```text
…time pgbackrest --stanza="$STANZA_TMP" --type=full --process-max=4 backup…
```
What is true:
The benchmark commands omit --config. CONFIG_FILE is a shell variable, not a recognized pgBackRest configuration environment variable. With only the temporary setup, those commands cannot load the configured stanza.
So what:
Keep or recreate the temporary file and pass --config="$CONFIG_FILE" to every benchmark command.
Charitable reading:
The commands may abbreviate an actual run. They still cannot use the printed temporary setup without another configuration source.
Review: We considered abbreviated benchmark commands and alternative configuration sources. The finding already limits failure to the printed temporary setup. CONFIG_FILE alone does not select that configuration. We considered abbreviated benchmark commands and existing configuration. The finding expressly limits failure to using only the printed temporary setup.

Sources:
- [pgbackrest@release/2.57.0 · src/build/config/config.yaml:273-277](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/build/config/config.yaml#L273-L277)
  Excerpt:
  ```text
  config:
    type: string
    default-type: literal
    default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE
    negate: true
  ```
- [pgbackrest@release/2.57.0 · src/config/parse.h:19-20](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/config/parse.h#L19-L20)
  Excerpt:
  ```text
  #define PGBACKREST_ENV                                              "PGBACKREST_"
#define PGBACKREST_ENV_SIZE                                         (sizeof(PGBACKREST_ENV) - 1)
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F5

### F2 · Misleading · Factual · PostgreSQL 18 AIO does not accelerate this backup read path
Location: Article · exact quote · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=asynchronous%20I%2FO%20%28we%20left%20settings,can%20speed%20it%20up%20significantly.)
Article says:
```text
…asynchronous I/O (we left settings default: io_method=worker and io_workers=3 ) can speed it up significantly.
```
What is true:
PostgreSQL 18.0 copies backup files through synchronous pg_pread. This path does not dispatch reads to io_workers. The reported 1.08 GiB/s does not establish an AIO speedup.
So what:
Do not increase io_workers to accelerate pg_basebackup. Measure backup throughput separately from AIO settings.
Charitable reading:
The measured PostgreSQL 18 improvement can be real. Its cause requires a controlled comparison.
Review: We tested whether the finding denied the measurement itself. It does not. PostgreSQL 18.0 uses synchronous pg_pread here. The causal correction stands. We tested whether default AIO settings support the attribution. PostgreSQL 18.0 reads this backup path through synchronous pg_pread. The measurement remains unchallenged.

Sources:
- [REL_18_0 · src/backend/utils/misc/guc_tables.c:5412-5419](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/utils/misc/guc_tables.c#L5412-L5419)
  Excerpt:
  ```text
  {"io_method", PGC_POSTMASTER, RESOURCES_IO,
			gettext_noop("Selects the method for executing asynchronous I/O."),
			NULL
		},
		&io_method,
		DEFAULT_IO_METHOD, io_method_options,
		NULL, assign_io_method, NULL
	},
  ```
- [REL_18_0 · src/backend/backup/basebackup.c:2115-2123](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/backup/basebackup.c#L2115-L2123)
  Excerpt:
  ```text
  static ssize_t
basebackup_read_file(int fd, char *buf, size_t nbytes, off_t offset,
					 const char *filename, bool partial_read_ok)
{
	ssize_t		rc;

	pgstat_report_wait_start(WAIT_EVENT_BASEBACKUP_READ);
	rc = pg_pread(fd, buf, nbytes, offset);
	pgstat_report_wait_end();
  ```
- [REL_18_0 · src/backend/backup/basebackup.c:1858-1861](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/backup/basebackup.c#L1858-L1861)
  Excerpt:
  ```text
  /* Try to read some more data. */
	cnt = basebackup_read_file(fd, sink->bbs_buffer,
							   Min(sink->bbs_buffer_length, length),
							   offset, readfilename, true);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F2

### F10 · Imprecise · Factual · The SQL prerequisite checks a different database role
Location: excerpt · section “Prerequisites” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=standard%20SQL%20connectivity%20for%20pgBackRest%20verification)
Article says:
```text
…standard SQL connectivity for pgBackRest verification…
```
What is true:
The configuration never assigns REPLICATION_USER to pg1-user. pgBackRest uses the remote OS account or PGUSER for SQL. A TCP psql check as REPLICATION_USER does not verify that backup connection.
So what:
Test local SQL as postgres over SSH, or configure pg1-user with a role permitted to run backup functions.
Charitable reading:
The replication role remains useful for streaming and slot creation. The mismatch concerns pgBackRest verification.
Review: We considered whether REPLICATION_USER could also serve as the backup role. The printed configuration never assigns it. Testing that role does not verify pgBackRest's actual SQL connection. We considered whether REPLICATION_USER implicitly selects the backup SQL role. E-30 instead specifies the OS user or PGUSER.

Sources:
- [pgbackrest@release/2.57.0 · src/build/help/help.xml:1959-1964](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/build/help/help.xml#L1959-L1964)
  Excerpt:
  ```text
  <p>The database user name used when connecting to <postgres/>. If not specified <backrest/> will connect with the local OS user or <id>PGUSER</id>.</p>
  ```
- [pgbackrest@release/2.57.0 · src/db/helper.c:33-41](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/db/helper.c#L33-L41)
  Excerpt:
  ```text
  result = dbNew(
                pgClientNew(
                    cfgOptionIdxStrNull(cfgOptPgSocketPath, pgIdx), cfgOptionIdxUInt(cfgOptPgPort, pgIdx),
                    cfgOptionIdxStr(cfgOptPgDatabase, pgIdx), cfgOptionIdxStrNull(cfgOptPgUser, pgIdx),
                    cfgOptionUInt64(cfgOptDbTimeout)),
                NULL, storagePgIdx(pgIdx), applicationName);
        }
        else
            result = dbNew(NULL, protocolRemoteGet(protocolStorageTypePg, pgIdx, true), storagePgIdx(pgIdx), applicationName);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F10

### F17 · Imprecise · Consistent · Imprecise: “…pgBackRest 32 101 10.13 35.61 9.4x…”
Location: excerpt · section “Analysis” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=pgBackRest%2032%20101%2010.13%2035.61%209.4x)
Article says:
```text
…pgBackRest 32 101 10.13 35.61 9.4x…
```
What is true:
The 32-process result gives 10.4 GiB/s and 36.5 TiB/hour (derived: 1.023 TiB / 101 seconds). E-51 lists 10.13 GiB/s and 35.61 TiB/hour. Correct the stated database size or this row's calculated rates.
So what:
Recompute GiB/s and TiB/hour from the verified database byte count before sizing transfer capacity.
Explanation: Checked for internal consistency: the evidence is the article itself.
Review: We recalculated the 101-second row and tested rounding. Its discrepancy survives. E-50 and E-51 establish one row, not the assertion about most other rows.

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F17

### F19 · Imprecise · Consistent · Scaling efficiency through 16 processes is 88%, not 96%
Location: excerpt · section “Analysis” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=Nearly%20linear%20scaling%3A%20performance%20doubles,to%2016%20processes%20%2896%25%20efficiency%29)
Article says:
```text
…Nearly linear scaling: performance doubles with each doubling of parallelism up to 16 processes (96% efficiency)…
```
What is true:
Scaling from 4 to 16 processes achieves 87.7% efficiency (derived: 575 / 164 / 4). The 8-to-16-process step achieves 90.9%. Only the 4-to-8-process step reaches approximately 96%.
So what:
Estimate 16-process throughput from the measured 164-second duration instead of assuming 96% scaling efficiency.
Charitable reading:
The 4-to-8-process step achieves approximately 96% efficiency. The claim extends that figure through 16 processes.
Explanation: Checked for internal consistency: the evidence is the article itself.
Review: We tested whether 96% described only the first doubling. That step gives 96.5%, but the claim extends through 16 processes. Overall efficiency is 87.7%. We tested both successive doubling steps. Efficiency reaches 96% only from 4 to 8 processes. Overall efficiency through 16 processes is 87.7%.

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F19

## Verified accurate claims (5)

### F6 · Accurate · Factual · PostgreSQL 18 defaults match worker and three workers
Location: Article · exact quote · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=io_method%3Dworker%20and%20io_workers%3D3)
Article says:
```text
…io_method=worker and io_workers=3…
```
What is true:
PostgreSQL 18.0 defaults io_method to worker and io_workers to 3. These defaults do not establish that pg_basebackup uses AIO.
Charitable reading:
The default values are separate from the claimed backup speedup.
Review: We separated configuration defaults from backup behavior. PostgreSQL 18.0 documents worker and initializes io_workers to 3. The accurate verdict concerns those defaults only. We checked the documented method default and the worker-count initializer. Both match the article's PostgreSQL 18 settings.

Sources:
- [REL_18_0 · doc/src/sgml/config.sgml:2778-2785](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/config.sgml#L2778-L2785)
  Excerpt:
  ```text
  The default is <literal>worker</literal>.
        </para>
        <para>
         This parameter can only be set at server start.
  ```
- [REL_18_0 · src/backend/utils/misc/guc_tables.c:3309-3317](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/utils/misc/guc_tables.c#L3309-L3317)
  Excerpt:
  ```text
  {"io_workers",
			PGC_SIGHUP,
			RESOURCES_IO,
			gettext_noop("Number of IO worker processes, for io_method=worker."),
			NULL,
		},
		&io_workers,
		3, 1, MAX_IO_WORKERS,
		NULL, NULL, NULL
  ```
- [REL_18_0 · src/backend/utils/misc/guc_tables.c:5412-5419](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/utils/misc/guc_tables.c#L5412-L5419)
  Excerpt:
  ```text
  {"io_method", PGC_POSTMASTER, RESOURCES_IO,
			gettext_noop("Selects the method for executing asynchronous I/O."),
			NULL
		},
		&io_method,
		DEFAULT_IO_METHOD, io_method_options,
		NULL, assign_io_method, NULL
	},
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F6

### F7 · Accurate · Factual · primary_conninfo configures the streaming connection
Location: excerpt · section “Finalization” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=primary_conninfo%20%3D%20%27user%3D%27%27%24REPLICATION_USER%27%27%20host%3D%27%27%24PRIMARY%27%27%20application_name%3D%27%27%24HOSTNAME%27%27%20%27)
Article says:
```text
…primary_conninfo = 'user=''$REPLICATION_USER'' host=''$PRIMARY'' application_name=''$HOSTNAME'' '…
```
What is true:
primary_conninfo supplies the standby connection string. Recovery passes it to RequestXLogStreaming. Slot selection remains a separate primary_slot_name setting.
Charitable reading:
This verifies the connection setting, not WAL availability or the complete bootstrap procedure.
Review: We checked whether the finding certified the entire bootstrap procedure. It only verifies primary_conninfo. RequestXLogStreaming receives the connection string and slot name separately. We checked whether connection configuration also selects a slot. E-5 passes PrimaryConnInfo and PrimarySlotName separately, as the finding states.

Sources:
- [REL_18_0 · doc/src/sgml/config.sgml:4911-4915](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/config.sgml#L4911-L4915)
  Excerpt:
  ```text
  Specifies a connection string to be used for the standby server
          to connect with a sending server. This string is in the format
          described in <xref linkend="libpq-connstring"/>. If any option is
  ```
- [REL_18_0 · src/backend/access/transam/xlogrecovery.c:3869-3874](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/access/transam/xlogrecovery.c#L3869-L3874)
  Excerpt:
  ```text
  RequestXLogStreaming(tli, ptr, PrimaryConnInfo,
											 PrimarySlotName,
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F7

### F8 · Accurate · Factual · application_name accepts the replica hostname label
Location: excerpt · section “Finalization” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=application_name%3D%27%27%24HOSTNAME%27%27)
Article says:
```text
…application_name=''$HOSTNAME''…
```
What is true:
application_name labels the connection in statistics and logs. The supplied hostname assignment uses that setting for the replica connection.
Charitable reading:
An ordinary hostname fits the intended connection label.
Review: We tested whether the hostname assignment implied unsupported replication behavior. It supplies an application label. PostgreSQL documents that label for statistics and logs. We checked the setting's stated purpose. E-25 confirms that application_name labels the connection in statistics and logs.

Sources:
- [REL_18_0 · src/backend/utils/misc/guc_tables.c:4875-4877](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/utils/misc/guc_tables.c#L4875-L4877)
  Excerpt:
  ```text
  {"application_name", PGC_USERSET, LOGGING_WHAT,
			gettext_noop("Sets the application name to be reported in statistics and logs."),
			NULL,
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F8

### F9 · Accurate · Factual · Streaming replication does not require restore_command
Location: excerpt · section “Finalization” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=No%20restore_command%20needed%20for%20streaming%20replication)
Article says:
```text
…No restore_command needed for streaming replication…
```
What is true:
PostgreSQL 18.0 makes restore_command optional for streaming replication. Recovery accepts its absence. Streaming still requires the primary to retain every needed WAL segment.
Charitable reading:
An archive command can provide another WAL source. It does not replace retention requirements.
Review: We checked archive recovery requirements against streaming requirements. PostgreSQL explicitly makes restore_command optional for streaming. The finding preserves the required-WAL qualification. We checked whether recovery requires restore_command. Both documentation and code allow its absence during streaming replication.

Sources:
- [REL_18_0 · doc/src/sgml/config.sgml:4030-4033](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/config.sgml#L4030-L4033)
  Excerpt:
  ```text
  The local shell command to execute to retrieve an archived segment of
        the WAL file series. This parameter is required for archive recovery,
        but optional for streaming replication.
  ```
- [REL_18_0 · src/backend/access/transam/xlogarchive.c:70-77](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/access/transam/xlogarchive.c#L70-L77)
  Excerpt:
  ```text
  /* In standby mode, restore_command might not be supplied */
	if (recoveryRestoreCommand == NULL || strcmp(recoveryRestoreCommand, "") == 0)
		goto not_available;
  ```
- [REL_18_0 · doc/src/sgml/high-availability.sgml:643-646](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/high-availability.sgml#L643-L646)
  Excerpt:
  ```text
  fails, it tries to restore any WAL available in the <filename>pg_wal</filename> directory.
    If that fails, and streaming replication has been configured, the
    standby tries to connect to the primary server and start streaming WAL
    from the last valid record found in archive or <filename>pg_wal</filename>. If that fails
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F9

### F14 · Accurate · Factual · pg_basebackup supports standby creation
Location: excerpt · section “pg_basebackup is single-threaded” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=The%20standard%20approach%20to%20creating%20a%20Postgres%20replica%20uses%20pg_basebackup)
Article says:
```text
…The standard approach to creating a Postgres replica uses pg_basebackup…
```
What is true:
PostgreSQL 18 documents pg_basebackup output for standby setup. doc/src/sgml/ref/pg_basebackup.sgml:237 describes the recovery connection settings written by --write-recovery-conf.
Charitable reading:
Standard means a supported built-in approach, without claiming that every deployment uses it.
Review: We read standard as a supported built-in approach, not a deployment-frequency claim. PostgreSQL 18 explicitly documents pg_basebackup output for standby setup. We checked whether the documentation supports standby creation. E-42 explicitly describes setting up a standby from pg_basebackup output.

Sources:
- [REL_18_0 · doc/src/sgml/ref/pg_basebackup.sgml:237-240](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/ref/pg_basebackup.sgml#L237-L240)
  Excerpt:
  ```text
  connection settings to the <filename>postgresql.auto.conf</filename>
        file in the target directory (or within the base archive file when
        using tar format).  This eases setting up a standby server using the
        results of the backup.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F14

## Notes (not graded) (4)

### F1 · Note ·  · Note: “…This prevents WAL files from being removed before the replica consumes them…”
Location: excerpt · section “Finalization” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=This%20prevents%20WAL%20files%20from,before%20the%20replica%20consumes%20them)
Article says:
```text
…This prevents WAL files from being removed before the replica consumes them…
```
What is true:
The illustrated slot does not reserve WAL immediately, and the configuration omits primary_slot_name. Required WAL can disappear before streaming starts. E-40 documents possible reinitialization, not silent wrong results. F13 covers this same recipe defect.
So what:
Reserve WAL before backup with immediately_reserve=true, and set primary_slot_name to the same slot on the replica.
Explanation: Not graded: no reader would act differently on it.
Review: The slot defect stands, but silent wrong results do not follow from these citations. E-40 establishes possible reinitialization. F13 already charges this same defect. The slot defect stands. E-40 supports failed recovery and another backup, not silent incorrect results. F13 already charges this defect.

Sources:
- [REL_18_0 · doc/src/sgml/func.sgml:29576-29584](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/func.sgml#L29576-L29584)
  Excerpt:
  ```text
  <parameter>slot_name</parameter>. The optional second parameter,
        when <literal>true</literal>, specifies that the <acronym>LSN</acronym> for this
        replication slot be reserved immediately; otherwise
        the <acronym>LSN</acronym> is reserved on first connection from a streaming
        replication client. Streaming changes from a physical slot is only
  ```
- [REL_18_0 · src/backend/replication/slotfuncs.c:46-51](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/replication/slotfuncs.c#L46-L51)
  Excerpt:
  ```text
  if (immediately_reserve)
	{
		/* Reserve WAL as the user asked for it */
		if (XLogRecPtrIsInvalid(restart_lsn))
			ReplicationSlotReserveWal();
		else
  ```
- [REL_18_0 · doc/src/sgml/config.sgml:4958-4961](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/config.sgml#L4958-L4961)
  Excerpt:
  ```text
  Optionally specifies an existing replication slot to be used when
          connecting to the sending server via streaming replication to control
          resource removal on the upstream node
          (see <xref linkend="streaming-replication-slots"/>).
  ```
- [REL_18_0 · doc/src/sgml/high-availability.sgml:787-790](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/high-availability.sgml#L787-L790)
  Excerpt:
  ```text
  If you use streaming replication without file-based continuous
    archiving, the server might recycle old WAL segments before the standby
    has received them.  If this occurs, the standby will need to be
    reinitialized from a new base backup.  You can avoid this by setting
  ```
- [REL_18_0 · src/backend/access/transam/xlogrecovery.c:3869-3874](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/access/transam/xlogrecovery.c#L3869-L3874)
  Excerpt:
  ```text
  RequestXLogStreaming(tli, ptr, PrimaryConnInfo,
											 PrimarySlotName,
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F1

### F12 · Note ·  · Note: “…no checksum verification for maximum throughput…”
Location: excerpt · section “Performance benchmarks” · as fetched 2026-10-27 · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=no%20checksum%20verification%20for%20maximum%20throughput)
Article says:
```text
…no checksum verification for maximum throughput…
```
What is true:
pgBackRest 2.57.0 enables page validation automatically when the cluster has checksums. A cluster without checksums satisfies the stated condition without checksum-page=n. The article does not document the cluster checksum state, so we cannot independently confirm that benchmark condition.
So what:
Record data_checksums and the effective checksum-page option before comparing checksum-enabled and checksum-disabled benchmark runs.
Explanation: Not graded: no reader would act differently on it.
Review: E-36 makes validation conditional on the cluster checksum state. The article's stated checksum-free condition remains compatible with that code. Missing configuration detail supports a reproducibility note. E-36 makes validation conditional on cluster checksums. A checksum-disabled cluster satisfies the article's claim. Missing configuration details do not prove incorrect benchmark conditions.

Sources:
- [pgbackrest@release/2.57.0 · src/command/backup/backup.c:248-254](https://github.com/pgbackrest/pgbackrest/blob/d9773a31c97077761ee8e7d06e073b0b0734e26f/src/command/backup/backup.c#L248-L254)
  Excerpt:
  ```text
  // If checksum page is not explicitly set then automatically enable it when checksums are available
    if (!cfgOptionTest(cfgOptChecksumPage))
    {
        // If online then use the value in pg_control to set checksum-page
        if (cfgOptionBool(cfgOptOnline))
        {
            cfgOptionSet(cfgOptChecksumPage, cfgSourceParam, VARBOOL(pgControl.pageChecksumVersion != 0));
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F12

### F15 · Note ·  · pgBackRest 2.55.0 introduced experimental PostgreSQL 18 support
Location: Article · exact quote · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=Use%20a%20recent%20version%20%282.55%2B%29%20to%20ensure%20PostgreSQL%2018%20support)
Article says:
```text
Use a recent version (2.55+) to ensure PostgreSQL 18 support…
```
What is true:
The 2.55.0 release notes label PostgreSQL 18 support experimental. doc/xml/release/2025/2.55.0.xml:103 records that qualification. The article's R&D framing makes this a qualification rather than proof of an invalid minimum version.
Charitable reading:
The article describes an R&D exercise. Experimental PostgreSQL 18 support can satisfy that purpose.
Explanation: Not graded: no reader would act differently on it.
Review: We checked the claimed minimum version directly. Release 2.55.0 labels PostgreSQL 18 support experimental. The note correctly avoids converting that qualification into incompatibility. We checked the stated minimum release. E-45 says experimental PostgreSQL 18 support. The finding correctly preserves this as a qualification.

Sources:
- [pgbackrest@release/2.55.0 · doc/xml/release/2025/2.55.0.xml:103-103](https://github.com/pgbackrest/pgbackrest/blob/6c90196e74ef0da38568f08fd7cb234d10130e79/doc/xml/release/2025/2.55.0.xml#L103-L103)
  Qualification: Version note: Checked the article's stated minimum version.
  Excerpt:
  ```text
  <p><proper>PostgreSQL</proper> 18 experimental support.</p>
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F15

### F16 · Note ·  · Native process priority shipped in pgBackRest 2.58.0
Location: Article · exact quote · [open in article](https://postgres.ai/blog/20251105-postgres-marathon-2-012-ultra-fast-replica-creation-pgbackrest#:~:text=PR%20%232693%20adding%20native%20process%20priority%20support%20to%20pgBackRest.)
Article says:
```text
…PR #2693 adding native process priority support to pgBackRest.
```
What is true:
pgBackRest 2.58.0 shipped process priority on January 19, 2026. doc/xml/release/2020s/2026/2.58.0.xml:97 records the feature. The priority option accepts values from -20 through 19. The article's external renice workaround remains usable.
So what:
On pgBackRest 2.58.0 or later, consider --priority=19 instead of repeatedly invoking renice.
Charitable reading:
The article credits a proposed improvement. It does not claim that external renice remains necessary in every later version.
Explanation: Not graded: no reader would act differently on it.
Review: We checked for anachronistic criticism. The finding explicitly dates the later feature and retains the external workaround. Release 2.58.0 confirms the date and priority range. We checked the later release date and option range. The finding separates later feature delivery from publication-time advice and private attribution.

Sources:
- [pgbackrest@release/2.58.0 · doc/xml/release/2020s/2026/2.58.0.xml:97-97](https://github.com/pgbackrest/pgbackrest/blob/d50cfa9ee0b0b921fb6823165c65f23ff5fed0fc/doc/xml/release/2020s/2026/2.58.0.xml#L97-L97)
  Qualification: Version note: Later release checked for feature delivery.
  Excerpt:
  ```text
  <p>Allow process priority to be set.</p>
  ```
- [pgbackrest@release/2.58.0 · doc/xml/release/2020s/2026/2.58.0.xml:1-1](https://github.com/pgbackrest/pgbackrest/blob/d50cfa9ee0b0b921fb6823165c65f23ff5fed0fc/doc/xml/release/2020s/2026/2.58.0.xml#L1-L1)
  Excerpt:
  ```text
  <release date="2026-01-19" version="2.58.0" title="Object Storage Improvements">
  ```
- [pgbackrest@release/2.58.0 · src/build/config/config.yaml:863-867](https://github.com/pgbackrest/pgbackrest/blob/d50cfa9ee0b0b921fb6823165c65f23ff5fed0fc/src/build/config/config.yaml#L863-L867)
  Excerpt:
  ```text
  priority:
    section: global
    type: integer
    required: false
    allow-range: [-20, 19]
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2#F16

## Withdrawn findings (0)

None.

## Section checks

- pg_basebackup limitations · B+ · 1 misleading · 2 verified-accurate · 93% of claims (14 of 15, plus 2 that need data we do not have)
- Prerequisites · A · 1 imprecise · 83% of claims (5 of 6)
- Finalization · D · 1 dangerous-recipe · 3 verified-accurate · 82% of claims (14 of 17, plus 4 that need data we do not have)
- Performance benchmarks · B · 1 inaccuracy · 1 recipe error (fails loudly) · 100% of claims (17 of 17, plus 6 that need data we do not have)
- Analysis · B- · 2 inaccuracy · 2 imprecise · 81% of claims (13 of 16, plus 6 that need data we do not have)
- Acknowledgments · A · none · no checkable claims

## Claim coverage

- Introduction: 1 of 1 Postgres claims checked, plus 2 that need data we do not have; not counted: 5 not a claim
- pg_basebackup limitations: 14 of 15 Postgres claims checked, plus 2 that need data we do not have; not counted: 4 duplicate; not checked: 1 for other reasons
- pgBackRest alternative: 1 of 4 Postgres claims checked, plus 1 that need data we do not have; not checked: 3 for other reasons
- Prerequisites: 5 of 6 Postgres claims checked; not checked: 1 for other reasons
- Configuration: 15 of 19 Postgres claims checked, plus 5 that need data we do not have; not counted: 1 not a claim; not checked: 4 for other reasons
- Execution: 6 of 9 Postgres claims checked, plus 4 that need data we do not have; not counted: 2 duplicate; not checked: 3 for other reasons
- Finalization: 14 of 17 Postgres claims checked, plus 4 that need data we do not have; not counted: 1 duplicate; not checked: 3 for other reasons
- Performance benchmarks: 17 of 17 Postgres claims checked, plus 6 that need data we do not have; not counted: 3 product or opinion, 1 not a claim
- Analysis: 13 of 16 Postgres claims checked, plus 6 that need data we do not have; not counted: 1 product or opinion, 15 duplicate, 1 not a claim; not checked: 3 for other reasons
- Practical considerations: 1 of 1 Postgres claims checked, plus 3 that need data we do not have; not counted: 4 product or opinion, 4 duplicate, 2 not a claim
- When to use pg_basebackup: 6 claims are the author's own account; nothing checkable; not counted: 2 product or opinion, 1 duplicate
- Future work: 4 of 5 Postgres claims checked, plus 3 that need data we do not have; not counted: 6 product or opinion, 5 duplicate, 3 not a claim; not checked: 1 for other reasons
- Key takeaways: 1 of 2 Postgres claims checked; not counted: 7 duplicate; not checked: 1 for other reasons
- Acknowledgments: no checkable claims; not counted: 1 product or opinion, 2 not a claim

## What we did not check

- We did not reproduce the throughput measurements or inspect their network and process counters.
- We did not verify direct repository moves with tablespaces, symlinks, or a changing primary.
- We did not check shell failure handling, cron scheduling, kernel cache flushing, or SSH limits.
- We did not validate the process-count and storage recommendations across different workloads.
- We did not reproduce the benchmark measurements or inspect the original timing and network-counter records.
- We did not verify the benchmark hosts, cache conditions, or cluster checksum settings.
- We could not retrieve the linked io_method and io_workers reference pages or the article's edit page.
- We did not reach Maxim Boguk's linked professional profile.
- We did not reproduce the benchmark timings, database size, row count, or storage comparison.
- We did not verify the 8.5 GiB/s network-counter measurement.
- We did not verify the pre-18 throughput range or tests on 1–8 Gbps networks.
- We did not establish the maximum io_workers value in PostgreSQL 18.
- Factual: we did not complete every applicable check.
- Section “pgBackRest alternative”: we checked 1 of 5 checkable claims.
- Section “Key takeaways”: we checked 1 of 2 checkable claims.
- We could not decide whether the published benchmark details are complete.
- We could not decide whether the article depends on finding F3.
- We could not decide whether the article depends on finding F4.
- We could not decide whether the article depends on finding F18.
- We hold no source mapping for “postgres-ai/docs”, so we did not check the article's claims about its code.

## Notes

- D+ — the findings address the article's main subject. What we did not check is listed below. We checked the replica setup, transfer settings, performance explanations, and throughput arithmetic against PostgreSQL 18.0 and pgBackRest 2.57.0.
- We did not check everything in this article. What we did not check is listed below, in the words we recorded at the time. None of it moved the letter. We never charge our own limits to the article.
- Average of 5 axes: 2.6 · benchmark not reproducible, one step off (no code) · worst of factual, consistent, safe: D · result D+
- Some explanatory text is not shown in this edition; the grade and findings are complete.
- Some checks did not happen for this edition, and each one we know of is listed above.
- Checked against: github.com/postgres/postgres REL_18_0 at commit 3d6a828938a5fa0444275d3d2f67b64ec3199eb7 (pinned target); github.com/pgbackrest/pgbackrest release/2.57.0 at commit d9773a31c97077761ee8e7d06e073b0b0734e26f (pinned target); https://postgres.ai/blog/tags/cloning (fetched 2026-10-27T03:06:37.440522Z); https://postgres.ai/blog/tags/performance (fetched 2026-10-27T03:06:39.115018Z); https://postgres.ai/blog/tags/pg-back-rest (fetched 2026-10-27T03:06:38.216886Z); https://postgres.ai/blog/tags/postgres-insights (fetched 2026-10-27T03:06:35.815051Z); https://postgres.ai/blog/tags/postgres-marathon (fetched 2026-10-27T03:06:36.596906Z); https://www.postgresql.org/docs/18/runtime-config-resource.html (fetched 2026-10-27T03:06:25.864947Z); https://www.postgresql.org/message-id/CADM=Jeg3ZN+kPQpiSfeWCXr=xgpLrq4cBQE5ZviUxygKq3VqiA@mail.gmail.com (fetched 2026-10-27T03:06:32.646949Z); https://www.postgresql.org/message-id/CAEHH7R5sBCRyiu5_qanE741VWGE-LPbVnCdxJZh2U1y1BRPW7A@mail.gmail.com (fetched 2026-10-27T03:06:30.577618Z).
- Article captured 2026-10-27T03:06:02.952118Z · SHA-256 829a765403251ee43eb49c665efbae84eae9c09b261a032513f5cf4cc29cd46c · Text extracted from the article's HTML.
- Policy SHA-256 788b12ce1e8c54431283dc060327de535e6c78515e77cb1b9a088a32d9e82f8e · Grading rules SHA-256 6fb334e79d6b9e7ed81d3238cc10d9de602ff87ed65ff2fa781f53bac5798765.
- We did not reproduce the benchmark timings or inspect the original process and network-counter records.
- We did not verify the benchmark hosts, cache conditions, database size, row count, or cluster checksum settings.
- We did not verify direct repository moves with tablespaces, symlinks, or a changing primary.
- We did not validate the process-count and storage recommendations across different workloads.
- We did not check shell failure handling, cron scheduling, kernel cache flushing, or SSH limits.
- We did not verify the pre-18 throughput range, tests on 1–8 Gbps networks, or the maximum io_workers value.
- The extracted article text omits the performance visualization. We did not assess that figure.
- We could not retrieve the linked io_method and io_workers reference pages, article edit page, or Maxim Boguk's professional profile.
- The article gives November 5, 2025, without a publication time. We list that date at midnight UTC.
- The article describes an idle-system research exercise and explicitly disclaims production-ready automation.
- article target version: bound to the most-cited major; also named 17 (1×)
- source: postgres 18 was read at REL_18_0, its newest release when the article was published
- source: the article names no pgbackrest release, so it was read at release/2.57.0, the latest release when it was published
- source: we did not check the article's claims about a linked GitLab project against its source code, because we keep no copy of it
- One fetched page is not listed above, because our policy does not allow linking it.
- review: the findings were written by one model and reviewed independently by a different model.
- 4 passages in this edition fell short of our own plain-English rules.
- Built from the article text captured above, 2 pinned source trees, and 8 fetched pages.
- 15 survived · 3 weakened · 0 withdrawn.

## Edition changes

- F1 · weakened.
- F2 · recalibrated.
- F3 · recalibrated.
- F4 · recalibrated.
- F5 · recalibrated.
- F6 · recalibrated.
- F7 · recalibrated.
- F8 · recalibrated.
- F9 · recalibrated.
- F10 · recalibrated.
- F12 · weakened.
- F13 · recalibrated.
- F14 · recalibrated.
- F15 · recalibrated.
- F16 · recalibrated.
- F17 · weakened.
- F18 · recalibrated.
- F19 · recalibrated.

## Revision history

- [Revision 1](https://pgtrue.postgres.ai/shared/brief/9f32e744-4150-4ff0-a747-4aea251c27d2?v=2) · this page · 2026-10-27 03:06 UTC · D+ · audited with v1.1.0 (approx.)
  Article as first submitted. 5 accurate · 5 wrong · 3 caveats.
  ElephantSeal: D+. Open: the benchmark cannot yet be rerun from what is published; the production risk is not yet fixed or warned about.
  Changes: First audit. Open: F3 “compress-type=none leaves network compression enabled” (false); F4 “Full backups do not omit zero-filled file regions” (false); F18 “The compressed 128-process speedup is 7.48×, not 8.1×” (false); F13 “The illustrated replication slot does not protect WAL” (dangerous); F5 “Benchmark commands omit the temporary configuration” (recipe error); F2 “PostgreSQL 18 AIO does not accelerate this backup read path” (misleading); F10 “The SQL prerequisite checks a different database role” (mostly accurate); F17 “…pgBackRest 32 101 10.13 35.61 9.4x…” (mostly accurate); F19 “Scaling efficiency through 16 processes is 88%, not 96%” (mostly accurate).

Updated your article? Request a correction. A new edition appears at this address.