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 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/d6f65898-104d-4748-8255-ec4b3cdc84c3.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3)
<a href="https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3"><img src="https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3.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/d6f65898-104d-4748-8255-ec4b3cdc84c3.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3)
<a href="https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3"><img src="https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3.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/d6f65898-104d-4748-8255-ec4b3cdc84c3.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3)
<a href="https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3"><img src="https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3.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/d6f65898-104d-4748-8255-ec4b3cdc84c3.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/radar.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3)
<a href="https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3"><img src="https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/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/d6f65898-104d-4748-8255-ec4b3cdc84c3/radar.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/radar.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/radar.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3)
<a href="https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3"><img src="https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/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/d6f65898-104d-4748-8255-ec4b3cdc84c3/radar.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/radar.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/radar.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3)
<a href="https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3"><img src="https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/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/d6f65898-104d-4748-8255-ec4b3cdc84c3/radar.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/radar.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/wide.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3)
<a href="https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3"><img src="https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/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/d6f65898-104d-4748-8255-ec4b3cdc84c3/wide.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/wide.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/wide.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3)
<a href="https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3"><img src="https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/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/d6f65898-104d-4748-8255-ec4b3cdc84c3/wide.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/wide.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/wide.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3)
<a href="https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3"><img src="https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/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/d6f65898-104d-4748-8255-ec4b3cdc84c3/wide.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/d6f65898-104d-4748-8255-ec4b3cdc84c3/wide.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3
   :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

Problems with large tables in Postgres — PlanetScale (opens in new tab)

planetscale.com
Don't run its recipes as written: one can do harm. Step: “You can drop old or bloated partitions instead of compacting them.”. 6 claims are wrong in all.
1
inaccuracy
1
dangerous-recipe
5
misleading
0
imprecise
0
transcription
0
aged
0
withdrawn
13
verified-accurate

Central claim not verified: choosing sharding, partitioning, or larger instances for large PostgreSQL tables. We could not verify this, and the article gives no method to reproduce it.

Factual A · Applicable B · Consistent B+ · Transparent A · Safe D

ReportTechnical fact-check, edition 3 pgTrue versionaudited with v1.0.17 (approx.) · regraded with v1.1.3 Issued EditionUpdated after review. Corrections are listed below. SubmittedSubmitted by the PostgresAI team. Author responseNo written reply from the author. We re-audited this article 3 times; see Revisions below. Policy: right-of-reply and corrections policy.

Inaccuracies

F1

pg_squeeze needs more spare disk than one partition's size

INACCURATESafe · holds up after review

Claim ledger

Article says
…the spare disk you need to run squeeze is the size of a partition…
What is true
pg_squeeze documents additional free space around twice the target table-and-index size. README.md:379-382 gives that requirement. Processing one partition reduces the target, but does not remove the multiplier or its indexes. The article's estimate can leave a squeeze unable to finish.
So what
Budget roughly twice the target partition-and-index size in additional disk space before starting pg_squeeze.
Charitable reading
Partitioning reduces the unit of work. That does not establish the stated free-space amount.

Source

Source · pg_squeeze@REL1_9_4 · README.md:379-382Performing a full-table squeeze requires free disk space about twice as large as the target table and its indexes. For example, if the total size of the tables and indexes to be squeezed is 1GB, an additional 2GB of disk space is required.
In the article · section “Wasted time on incomplete repacking”

In the article

excerpt · section “Wasted time on incomplete repacking” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Wasted time on incomplete repacking

Partitioning creates more, smaller heaps. So a wasted pass is cheaper and can be retried sooner. Squeeze is per partition, so the spare disk you need to run squeeze is the size of a partition, not the whole table.

All sources and excerpts · 1
EvidencePerforming a full-table squeeze requires free disk space about twice as large as the target table and its indexes. For example, if the total size of the tables and indexes to be squeezed is 1GB, an additional 2GB of disk space is required.

Version note: The article names no pg_squeeze version. We checked release 1.9.4.

How the review tested this

Review: We tested whether the sentence only compares partition size with table size. Its explicit spare-space estimate still omits the documented multiplier. E-14 specifies additional space, so counting existing storage cannot reconcile the figures. The release limitation is already disclosed. We tested whether partition size merely identified the processing unit. The explicit spare-space estimate omits the documented multiplier and indexes. The article names no extension version. The finding discloses its 1.9.4 check.

Dangerous or recipe bugsNone in this edition.

Misleading / imprecise

F2

Misleading: “…a long query anywhere on the cluster still pins every partition.”

MISLEADINGConsistent · partly holds after review

Claim ledger

Article says
…a long query anywhere on the cluster still pins every partition.
What is true
Ordinary user-table cleanup normally ignores sessions connected to other databases. procarray.c:1796-1802 checks database identity and explicit exceptions. Shared relations use a broader horizon. An ordinary query in another database does not automatically pin every partition.
So what
Check old snapshots in the affected database before terminating sessions in other databases or choosing sharding for horizon isolation.

Source

Source · REL_19_STABLE@48b43081e5 · src/backend/storage/ipc/procarray.c:1778-1779* Normally sessions in other databases are ignored for anything but * the shared horizon.
In the article · section “Wasted time on incomplete repacking”

In the article

excerpt · section “Wasted time on incomplete repacking” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Wasted time on incomplete repacking

Splitting the table does not split the snapshot horizon. xmin is still cluster-wide, so a long query anywhere on the cluster still pins every partition.

All sources and excerpts · 2
Evidence * Normally sessions in other databases are ignored for anything but * the shared horizon.
Evidence if (proc->databaseId == MyDatabaseId || MyDatabaseId == InvalidOid || (statusFlags & PROC_AFFECTS_ALL_HORIZONS) || in_recovery) { h->data_oldest_nonremovable = TransactionIdOlder(h->data_oldest_nonremovable, xmin);
How the review tested this

Review: We tested the same-database reading. The article explicitly says anywhere in the cluster. The excerpts establish database filtering and exceptions, but do not identify hot-standby feedback.

F3

A later vacuum need not rescan the entire heap

MISLEADINGConsistent · holds up after review

Claim ledger

Article says
Vacuum will need to walk the entire table again later.
What is true
Vacuum skips heap blocks that need no processing. vacuumlazy.c:1645-1648 uses the visibility map and scan thresholds to select blocks. An old snapshot can leave some tuples unreclaimable without invalidating completed work on other pages. Another full heap scan is possible, rather than mandatory.
So what
Inspect vacuum's scanned and skipped pages before treating a completed pass as discarded work or repartitioning to avoid full rescans.
Charitable reading
Dead tuples on every page can require another complete scan. The article presents that scan as required after a constrained pass.

Source

Source · REL_19_STABLE@48b43081e5 · src/backend/access/heap/vacuumlazy.c:1645-1648* heap_vac_scan_next_block() uses the visibility map, vacuum options, and * various thresholds to skip blocks which do not need to be processed and * returns the next block to process or InvalidBlockNumber if there are no * remaining blocks.
In the article · section “Wasted time on incomplete repacking”

In the article

excerpt · section “Wasted time on incomplete repacking” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Wasted time on incomplete repacking

But a slow vacuum on a large table may have wasted its time to completion. Many of the rows it found to remove may still be required by transactions that started before vacuum finished and haven't completed yet. Vacuum will need to walk the entire table again later.

All sources and excerpts · 2
Evidence * heap_vac_scan_next_block() uses the visibility map, vacuum options, and * various thresholds to skip blocks which do not need to be processed and * returns the next block to process or InvalidBlockNumber if there are no * remaining blocks.
Evidence page is again modified). This has two purposes. First, vacuum itself can skip such pages on the next run, since there is nothing to clean up.
How the review tested this

Review: We considered a workload with unreclaimable tuples on every page. That can require another full scan, which the finding allows. E-37 confirms that completed work can permit page skipping on later runs. We tested the case where every page still needs work. A full scan remains possible. Visibility-map skipping disproves its necessity without denying snapshot-related cleanup delays.

F4

Crossing roughly 2 kB does not guarantee out-of-line storage

MISLEADINGApplicable · holds up after review

Claim ledger

Article says
If a row exceeds ~2KB, oversized values go to TOAST…
What is true
Default EXTENDED storage tries inline compression before external storage. storage.sgml:467-470 documents that order. heaptoast.c:162-167 implements separate compression and external-storage stages. A row initially exceeding roughly 2 kB can compress enough to remain inline, without adding an external value to vacuum.
So what
Measure actual TOAST relation size and compression before partitioning or sharding rows merely because their uncompressed size exceeds 2 kB.
Charitable reading
TOAST can name the whole compression mechanism. The surrounding sentence specifically describes storage in a separate table.

Source

Source · REL_19_STABLE@48b43081e5 · doc/src/sgml/storage.sgml:467-470<literal>EXTENDED</literal> allows both compression and out-of-line storage. This is the default for most <acronym>TOAST</acronym>-able data types. Compression will be attempted first, then out-of-line storage if the row is still too big.
In the article · section “Wide tables split across pages and files”

In the article

excerpt · section “Wide tables split across pages and files” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Wide tables split across pages and files

If a row exceeds ~2KB, oversized values go to TOAST, a separate table and indexes next to the heap you are already struggling to vacuum.

All sources and excerpts · 2
Evidence <literal>EXTENDED</literal> allows both compression and out-of-line storage. This is the default for most <acronym>TOAST</acronym>-able data types. Compression will be attempted first, then out-of-line storage if the row is still too big.
Evidence * 1: Inline compress attributes with attstorage EXTENDED, and store very * large attributes with attstorage EXTENDED or EXTERNAL external * immediately * 2: Store attributes with attstorage EXTENDED or EXTERNAL external * 3: Inline compress attributes with attstorage MAIN * 4: Store attributes with attstorage MAIN external
How the review tested this

Review: We tested whether TOAST means compression generally. The surrounding article explicitly describes a separate table. E-18 permits compression to avoid external storage, while E-19 confirms the implementation stages. We tested whether TOAST included inline compression here. The surrounding article identifies a separate table. EXTENDED storage permits compression that avoids external storage, which supports the narrower correction.

F5

Misleading: “…make every write touch more files.”

MISLEADINGApplicable · partly holds after review

Claim ledger

Article says
…make every write touch more files.
What is true
HOT updates can skip ordinary index maintenance. heapam.c:4365-4373 selects TU_None or TU_Summarizing for HOT updates, rather than TU_All. Additional indexes do not make every write update additional index files. This excerpt does not establish HOT eligibility conditions.
So what
Check HOT update rates and indexed update columns before dropping useful indexes or choosing sharding to reduce update amplification.

Source

Source · REL_19_STABLE@48b43081e5 · src/backend/access/heap/heapam.c:4365-4373if (use_hot_update) { if (summarized_update) *update_indexes = TU_Summarizing; else *update_indexes = TU_None; } else *update_indexes = TU_All;
In the article · section “Too many indexes”

In the article

excerpt · section “Too many indexes” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Too many indexes

To keep queries fast, you keep adding indexes to the table. While indexes make queries fast, they aren't free. They take disk, get vacuumed, get backed up, and make every write touch more files.

All sources and excerpts · 1
Evidence if (use_hot_update) { if (summarized_update) *update_indexes = TU_Summarizing; else *update_indexes = TU_None; } else *update_indexes = TU_All;
How the review tested this

Review: We tested the general index-cost reading against every write. E-20 establishes HOT exceptions. It does not establish how update columns and page space determine HOT eligibility.

F6

PostgreSQL has no hundreds-of-GB cache ceiling

MISLEADINGApplicable · holds up after review

Claim ledger

Article says
…you're still not putting a hundreds-of-GB table into cache.
What is true
Cache capacity depends on configured memory and available RAM. guc_parameters.dat:2711-2718 permits shared_buffers values above hundreds of GiB with default-size blocks. PostgreSQL also uses the operating-system cache. A sufficiently large instance can cache such a table. Sharding is not required to make that capacity possible.
So what
Compare the active working set and relation sizes with available RAM before rejecting a larger instance in favor of sharding.
Charitable reading
A table can exceed the current machine's cache. The sentence rejects caching even after buying additional RAM.

Source

Source · REL_19_STABLE@48b43081e5 · src/backend/utils/misc/guc_parameters.dat:2711-2718{ name => 'shared_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM', short_desc => 'Sets the number of shared memory buffers used by the server.', flags => 'GUC_UNIT_BLOCKS', variable => 'NBuffers', boot_val => '16384', min => '16', max => 'INT_MAX / 2', },
In the article · section “Slow queries hold connections longer”

In the article

excerpt · section “Slow queries hold connections longer” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Slow queries hold connections longer

Buy all the RAM and CPU you like with vertical scaling , but you're still not putting a hundreds-of-GB table into cache. You cannot spend your way out of inefficient connection handling.

All sources and excerpts · 4
Evidence{ name => 'shared_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM', short_desc => 'Sets the number of shared memory buffers used by the server.', flags => 'GUC_UNIT_BLOCKS', variable => 'NBuffers', boot_val => '16384', min => '16', max => 'INT_MAX / 2', },
Evidence reasonable starting value for <varname>shared_buffers</varname> is 25% of the memory in your system. There are some workloads where even larger settings for <varname>shared_buffers</varname> are effective, but because <productname>PostgreSQL</productname> also relies on the operating system cache, it is unlikely that an allocation of more than 40% of RAM to <varname>shared_buffers</varname> will work better than a smaller amount. Larger settings for <varname>shared_buffers</varname>
Evidence{ name => 'shared_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM', short_desc => 'Sets the number of shared memory buffers used by the server.', flags => 'GUC_UNIT_BLOCKS', variable => 'NBuffers', boot_val => '16384', min => '16', max => 'INT_MAX / 2', },
Evidence If you have a dedicated database server with 1GB or more of RAM, a reasonable starting value for <varname>shared_buffers</varname> is 25% of the memory in your system. There are some workloads where even larger settings for <varname>shared_buffers</varname> are effective, but because <productname>PostgreSQL</productname> also relies on the operating system cache, it is unlikely that an allocation of more than 40% of RAM to <varname>shared_buffers</varname> will work better than a
How the review tested this

Review: We tested whether the statement only concerns the existing machine. The preceding hardware-upgrade claim rules out that reading. E-21 permits larger caches, and E-22 also identifies operating-system caching. The finding makes no cost-performance promise. We tested a reading limited to the current machine. The article explicitly discusses buying more RAM. The buffer limit and operating-system cache support capacity beyond hundreds of GiB, without proving economic benefits.

Verified accurate

F7

PostgreSQL 17 uses the stated 20% scale factor

ACCURATEFactual · holds up after review

Claim ledger

Article says
On Postgres 17, the default trigger is 20% of the table.
What is true
PostgreSQL 17 defaults autovacuum_vacuum_scale_factor to 0.2. autovacuum.c:3074 adds the base threshold to that fraction of estimated rows. The article's approximation and later formula describe this mechanism.
Charitable reading
The article gives an approximate percentage and later includes the additive base threshold.

Source

Source · REL_17_11 · doc/src/sgml/config.sgml:8794-8797Specifies a fraction of the table size to add to <varname>autovacuum_vacuum_threshold</varname> when deciding whether to trigger a <command>VACUUM</command>. The default is 0.2 (20% of table size).
In the article · section “Slow, late vacuum”

In the article

excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Slow, late vacuum

On Postgres 17, the default trigger is 20% of the table. A table with ~500 million rows needs ~100 million dead tuples before autovacuum begins. You can modify this value cluster-wide or per table by changing autovacuum_vacuum_scale_factor .

All sources and excerpts · 2
Evidence Specifies a fraction of the table size to add to <varname>autovacuum_vacuum_threshold</varname> when deciding whether to trigger a <command>VACUUM</command>. The default is 0.2 (20% of table size).

Version note: PostgreSQL 17 check for the article's explicit version claim.

Evidence vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples; vacinsthresh = (float4) vac_ins_base_thresh + vac_ins_scale_factor * reltuples; anlthresh = (float4) anl_base_thresh + anl_scale_factor * reltuples;

Version note: PostgreSQL 17 check for the article's explicit version claim.

How the review tested this

Review: We checked whether the additive threshold invalidates the 20% approximation. E-24 includes that addition, and the article later supplies the formula. Both citations match PostgreSQL 17. We checked the omitted additive threshold and separate insert trigger. The finding describes the approximate dead-tuple formula and explicitly includes the base threshold.

F8

PostgreSQL 18 defaults the vacuum threshold cap to 100 million tuples

ACCURATEFactual · holds up after review

Claim ledger

Article says
…autovacuum_vacuum_max_threshold with a default value of 100,000,000.
What is true
PostgreSQL 18 documents a default cap of 100 million updated or deleted tuples. autovacuum.c:3122-3124 caps the calculated threshold. The article correctly distinguishes this cap from the uncapped scale-factor calculation.
Charitable reading
The article describes the default cap rather than a guarantee that a worker starts immediately.

Source

Source · REL_18_6 · doc/src/sgml/config.sgml:9193-9198Specifies the maximum number of updated or deleted tuples needed to trigger a <command>VACUUM</command> in any one table, i.e., a limit on the value calculated with <varname>autovacuum_vacuum_threshold</varname> and <varname>autovacuum_vacuum_scale_factor</varname>. The default is 100,000,000 tuples. If -1 is specified, autovacuum will not enforce a
In the article · section “Slow, late vacuum”

In the article

excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Slow, late vacuum

Postgres 18 added autovacuum_vacuum_max_threshold with a default value of 100,000,000. So a billion-row table triggered autovacuum at 100 million (still a high number) instead of 200 million. Below 500 million rows, the old scale factor was still in play.

All sources and excerpts · 2
Evidence Specifies the maximum number of updated or deleted tuples needed to trigger a <command>VACUUM</command> in any one table, i.e., a limit on the value calculated with <varname>autovacuum_vacuum_threshold</varname> and <varname>autovacuum_vacuum_scale_factor</varname>. The default is 100,000,000 tuples. If -1 is specified, autovacuum will not enforce a

Version note: PostgreSQL 18 check for the article's explicit version claim.

Evidence vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples; if (vac_max_thresh >= 0 && vacthresh > (float4) vac_max_thresh) vacthresh = (float4) vac_max_thresh;

Version note: PostgreSQL 18 check for the article's explicit version claim.

How the review tested this

Review: We checked whether the finding confuses eligibility with immediate worker scheduling. It describes the threshold cap only. PostgreSQL 18 documentation and code agree on 100 million tuples. We checked whether the cap guarantees immediate worker execution. The finding verifies the calculated threshold only. PostgreSQL 18 documentation and code agree on 100 million tuples.

F9

PostgreSQL 19 parallel autovacuum defaults to disabled

ACCURATEFactual · holds up after review

Claim ledger

Article says
Postgres 19 adds parallel autovacuum , off by default.
What is true
autovacuum_max_parallel_workers defaults to 0. vacuumparallel.c:796-805 applies that limit to autovacuum workers. Parallel workers process eligible index vacuuming and cleanup phases. They do not change the table's vacuum trigger.
Charitable reading
Extra workers can shorten eligible index phases. The sentence does not promise parallel heap scanning.

Source

Source · REL_19_STABLE@48b43081e5 · doc/src/sgml/config.sgml:9810-9813Sets the maximum number of parallel workers that can be used by a single autovacuum worker to process indexes. This limit applies specifically to the index vacuuming and index cleanup phases (for the details of each autovacuum phase, please refer to <xref linkend="vacuum-phases"/>).
In the article · section “Slow, late vacuum”

In the article

excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Slow, late vacuum

Postgres 19 adds parallel autovacuum , off by default. Extra workers can finish one large table faster, but that still doesn't change when vacuum starts.

All sources and excerpts · 5
Evidence Sets the maximum number of parallel workers that can be used by a single autovacuum worker to process indexes. This limit applies specifically to the index vacuuming and index cleanup phases (for the details of each autovacuum phase, please refer to <xref linkend="vacuum-phases"/>).
Evidence command. Setting this value to 0 disables parallel vacuum during autovacuum. The default is 0. This parameter can only be set in the
Evidence max_workers = AmAutoVacuumWorkerProcess() ? autovacuum_max_parallel_workers : max_parallel_maintenance_workers; /* * We don't allow performing parallel operation in standalone backend or * when parallelism is disabled. */ if (!IsUnderPostmaster || max_workers == 0) return 0;
Evidence <link linkend="guc-autovacuum-max-parallel-workers">Parallel autovacuum of table indexes</link>
Evidence command. Setting this value to 0 disables parallel vacuum during autovacuum. The default is 0. This parameter can only be set in the
How the review tested this

Review: We checked whether parallel autovacuum implies parallel heap scanning. E-27 limits workers to index phases, and the finding states that restriction. E-29 confirms that zero disables the workers. We tested whether parallel autovacuum implied parallel heap scanning. The finding limits workers to eligible index phases and correctly states the default of 0.

F10

Large-table ANALYZE sample demand follows the statistics target

ACCURATEFactual · holds up after review

Claim ledger

Article says
It samples a fixed number of rows no matter how large the table is.
What is true
analyze.c:2026 sets scalar-statistics sample demand to 300 times the column statistics target. Increasing table size alone does not increase that demand. ref/analyze.sgml:249-253 documents per-column control through ALTER TABLE.
Charitable reading
The discussion concerns large relations and an unchanged statistics target. Small relations can supply fewer rows.

Source

Source · REL_19_STABLE@48b43081e5 · src/backend/commands/analyze.c:2026-2026stats->minrows = 300 * stats->attstattarget;
In the article · section “Slow, late vacuum”

In the article

excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Slow, late vacuum

Autovacuum also runs ANALYZE , which has the same default-doesn't-scale problem. It samples a fixed number of rows no matter how large the table is. So the planner's estimates potentially get worse as the table grows. Raise the target with ALTER TABLE ... SET STATISTICS on the columns the planner actually needs to get right.

All sources and excerpts · 2
Evidence stats->minrows = 300 * stats->attstattarget;
Evidence The extent of analysis can be controlled by adjusting the <xref linkend="guc-default-statistics-target"/> configuration variable, or on a column-by-column basis by setting the per-column statistics target with <link linkend="sql-altertable"><command>ALTER TABLE ... ALTER COLUMN ... SET STATISTICS</command></link>.
How the review tested this

Review: We tested small-table and changed-statistics-target counterexamples. The finding explicitly concerns large tables and sample demand controlled by the target. E-30 supports that narrower statement without proving universal estimate degradation. We checked sample demand versus actual sampled rows. The finding confines its calculation to scalar-statistics demand at an unchanged target. It does not guarantee identical samples for all tables.

F11

Lower fillfactor reserves space for same-page updates

ACCURATEFactual · holds up after review

Claim ledger

Article says
Lower the fillfactor so an update can often stay on the same page…
What is true
ref/create_table.sgml:1617-1622 documents reserved page space for updated row versions. This improves the chance of same-page placement and HOT updates. It supports the article's conditional recommendation.
Charitable reading
The article says often, rather than promising that every update stays on its original page.

Source

Source · REL_19_STABLE@48b43081e5 · doc/src/sgml/ref/create_table.sgml:1617-1622to the indicated percentage; the remaining space on each page is reserved for updating rows on that page. This gives <command>UPDATE</command> a chance to place the updated copy of a row on the same page as the original, which is more efficient than placing it on a different page, and makes <link linkend="storage-hot">heap-only tuple updates</link> more likely.
In the article · section “Wide tables split across pages and files”

In the article

excerpt · section “Wide tables split across pages and files” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Wide tables split across pages and files

For a read-heavy table, you want pages packed tight (a high fillfactor), so scans walk as few pages as possible. For an update-heavy table, you want the opposite. Lower the fillfactor so an update can often stay on the same page instead of allocating a new one.

All sources and excerpts · 1
Evidence to the indicated percentage; the remaining space on each page is reserved for updating rows on that page. This gives <command>UPDATE</command> a chance to place the updated copy of a row on the same page as the original, which is more efficient than placing it on a different page, and makes <link linkend="storage-hot">heap-only tuple updates</link> more likely.
How the review tested this

Review: We checked whether lower fillfactor guarantees same-page updates. Neither the article nor the finding promises that. E-32 supports the increased chance of same-page placement. We tested whether lower fillfactor guarantees same-page updates. Both article and documentation describe increased opportunity, which supports the conditional finding.

F13

The documented shard contains a PostgreSQL primary and replicas

ACCURATEFactual · holds up after review

Claim ledger

Article says
…each shard is its own cluster, with its own WAL and replicas.
What is true
The topology documentation explicitly defines each shard as a PostgreSQL primary and its replicas. This supports independent PostgreSQL instance state per shard. It does not establish the article's workload-specific performance improvements.
Charitable reading
The statement describes the documented shard architecture, rather than proving workload isolation under every shared infrastructure arrangement.

Source

Source · https://planetscale.com/blog/what-is-a-data-topologyIn Neki, a shard consists of a PostgreSQL primary and its replicas.
In the article · section “Sharding is the solution to large tables”

In the article

excerpt · section “Sharding is the solution to large tables” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Sharding is the solution to large tables

When replicas lagged, every read went to the primary. On a sharded database, each shard is its own cluster, with its own WAL and replicas. If the affected rows of A and B lived on one shard, that shard could still lag, and its reads pile onto its primary, but that could not fail the LSN check for the rest of the product. If those 100,000 deletes were spread across shards, the WAL burst would be split. No replica stream would have to replay the whole thing.

All sources and excerpts · 1
EvidenceIn Neki, a shard consists of a PostgreSQL primary and its replicas.
How the review tested this

Review: We checked whether the topology description establishes performance isolation. The finding excludes that conclusion. E-34 directly supports a primary and replicas per shard. We tested whether the architecture statement proves workload isolation. The primary page defines a shard's primary and replicas. The finding expressly excludes workload-specific performance guarantees.

F14

PostgreSQL 18 introduced autovacuum_vacuum_max_threshold

ACCURATEFactual · holds up after review

Claim ledger

Article says
Postgres 18 added autovacuum_vacuum_max_threshold…
What is true
PostgreSQL 18 introduced autovacuum_vacuum_max_threshold. REL_18_6 records its introduction in release-18.sgml:10261. REL_18_0 documents the parameter in config.sgml:9064.
Charitable reading
The claim identifies the release introducing the setting, rather than its current value alone.

Source

Source · REL_18_6 · doc/src/sgml/release-18.sgml:10261-102612025-02-05 [306dc520b] Introduce autovacuum_vacuum_max_threshold.
In the article · section “Slow, late vacuum”

In the article

excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Slow, late vacuum

Postgres 18 added autovacuum_vacuum_max_threshold with a default value of 100,000,000. So a billion-row table triggered autovacuum at 100 million (still a high number) instead of 200 million. Below 500 million rows, the old scale factor was still in play.

All sources and excerpts · 2
Evidence2025-02-05 [306dc520b] Introduce autovacuum_vacuum_max_threshold.

Version note: Release history checked at REL_18_6.

Evidence <term><varname>autovacuum_vacuum_max_threshold</varname> (<type>integer</type>)

Version note: Checked the PostgreSQL 18.0 version floor.

How the review tested this

Review: We tested whether checking a later maintenance release could misdate the feature. E-40 independently places the parameter in PostgreSQL 18.0. E-39 records its introduction. We checked release introduction separately from current availability. The release history records introduction, and PostgreSQL 18.0 documentation contains the parameter. Both commit pins match.

F15

pg_squeeze supports concurrent cleanup and requires activation

ACCURATEFactual · holds up after review

Claim ledger

Article says
To compact a bloated table while reads and writes continue, enable pg_squeeze…
What is true
pg_squeeze REL1_9_4 supports cleanup alongside regular reads and writes. README.md:1 describes that behavior. The service documentation requires dashboard activation through shared libraries and a database restart.
Charitable reading
Reads and writes continue during the main rewrite. The claim does not promise zero locking throughout.

Source

Source · pg_squeeze@REL1_9_4 · README.md:1-3PostgreSQL extension that removes unused space from a table and optionally sorts tuples according to particular index (as if [CLUSTER][2] command was executed concurrently with regular reads / writes). In fact we try to replace
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)To compact a bloated table while reads and writes continue, enable pg_squeeze…
All sources and excerpts · 2
EvidencePostgreSQL extension that removes unused space from a table and optionally sorts tuples according to particular index (as if [CLUSTER][2] command was executed concurrently with regular reads / writes). In fact we try to replace
EvidenceThis extension requires activation via the PlanetScale Dashboard before it can be used. It must be enabled through shared libraries and requires a database restart.
How the review tested this

Review: We tested whether concurrent cleanup means zero locking or no activation interruption. The finding makes neither promise. E-44 supports concurrent operation, and E-45 supports activation plus restart. We tested whether concurrent cleanup promises zero locking. The finding makes no such promise. The README supports concurrent operation, and service documentation supports activation and restart requirements.

F16

The 500-million-row threshold rounds correctly

ACCURATEFactual · holds up after review

Claim ledger

Article says
A table with ~500 million rows needs ~100 million dead tuples before autovacuum begins.
What is true
The default formula gives approximately 100 million dead tuples (derived: 50 + 0.2 × 500 million). REL_17_11 src/backend/postmaster/autovacuum.c:3074 applies that formula.
Charitable reading
The article rounds the default dead-tuple threshold and discusses PostgreSQL 17.

Source

Source · REL_17_11 · src/backend/postmaster/autovacuum.c:3074-3074vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples;
In the article · section “Slow, late vacuum”

In the article

excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Slow, late vacuum

On Postgres 17, the default trigger is 20% of the table. A table with ~500 million rows needs ~100 million dead tuples before autovacuum begins. You can modify this value cluster-wide or per table by changing autovacuum_vacuum_scale_factor .

All sources and excerpts · 3
Evidence vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples;

Version note: PostgreSQL 17 formula.

Evidence &autovacuum_vac_thresh, 50, 0, INT_MAX,

Version note: Default base threshold.

Evidence &autovacuum_vac_scale, 0.2, 0.0, 100.0,

Version note: Default scale factor.

How the review tested this

Review: We recalculated the threshold and checked the additive 50 tuples. The result rounds to 100 million dead tuples. The finding verifies arithmetic rather than guaranteeing worker start time. We recalculated 50 + 0.2 × 500 million. The result rounds to 100 million dead tuples. The finding confines verification to that threshold, rather than all vacuum triggers.

F17

The billion-row threshold comparison is correct

ACCURATEFactual · holds up after review

Claim ledger

Article says
…a billion-row table triggered autovacuum at 100 million (still a high number) instead of 200 million.
What is true
PostgreSQL 18 caps the calculated dead-tuple threshold at 100 million. Without that cap, the illustrated formula gives approximately 200 million. REL_18_6 src/backend/postmaster/autovacuum.c:3122 applies the cap.
Charitable reading
The article describes the default dead-tuple threshold, rather than guaranteeing the exact start time.

Source

Source · REL_18_6 · src/backend/postmaster/autovacuum.c:3122-3124vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples; if (vac_max_thresh >= 0 && vacthresh > (float4) vac_max_thresh) vacthresh = (float4) vac_max_thresh;
In the article · section “Slow, late vacuum”

In the article

excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Slow, late vacuum

Postgres 18 added autovacuum_vacuum_max_threshold with a default value of 100,000,000. So a billion-row table triggered autovacuum at 100 million (still a high number) instead of 200 million. Below 500 million rows, the old scale factor was still in play.

All sources and excerpts · 2
Evidence vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples; if (vac_max_thresh >= 0 && vacthresh > (float4) vac_max_thresh) vacthresh = (float4) vac_max_thresh;

Version note: PostgreSQL 18 maximum-threshold calculation.

Evidence &autovacuum_vac_max_thresh, 100000000, -1, INT_MAX,

Version note: Default maximum threshold.

How the review tested this

Review: We checked the comparison against the actual cap calculation. E-51 applies the maximum, and E-52 supplies 100 million tuples. The uncapped estimate rounds to 200 million. We recalculated the uncapped billion-row threshold and checked the cap. Approximately 200 million becomes 100 million. The finding avoids guaranteeing worker start time.

F18

Both partition estimates round correctly

ACCURATEFactual · holds up after review

Claim ledger

Article says
…Same data as 12 monthly partitions ~41.7 million each ~8.3 million dead tuples per partition…
What is true
Each equal partition contains approximately 41.7 million rows (derived: 500 million / 12). Its illustrated threshold is approximately 8.33 million dead tuples (derived: 50 + 0.2 × 500 million / 12).
Charitable reading
The table illustrates 12 equally sized partitions. Calendar partitioning alone does not guarantee equal populations.

Source

Source · REL_17_11 · src/backend/postmaster/autovacuum.c:3074-3074vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples;
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…Same data as 12 monthly partitions ~41.7 million each ~8.3 million dead tuples per partition…
All sources and excerpts · 3
Evidence vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples;

Version note: PostgreSQL 17 formula.

Evidence &autovacuum_vac_thresh, 50, 0, INT_MAX,

Version note: Default base threshold.

Evidence &autovacuum_vac_scale, 0.2, 0.0, 100.0,

Version note: Default scale factor.

How the review tested this

Review: We recalculated both figures and tested uneven monthly populations. The finding explicitly assumes equal partitions. That assumption yields 41.7 million rows and approximately 8.33 million dead tuples per partition. We checked equal partition populations rather than assuming calendar months contain equal data. Under the stated illustration, 41.7 million rows and 8.33 million dead tuples round correctly.

F19

The protective XID threshold rounds to 2.1 billion

ACCURATEFactual · holds up after review

Claim ledger

Article says
If that age reaches around 2.1 billion, Postgres goes into read-only mode.
What is true
The protective threshold is approximately 2.14 billion XIDs beyond the oldest database horizon (derived: 2^31 − 1 − 3 million). src/backend/access/transam/varsup.c:400 reserves the final 3 million XIDs.
Charitable reading
Read-only mode describes refusal to assign new XIDs. The article gives an approximate threshold.

Source

Source · REL_19_STABLE@48b43081e5 · src/backend/access/transam/varsup.c:384-384xidWrapLimit = oldest_datfrozenxid + (MaxTransactionId >> 1);
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)If that age reaches around 2.1 billion, Postgres goes into read-only mode.
All sources and excerpts · 2
Evidence xidWrapLimit = oldest_datfrozenxid + (MaxTransactionId >> 1);
Evidence xidStopLimit = xidWrapLimit - 3000000;
How the review tested this

Review: We checked whether the arithmetic incorrectly uses the full 32-bit range. E-55 uses half that range, and E-56 subtracts 3 million XIDs. The finding verifies the numerical threshold without claiming a configuration change. We separated the numerical threshold from the phrase read-only mode. The finding verifies only the approximate XID threshold. Its calculation correctly subtracts the reserved 3 million XIDs.

F20

The three backup categories match PostgreSQL documentation

ACCURATEFactual · holds up after review

Claim ledger

Article says
…Postgres gives you three ways to take a backup.
What is true
doc/src/sgml/backup.sgml:19 lists SQL dumps, filesystem backups, and continuous archiving. The article uses those 3 categories.
Charitable reading
The article counts backup categories, rather than individual tools or combinations.

Source

Source · REL_19_STABLE@48b43081e5 · doc/src/sgml/backup.sgml:19-21<listitem><para><acronym>SQL</acronym> dump</para></listitem> <listitem><para>File system level backup</para></listitem> <listitem><para>Continuous archiving</para></listitem>
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…Postgres gives you three ways to take a backup.
All sources and excerpts · 1
Evidence <listitem><para><acronym>SQL</acronym> dump</para></listitem> <listitem><para>File system level backup</para></listitem> <listitem><para>Continuous archiving</para></listitem>
How the review tested this

Review: We tested whether additional backup tools invalidate the count. E-58 lists categories, and the finding limits its endorsement to those 3 categories. We tested whether three meant individual tools rather than categories. The article's following descriptions match the documentation's 3 backup categories.

Notes

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

Note: “It stats every file in the database serially.”

NOTEpartly holds after review

Claim ledger

Article says
It stats every file in the database serially.
What is true
dbsize.c:86-98 reads directory entries serially and calls stat for each entry except dot entries. This excerpt establishes serial metadata calls within a directory. It does not show calculate_database_size invoking the helper or establish CPU utilization.

Source

Source · REL_19_STABLE@48b43081e5 · src/backend/utils/adt/dbsize.c:86-98while ((direntry = ReadDir(dirdesc, path)) != NULL) { struct stat fst; CHECK_FOR_INTERRUPTS(); if (strcmp(direntry->d_name, ".") == 0 || strcmp(direntry->d_name, "..") == 0) continue; snprintf(filename, sizeof(filename), "%s/%s", path, direntry->d_name); if (stat(filename, &fst) < 0)

Not graded: no reader would act differently on it.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)It stats every file in the database serially.
All sources and excerpts · 1
Evidence while ((direntry = ReadDir(dirdesc, path)) != NULL) { struct stat fst; CHECK_FOR_INTERRUPTS(); if (strcmp(direntry->d_name, ".") == 0 || strcmp(direntry->d_name, "..") == 0) continue; snprintf(filename, sizeof(filename), "%s/%s", path, direntry->d_name); if (stat(filename, &fst) < 0)
How the review tested this

Review: We checked the helper and its surrounding caller. E-33 records only the directory loop. It omits the caller needed to verify pg_database_size's database-wide behavior.

F21

Note: “Each toasted value gets a 32-bit OID, about 4 billion per table.”

NOTEpartly holds after review

Claim ledger

Article says
Each toasted value gets a 32-bit OID, about 4 billion per table.
What is true
postgres_ext.h:32 defines Oid as unsigned int. toast_internals.c:217-218 passes the TOAST relation to GetNewOidWithIndex. A 32-bit namespace contains approximately 4.3 billion values. These excerpts do not independently establish the type's bit width or usable identifier count.

Source

Source · REL_19_STABLE@48b43081e5 · src/include/postgres_ext.h:32-32typedef unsigned int Oid;

Not graded: no reader would act differently on it.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)Each toasted value gets a 32-bit OID, about 4 billion per table.
All sources and excerpts · 2
Evidencetypedef unsigned int Oid;
Evidence toast_pointer.va_valueid = GetNewOidWithIndex(toastrel,
How the review tested this

Review: We checked the type declaration, allocation call, and arithmetic. Two to the power 32 rounds correctly. E-60 declares unsigned int without establishing its width. E-61 omits allocation limits.

F22

A different build can use pages larger than 8 KiB

NOTEholds up after review

Claim ledger

Article says
…you cannot buy greater limits than 8KB pages…
What is true
PostgreSQL supports build-time page sizes through 32 KiB. doc/src/sgml/installation.sgml:1510 documents that range. Changing page size breaks disk compatibility and prevents pg_upgrade between those builds.
Charitable reading
The sentence concerns buying hardware. Hardware alone does not change an existing cluster's page size.

Source

Source · REL_19_STABLE@48b43081e5 · doc/src/sgml/installation.sgml:1510-1513The value must be a power of 2 between 1 and 32 (kilobytes). Note that changing this value breaks on-disk database compatibility, meaning you cannot use <command>pg_upgrade</command> to upgrade to a build with a different block size.

Not graded: no reader would act differently on it.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…you cannot buy greater limits than 8KB pages…
All sources and excerpts · 1
Evidence The value must be a power of 2 between 1 and 32 (kilobytes). Note that changing this value breaks on-disk database compatibility, meaning you cannot use <command>pg_upgrade</command> to upgrade to a build with a different block size.
How the review tested this

Review: We applied the article's hardware-upgrade qualification. Hardware alone does not change page size, so a graded charge would overreach. The existing note correctly supplies the build-time exception and compatibility restriction. We checked the hardware-only reading. Hardware does not change an existing cluster's page size. The finding remains an ungraded note about supported builds and their compatibility restriction.

F23

The TOAST target is configurable

NOTEholds up after review

Claim ledger

Article says
…the 2KB TOAST threshold…
What is true
toast_tuple_target defaults to 2,040 bytes with the default block size. doc/src/sgml/ref/create_table.sgml:1644 permits targets from 128 bytes through 8,160 bytes for that block size.
Charitable reading
The sentence concerns hardware upgrades. Hardware alone does not alter the configured TOAST target.

Source

Source · REL_19_STABLE@48b43081e5 · doc/src/sgml/ref/create_table.sgml:1644-1646By default this parameter is set to allow at least 4 tuples per block, which with the default block size will be 2040 bytes. Valid values are between 128 bytes and the (block size - header), by default 8160 bytes.

Not graded: no reader would act differently on it.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…the 2KB TOAST threshold…
All sources and excerpts · 1
Evidence By default this parameter is set to allow at least 4 tuples per block, which with the default block size will be 2040 bytes. Valid values are between 128 bytes and the (block size - header), by default 8160 bytes.
How the review tested this

Review: We checked whether configuration flexibility contradicts the narrower hardware claim. It does not. The existing note identifies toast_tuple_target and its documented range without grading the hardware statement as incorrect. We checked whether configurability contradicts the hardware limitation. It does not. The ungraded note correctly states the default and permitted target range for default-size blocks.

More in this report

Section checks · 8 sections

Section checks

AspectGradeFindingsCoverage
Vacuum and statisticsA8 verified-accurate63% of claims (21 of 33)
Transaction IDsA1 verified-accurate88% of claims (8 of 9, plus 1 that need data we do not have)
Vacuum horizons and repackingB-1 inaccuracy · 2 misleading · 1 verified-accurate57% of claims (12 of 21, plus 2 that need data we do not have)provisional
Queries and connectionsB+1 misleading30% of claims (4 of 13, plus 3 that need data we do not have)provisional
Backups and recoveryA1 verified-accurate43% of claims (7 of 16, plus 4 that need data we do not have)provisional
IndexesB+1 misleading40% of claims (4 of 10, plus 2 that need data we do not have)provisional
Wide rows and storageB+1 misleading · 1 verified-accurate58% of claims (17 of 29, plus 3 that need data we do not have)provisional
Sharding conclusionA1 verified-accurate100% of claims (1 of 1, plus 5 that need data we do not have)
Coverage and assessment · Checked 78 of 143 Postgres claims across 11 sections; 5 sections below half

Central claim not verified. We checked PostgreSQL mechanisms behind the recommendation, but did not establish that sharding outperforms partitioning or larger instances.

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 verify the customer's cascade-delete incident or its resource measurements.
  • We did not inspect Neki's routing implementation or automatic storage-option management.
  • We did not reproduce the article's performance and outage claims.
  • We did not complete the tuple-size, heap-allocation, and partition storage-option checks.
  • We did not establish the article's public URL.
  • We did not verify the customer outage without its schema, logs, and workload measurements.
  • We did not independently verify Neki routing, resource isolation, or backup performance.
  • We did not check most performance comparisons between sharding, partitioning, and vertical scaling.
  • We did not reach the author's social profile or the account registration page.
  • We did not establish historical changes to the vendor services after August 25, 2026.
  • We did not verify the customer's 100,000 parent-row deletions or child-row counts.
  • We did not verify the estimated filesystem copy time or wasted pages from an unsuitable fillfactor.
  • Safe: we did not complete every applicable check.
  • Section “Vacuum horizons and repacking”: we checked 12 of 23 checkable claims.
  • Section “Queries and connections”: we checked 4 of 16 checkable claims.
  • Section “Backups and recovery”: we checked 7 of 20 checkable claims.
  • Section “Indexes”: we checked 4 of 12 checkable claims.
  • Section “Wide rows and storage”: we checked 17 of 32 checkable claims.
  • Section “Introduction”: we checked 0 of 4 checkable claims.
  • Section “Cascade-delete outage”: we checked 1 of 12 checkable claims.
  • We could not decide whether the evidence backs the central claim.
  • We could not decide whether the article depends on finding F1.
  • We hold no source mapping for “Neki”, so we did not check the article's claims about its code.
Checked 78 of 143 Postgres claims across 11 sections; 5 sections below half
  • Introduction: 0 of 4 Postgres claims checked; not counted: 2 product or opinion, 1 not a claim; not checked: 4 for other reasons
  • Cascade-delete outage: 1 of 3 Postgres claims checked, plus 9 that need data we do not have; not counted: 4 product or opinion, 1 not a claim; not checked: 2 for other reasons
  • Remedies: 3 of 4 Postgres claims checked, plus 1 that need data we do not have; not counted: 5 product or opinion, 2 not a claim; not checked: 1 for other reasons
  • Vacuum and statistics: 21 of 33 Postgres claims checked; not counted: 3 product or opinion, 3 duplicate, 2 not a claim; not checked: 12 for other reasons
  • Transaction IDs: 8 of 9 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 not a claim; not checked: 1 for other reasons
  • Vacuum horizons and repacking: 12 of 21 Postgres claims checked, plus 2 that need data we do not have; not counted: 2 product or opinion, 2 duplicate, 1 not a claim; not checked: 9 for other reasons
  • Queries and connections: 4 of 13 Postgres claims checked, plus 3 that need data we do not have; not counted: 2 product or opinion, 1 not a claim; not checked: 9 for other reasons
  • Backups and recovery: 7 of 16 Postgres claims checked, plus 4 that need data we do not have; not counted: 3 product or opinion, 3 duplicate, 1 not a claim; not checked: 9 for other reasons
  • Indexes: 4 of 10 Postgres claims checked, plus 2 that need data we do not have; not counted: 7 product or opinion, 1 duplicate, 1 not a claim; not checked: 6 for other reasons
  • Wide rows and storage: 17 of 29 Postgres claims checked, plus 3 that need data we do not have; not counted: 2 product or opinion, 1 duplicate, 1 not a claim; not checked: 12 for other reasons
  • Sharding conclusion: 1 of 1 Postgres claims checked, plus 5 that need data we do not have; not counted: 8 product or opinion, 11 duplicate, 3 not a claim

Average of 5 axes: 3.06 · 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 A · 0 wrong of 19 checked · 0 caveats. Applicable B · 3 wrong of 16 checked · 0 caveats. Consistent B+ · 2 wrong of 19 checked · 0 caveats. Transparent A · 0 wrong of 6 checked · 0 caveats. Safe D · 1 wrong of 39 checked · 0 caveats · 2 unwarned risks. A 0 wrong of 19 checked · 0 caveatsFactual A0 wrong of 190 caveats B 3 wrong of 16 checked · 0 caveatsApplicable B3 wrong of 160 caveats B+ 2 wrong of 19 checked · 0 caveatsConsistent B+2 wrong of 190 caveats A 0 wrong of 6 checked · 0 caveatsTransparent A0 wrong of 60 caveats D 1 wrong of 39 checked · 0 caveats 2 unwarned risksSafe D1 wrong of 390 caveats2 unwarned risks D+

By topic: Vacuum and statistics — 8 findings, 0 wrong · Transaction IDs — 1 finding, 0 wrong · Vacuum horizons and repacking — 4 findings, 3 wrong · Queries and connections — 1 finding, 1 wrong · Backups and recovery — 1 finding, 0 wrong · Indexes — 1 finding, 1 wrong · Wide rows and storage — 2 findings, 1 wrong · Sharding conclusion — 1 finding, 0 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 19 claims.

AxisLetterWrongCaveatsCheckedCoverage
FactualA0019assessed: A · 0 wrong of 19 checked · 0 caveats
ApplicableB3016assessed: B · 3 wrong of 16 checked · 0 caveats
ConsistentB+2019assessed: B+ · 2 wrong of 19 checked · 0 caveats
TransparentA006assessed: A · 0 wrong of 6 checked · 0 caveats
SafeD1039partly assessed: D · 1 wrong of 39 checked · 0 caveats · 2 unwarned risks · partly assessed

Safe. Recommended for production with no warning about data loss, downtime or a missing prerequisite: “You can drop old or bloated partitions instead of compacting them.” · “You can drop old or bloated partitions instead of compacting them.”

Topics · 8 topics

Topics

TopicFactualApplicableConsistentTransparentSafe
Vacuum and statistics0 issues 8 checked F7 F8 F9 F10 F14 F16 F17 F180 issues 8 checked0 issues 8 checked0 issues 1 checked
Transaction IDs0 issues 1 checked F190 issues 1 checked
Vacuum horizons and repacking0 issues 4 checked F150 issues 4 checked2 issues 4 checked F2 F30 issues 2 checked1 issue 1 checked F1
Queries and connections0 issues 1 checked1 issue 1 checked F60 issues 1 checked
Backups and recovery0 issues 1 checked F200 issues 1 checked0 issues 1 checked
Indexes0 issues 1 checked1 issue 1 checked F50 issues 1 checked
Wide rows and storage0 issues 2 checked F111 issue 2 checked F40 issues 2 checked0 issues 1 checked
Sharding conclusion0 issues 1 checked F130 issues 1 checked0 issues 1 checked

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

Revisions: 4 · B -> D+ -> D+ -> D+

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

  1. Revision 1 · 2026-09-11 17:51 UTC · B · audit version not recorded · regrade version not recorded

    Article as first submitted. 1 accurate · 3 wrong · 4 caveats.

    ElephantSeal: B.

    Changes: First audit. Open: F1 “xmin is still cluster-wide, so a long query anywhere on the cluster still pins every partition.” (misleading); F4 “Vacuum will need to walk the entire table again later.” (misleading); F8 “…cannot be solved by partitioning or vertical scaling are resolved. Postgres' hard-coded ceilings of 32-bit XIDs, TOAST OID…” (misleading); F2 “If a row exceeds ~2KB, oversized values go to TOAST…” (mostly accurate); F3 “…greater limits than 8KB pages, the 2KB TOAST threshold…” (mostly accurate); F5 “Accumulate indexes and pay for it with an enlarged heap…” (mostly accurate); F6 “…the backup doesn't compete with production queries for disk…” (mostly accurate).

  2. Revision 2 · 2026-10-19 06:44 UTC · D+ · audited with v1.0.14 (approx.)

    Same article text, re-audited. 17 accurate · 7 wrong · 1 caveat.

    ElephantSeal: D+.

    Changes: No longer reported: “Vacuum will need to walk the entire table again later.”; “…cannot be solved by partitioning or vertical scaling are resolved. Postgres' hard-coded ceilings of 32-bit XIDs, TOAST OID…”; “If a row exceeds ~2KB, oversized values go to TOAST…”; “…greater limits than 8KB pages, the 2KB TOAST threshold…”; “Accumulate indexes and pay for it with an enlarged heap…”; “…the backup doesn't compete with production queries for disk…”. New: F6 “Additional indexes do not make every write update additional index files” (false); F1 “pg_squeeze requires more free disk than the partition's heap size” (misleading); F4 “Rows over approximately 2 KB do not necessarily move values out of line” (misleading); F21 “…a long query anywhere on the cluster still pins every partition…” (misleading); F23 “Large tables can support appropriate sequential scans” (misleading); F28 “The conclusion contradicts the stated TOAST benefit of partitioning” (misleading); F22 “Repeat VACUUM passes can skip eligible pages” (mostly accurate).

  3. Revision 3 · 2026-10-19 20:44 UTC · D+ · audited with v1.0.16 (approx.)

    Same article text, re-audited. 12 accurate · 5 wrong · 1 caveat.

    ElephantSeal: D+.

    Changes: No longer reported: “pg_squeeze requires more free disk than the partition's heap size”; “xmin is still cluster-wide, so a long query anywhere on the cluster still pins every partition.”; “Rows over approximately 2 KB do not necessarily move values out of line”; “…a long query anywhere on the cluster still pins every partition…”; “Large tables can support appropriate sequential scans”; “The conclusion contradicts the stated TOAST benefit of partitioning”; “Repeat VACUUM passes can skip eligible pages”. New: F3 “Rows exceeding 2 kB can remain inline after compression” (false); F4 “Additional RAM can cache a table of hundreds of gigabytes” (false); F7 “A subsequent vacuum can skip previously cleaned pages” (false); F2 “Ordinary-table vacuum horizons are normally database-specific” (misleading); F1 “The squeeze disk estimate omits indexes and temporary copies” (mostly accurate).

  4. Revision 4 · this page · 2026-10-21 05:00 UTC · D+ · audited with v1.0.17 (approx.) · regraded with v1.1.3

    Same article text, re-audited. 13 accurate · 6 wrong · 0 caveats.

    ElephantSeal: D+. Open: the production risk is not yet fixed or warned about.

    Changes: No longer reported: “Rows exceeding 2 kB can remain inline after compression”; “Additional RAM can cache a table of hundreds of gigabytes”; “Eligible HOT updates do not write every ordinary index”; “A subsequent vacuum can skip previously cleaned pages”; “Ordinary-table vacuum horizons are normally database-specific”; “The squeeze disk estimate omits indexes and temporary copies”. New: F1 “pg_squeeze needs more spare disk than one partition's size” (false); F2 “…a long query anywhere on the cluster still pins every partition.” (misleading); F3 “A later vacuum need not rescan the entire heap” (misleading); F4 “Crossing roughly 2 kB does not guarantee out-of-line storage” (misleading); F5 “…make every write touch more files.” (misleading); F6 “PostgreSQL has no hundreds-of-GB cache ceiling” (misleading).

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: Problems with large tables in Postgres — PlanetScale

Article title: Problems with large tables in Postgres — PlanetScale
Article URL: https://planetscale.com/blog/dealing-with-large-tables-in-postgres
Report URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3
Audited revision: 4 of 4, 2026-10-21 05:00:56 UTC
Overall letter: D+

## Axes

- Factual: A · 0 wrong · 19 checked · 0 caveats · assessed
- Applicable: B · 3 wrong · 16 checked · 0 caveats · assessed
- Consistent: B+ · 2 wrong · 19 checked · 0 caveats · assessed
- Transparent: A · 0 wrong · 6 checked · 0 caveats · assessed
- Safe: D · 1 wrong · 39 checked · 0 caveats · partly assessed

ElephantSeal: D+.
Open conditions: the production risk is not yet fixed or warned about.

## Report metadata

- Report: Technical fact-check, edition 3
- pgTrue version: audited with v1.0.17 (approx.) · regraded with v1.1.3
- Issued: 2026-10-21
- Edition: Updated after review. Corrections are listed below.
- Submitted: Submitted by the PostgresAI team.
- Author response: No written reply from the author. We re-audited this article 3 times; see Revisions below. Policy: [right-of-reply and corrections policy](/pgtrue/security).

## Findings needing a change (6)

### F1 · Inaccurate · Safe · pg_squeeze needs more spare disk than one partition's size
Location: excerpt · section “Wasted time on incomplete repacking” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=the%20spare%20disk%20you%20need,the%20size%20of%20a%20partition)
Article says:
```text
…the spare disk you need to run squeeze is the size of a partition…
```
What is true:
pg_squeeze documents additional free space around twice the target table-and-index size. README.md:379-382 gives that requirement. Processing one partition reduces the target, but does not remove the multiplier or its indexes. The article's estimate can leave a squeeze unable to finish.
So what:
Budget roughly twice the target partition-and-index size in additional disk space before starting pg_squeeze.
Charitable reading:
Partitioning reduces the unit of work. That does not establish the stated free-space amount.
Review: We tested whether the sentence only compares partition size with table size. Its explicit spare-space estimate still omits the documented multiplier. E-14 specifies additional space, so counting existing storage cannot reconcile the figures. The release limitation is already disclosed. We tested whether partition size merely identified the processing unit. The explicit spare-space estimate omits the documented multiplier and indexes. The article names no extension version. The finding discloses its 1.9.4 check.

Sources:
- [pg_squeeze@REL1_9_4 · README.md:379-382](https://github.com/cybertec-postgresql/pg_squeeze/blob/400c5f6ae9bc911073a6824e9a19f4d475fb7331/README.md#L379-L382)
  Qualification: Version note: The article names no pg_squeeze version. We checked release 1.9.4.
  Excerpt:
  ```text
  Performing a full-table squeeze requires free disk space about twice as large
as the target table and its indexes. For example, if the total size of the
tables and indexes to be squeezed is 1GB, an additional 2GB of disk space is
required.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F1

### F2 · Misleading · Consistent · Misleading: “…a long query anywhere on the cluster still pins every partition.”
Location: excerpt · section “Wasted time on incomplete repacking” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=a%20long%20query%20anywhere%20on,cluster%20still%20pins%20every%20partition.)
Article says:
```text
…a long query anywhere on the cluster still pins every partition.
```
What is true:
Ordinary user-table cleanup normally ignores sessions connected to other databases. procarray.c:1796-1802 checks database identity and explicit exceptions. Shared relations use a broader horizon. An ordinary query in another database does not automatically pin every partition.
So what:
Check old snapshots in the affected database before terminating sessions in other databases or choosing sharding for horizon isolation.
Review: We tested the same-database reading. The article explicitly says anywhere in the cluster. The excerpts establish database filtering and exceptions, but do not identify hot-standby feedback.

Sources:
- [REL_19_STABLE@48b43081e5 · src/backend/storage/ipc/procarray.c:1778-1779](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/storage/ipc/procarray.c#L1778-L1779)
  Excerpt:
  ```text
  * Normally sessions in other databases are ignored for anything but
		 * the shared horizon.
  ```
- [REL_19_STABLE@48b43081e5 · src/backend/storage/ipc/procarray.c:1796-1802](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/storage/ipc/procarray.c#L1796-L1802)
  Excerpt:
  ```text
  if (proc->databaseId == MyDatabaseId ||
			MyDatabaseId == InvalidOid ||
			(statusFlags & PROC_AFFECTS_ALL_HORIZONS) ||
			in_recovery)
		{
			h->data_oldest_nonremovable =
				TransactionIdOlder(h->data_oldest_nonremovable, xmin);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F2

### F3 · Misleading · Consistent · A later vacuum need not rescan the entire heap
Location: excerpt · section “Wasted time on incomplete repacking” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=Vacuum%20will%20need%20to%20walk%20the%20entire%20table%20again%20later.)
Article says:
```text
Vacuum will need to walk the entire table again later.
```
What is true:
Vacuum skips heap blocks that need no processing. vacuumlazy.c:1645-1648 uses the visibility map and scan thresholds to select blocks. An old snapshot can leave some tuples unreclaimable without invalidating completed work on other pages. Another full heap scan is possible, rather than mandatory.
So what:
Inspect vacuum's scanned and skipped pages before treating a completed pass as discarded work or repartitioning to avoid full rescans.
Charitable reading:
Dead tuples on every page can require another complete scan. The article presents that scan as required after a constrained pass.
Review: We considered a workload with unreclaimable tuples on every page. That can require another full scan, which the finding allows. E-37 confirms that completed work can permit page skipping on later runs. We tested the case where every page still needs work. A full scan remains possible. Visibility-map skipping disproves its necessity without denying snapshot-related cleanup delays.

Sources:
- [REL_19_STABLE@48b43081e5 · src/backend/access/heap/vacuumlazy.c:1645-1648](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/access/heap/vacuumlazy.c#L1645-L1648)
  Excerpt:
  ```text
  * heap_vac_scan_next_block() uses the visibility map, vacuum options, and
 * various thresholds to skip blocks which do not need to be processed and
 * returns the next block to process or InvalidBlockNumber if there are no
 * remaining blocks.
  ```
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/maintenance.sgml:390-392](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/maintenance.sgml#L390-L392)
  Excerpt:
  ```text
  page is again modified).  This has two purposes.  First, vacuum
    itself can skip such pages on the next run, since there is nothing to
    clean up.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F3

### F4 · Misleading · Applicable · Crossing roughly 2 kB does not guarantee out-of-line storage
Location: excerpt · section “Wide tables split across pages and files” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=If%20a%20row%20exceeds%20~2KB%2C%20oversized%20values%20go%20to%20TOAST)
Article says:
```text
If a row exceeds ~2KB, oversized values go to TOAST…
```
What is true:
Default EXTENDED storage tries inline compression before external storage. storage.sgml:467-470 documents that order. heaptoast.c:162-167 implements separate compression and external-storage stages. A row initially exceeding roughly 2 kB can compress enough to remain inline, without adding an external value to vacuum.
So what:
Measure actual TOAST relation size and compression before partitioning or sharding rows merely because their uncompressed size exceeds 2 kB.
Charitable reading:
TOAST can name the whole compression mechanism. The surrounding sentence specifically describes storage in a separate table.
Review: We tested whether TOAST means compression generally. The surrounding article explicitly describes a separate table. E-18 permits compression to avoid external storage, while E-19 confirms the implementation stages. We tested whether TOAST included inline compression here. The surrounding article identifies a separate table. EXTENDED storage permits compression that avoids external storage, which supports the narrower correction.

Sources:
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/storage.sgml:467-470](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/storage.sgml#L467-L470)
  Excerpt:
  ```text
  <literal>EXTENDED</literal> allows both compression and out-of-line
      storage.  This is the default for most <acronym>TOAST</acronym>-able data types.
      Compression will be attempted first, then out-of-line storage if
      the row is still too big.
  ```
- [REL_19_STABLE@48b43081e5 · src/backend/access/heap/heaptoast.c:162-167](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/access/heap/heaptoast.c#L162-L167)
  Excerpt:
  ```text
  *	1: Inline compress attributes with attstorage EXTENDED, and store very
	 *	   large attributes with attstorage EXTENDED or EXTERNAL external
	 *	   immediately
	 *	2: Store attributes with attstorage EXTENDED or EXTERNAL external
	 *	3: Inline compress attributes with attstorage MAIN
	 *	4: Store attributes with attstorage MAIN external
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F4

### F5 · Misleading · Applicable · Misleading: “…make every write touch more files.”
Location: excerpt · section “Too many indexes” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=make%20every%20write%20touch%20more%20files.)
Article says:
```text
…make every write touch more files.
```
What is true:
HOT updates can skip ordinary index maintenance. heapam.c:4365-4373 selects TU_None or TU_Summarizing for HOT updates, rather than TU_All. Additional indexes do not make every write update additional index files. This excerpt does not establish HOT eligibility conditions.
So what:
Check HOT update rates and indexed update columns before dropping useful indexes or choosing sharding to reduce update amplification.
Review: We tested the general index-cost reading against every write. E-20 establishes HOT exceptions. It does not establish how update columns and page space determine HOT eligibility.

Sources:
- [REL_19_STABLE@48b43081e5 · src/backend/access/heap/heapam.c:4365-4373](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/access/heap/heapam.c#L4365-L4373)
  Excerpt:
  ```text
  if (use_hot_update)
	{
		if (summarized_update)
			*update_indexes = TU_Summarizing;
		else
			*update_indexes = TU_None;
	}
	else
		*update_indexes = TU_All;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F5

### F6 · Misleading · Applicable · PostgreSQL has no hundreds-of-GB cache ceiling
Location: excerpt · section “Slow queries hold connections longer” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=you%27re%20still%20not%20putting%20a%20hundreds%2Dof%2DGB%20table%20into%20cache.)
Article says:
```text
…you're still not putting a hundreds-of-GB table into cache.
```
What is true:
Cache capacity depends on configured memory and available RAM. guc_parameters.dat:2711-2718 permits shared_buffers values above hundreds of GiB with default-size blocks. PostgreSQL also uses the operating-system cache. A sufficiently large instance can cache such a table. Sharding is not required to make that capacity possible.
So what:
Compare the active working set and relation sizes with available RAM before rejecting a larger instance in favor of sharding.
Charitable reading:
A table can exceed the current machine's cache. The sentence rejects caching even after buying additional RAM.
Review: We tested whether the statement only concerns the existing machine. The preceding hardware-upgrade claim rules out that reading. E-21 permits larger caches, and E-22 also identifies operating-system caching. The finding makes no cost-performance promise. We tested a reading limited to the current machine. The article explicitly discusses buying more RAM. The buffer limit and operating-system cache support capacity beyond hundreds of GiB, without proving economic benefits.

Sources:
- [REL_19_STABLE@48b43081e5 · src/backend/utils/misc/guc_parameters.dat:2711-2718](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/utils/misc/guc_parameters.dat#L2711-L2718)
  Excerpt:
  ```text
  { name => 'shared_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
  short_desc => 'Sets the number of shared memory buffers used by the server.',
  flags => 'GUC_UNIT_BLOCKS',
  variable => 'NBuffers',
  boot_val => '16384',
  min => '16',
  max => 'INT_MAX / 2',
},
  ```
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/config.sgml:1823-1829](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/config.sgml#L1823-L1829)
  Excerpt:
  ```text
  reasonable starting value for <varname>shared_buffers</varname> is 25%
        of the memory in your system.  There are some workloads where even
        larger settings for <varname>shared_buffers</varname> are effective, but
        because <productname>PostgreSQL</productname> also relies on the
        operating system cache, it is unlikely that an allocation of more than
        40% of RAM to <varname>shared_buffers</varname> will work better than a
        smaller amount.  Larger settings for <varname>shared_buffers</varname>
  ```
- [REL_19_STABLE@48b43081e5 · src/backend/utils/misc/guc_parameters.dat:2711-2718](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/utils/misc/guc_parameters.dat#L2711-L2718)
  Excerpt:
  ```text
  { name => 'shared_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
  short_desc => 'Sets the number of shared memory buffers used by the server.',
  flags => 'GUC_UNIT_BLOCKS',
  variable => 'NBuffers',
  boot_val => '16384',
  min => '16',
  max => 'INT_MAX / 2',
},
  ```
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/config.sgml:1822-1828](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/config.sgml#L1822-L1828)
  Excerpt:
  ```text
  If you have a dedicated database server with 1GB or more of RAM, a
        reasonable starting value for <varname>shared_buffers</varname> is 25%
        of the memory in your system.  There are some workloads where even
        larger settings for <varname>shared_buffers</varname> are effective, but
        because <productname>PostgreSQL</productname> also relies on the
        operating system cache, it is unlikely that an allocation of more than
        40% of RAM to <varname>shared_buffers</varname> will work better than a
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F6

## Verified accurate claims (13)

### F7 · Accurate · Factual · PostgreSQL 17 uses the stated 20% scale factor
Location: excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=On%20Postgres%2017%2C%20the%20default,is%2020%25%20of%20the%20table.)
Article says:
```text
On Postgres 17, the default trigger is 20% of the table.
```
What is true:
PostgreSQL 17 defaults autovacuum_vacuum_scale_factor to 0.2. autovacuum.c:3074 adds the base threshold to that fraction of estimated rows. The article's approximation and later formula describe this mechanism.
Charitable reading:
The article gives an approximate percentage and later includes the additive base threshold.
Review: We checked whether the additive threshold invalidates the 20% approximation. E-24 includes that addition, and the article later supplies the formula. Both citations match PostgreSQL 17. We checked the omitted additive threshold and separate insert trigger. The finding describes the approximate dead-tuple formula and explicitly includes the base threshold.

Sources:
- [REL_17_11 · doc/src/sgml/config.sgml:8794-8797](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/config.sgml#L8794-L8797)
  Qualification: Version note: PostgreSQL 17 check for the article's explicit version claim.
  Excerpt:
  ```text
  Specifies a fraction of the table size to add to
        <varname>autovacuum_vacuum_threshold</varname>
        when deciding whether to trigger a <command>VACUUM</command>.
        The default is 0.2 (20% of table size).
  ```
- [REL_17_11 · src/backend/postmaster/autovacuum.c:3074-3076](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/postmaster/autovacuum.c#L3074-L3076)
  Qualification: Version note: PostgreSQL 17 check for the article's explicit version claim.
  Excerpt:
  ```text
  vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples;
		vacinsthresh = (float4) vac_ins_base_thresh + vac_ins_scale_factor * reltuples;
		anlthresh = (float4) anl_base_thresh + anl_scale_factor * reltuples;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F7

### F8 · Accurate · Factual · PostgreSQL 18 defaults the vacuum threshold cap to 100 million tuples
Location: excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=autovacuum_vacuum_max_threshold%20with%20a%20default%20value%20of%20100%2C000%2C000.)
Article says:
```text
…autovacuum_vacuum_max_threshold with a default value of 100,000,000.
```
What is true:
PostgreSQL 18 documents a default cap of 100 million updated or deleted tuples. autovacuum.c:3122-3124 caps the calculated threshold. The article correctly distinguishes this cap from the uncapped scale-factor calculation.
Charitable reading:
The article describes the default cap rather than a guarantee that a worker starts immediately.
Review: We checked whether the finding confuses eligibility with immediate worker scheduling. It describes the threshold cap only. PostgreSQL 18 documentation and code agree on 100 million tuples. We checked whether the cap guarantees immediate worker execution. The finding verifies the calculated threshold only. PostgreSQL 18 documentation and code agree on 100 million tuples.

Sources:
- [REL_18_6 · doc/src/sgml/config.sgml:9193-9198](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L9193-L9198)
  Qualification: Version note: PostgreSQL 18 check for the article's explicit version claim.
  Excerpt:
  ```text
  Specifies the maximum number of updated or deleted tuples needed to
         trigger a <command>VACUUM</command> in any one table, i.e., a limit on
         the value calculated with
         <varname>autovacuum_vacuum_threshold</varname> and
         <varname>autovacuum_vacuum_scale_factor</varname>.  The default is
         100,000,000 tuples.  If -1 is specified, autovacuum will not enforce a
  ```
- [REL_18_6 · src/backend/postmaster/autovacuum.c:3122-3124](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/autovacuum.c#L3122-L3124)
  Qualification: Version note: PostgreSQL 18 check for the article's explicit version claim.
  Excerpt:
  ```text
  vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples;
		if (vac_max_thresh >= 0 && vacthresh > (float4) vac_max_thresh)
			vacthresh = (float4) vac_max_thresh;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F8

### F9 · Accurate · Factual · PostgreSQL 19 parallel autovacuum defaults to disabled
Location: excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=Postgres%2019%20adds%20parallel%20autovacuum%20%2C%20off%20by%20default.)
Article says:
```text
Postgres 19 adds parallel autovacuum , off by default.
```
What is true:
autovacuum_max_parallel_workers defaults to 0. vacuumparallel.c:796-805 applies that limit to autovacuum workers. Parallel workers process eligible index vacuuming and cleanup phases. They do not change the table's vacuum trigger.
Charitable reading:
Extra workers can shorten eligible index phases. The sentence does not promise parallel heap scanning.
Review: We checked whether parallel autovacuum implies parallel heap scanning. E-27 limits workers to index phases, and the finding states that restriction. E-29 confirms that zero disables the workers. We tested whether parallel autovacuum implied parallel heap scanning. The finding limits workers to eligible index phases and correctly states the default of 0.

Sources:
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/config.sgml:9810-9813](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/config.sgml#L9810-L9813)
  Excerpt:
  ```text
  Sets the maximum number of parallel workers that can be used by a
         single autovacuum worker to process indexes. This limit applies
         specifically to the index vacuuming and index cleanup phases (for the
         details of each autovacuum phase, please refer to <xref linkend="vacuum-phases"/>).
  ```
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/config.sgml:9818-9819](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/config.sgml#L9818-L9819)
  Excerpt:
  ```text
  command. Setting this value to 0 disables parallel vacuum during autovacuum.
         The default is 0.  This parameter can only be set in the
  ```
- [REL_19_STABLE@48b43081e5 · src/backend/commands/vacuumparallel.c:796-805](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/commands/vacuumparallel.c#L796-L805)
  Excerpt:
  ```text
  max_workers = AmAutoVacuumWorkerProcess() ?
		autovacuum_max_parallel_workers :
		max_parallel_maintenance_workers;

	/*
	 * We don't allow performing parallel operation in standalone backend or
	 * when parallelism is disabled.
	 */
	if (!IsUnderPostmaster || max_workers == 0)
		return 0;
  ```
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/release-19.sgml:69-69](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/release-19.sgml#L69-L69)
  Excerpt:
  ```text
  <link linkend="guc-autovacuum-max-parallel-workers">Parallel autovacuum of table indexes</link>
  ```
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/config.sgml:9818-9819](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/config.sgml#L9818-L9819)
  Excerpt:
  ```text
  command. Setting this value to 0 disables parallel vacuum during autovacuum.
         The default is 0.  This parameter can only be set in the
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F9

### F10 · Accurate · Factual · Large-table ANALYZE sample demand follows the statistics target
Location: excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=It%20samples%20a%20fixed%20number,how%20large%20the%20table%20is.)
Article says:
```text
It samples a fixed number of rows no matter how large the table is.
```
What is true:
analyze.c:2026 sets scalar-statistics sample demand to 300 times the column statistics target. Increasing table size alone does not increase that demand. ref/analyze.sgml:249-253 documents per-column control through ALTER TABLE.
Charitable reading:
The discussion concerns large relations and an unchanged statistics target. Small relations can supply fewer rows.
Review: We tested small-table and changed-statistics-target counterexamples. The finding explicitly concerns large tables and sample demand controlled by the target. E-30 supports that narrower statement without proving universal estimate degradation. We checked sample demand versus actual sampled rows. The finding confines its calculation to scalar-statistics demand at an unchanged target. It does not guarantee identical samples for all tables.

Sources:
- [REL_19_STABLE@48b43081e5 · src/backend/commands/analyze.c:2026-2026](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/commands/analyze.c#L2026-L2026)
  Excerpt:
  ```text
  stats->minrows = 300 * stats->attstattarget;
  ```
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/ref/analyze.sgml:249-253](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/ref/analyze.sgml#L249-L253)
  Excerpt:
  ```text
  The extent of analysis can be controlled by adjusting the
   <xref linkend="guc-default-statistics-target"/> configuration variable, or
   on a column-by-column basis by setting the per-column statistics
   target with <link linkend="sql-altertable"><command>ALTER TABLE ... ALTER COLUMN ... SET
   STATISTICS</command></link>.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F10

### F11 · Accurate · Factual · Lower fillfactor reserves space for same-page updates
Location: excerpt · section “Wide tables split across pages and files” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=Lower%20the%20fillfactor%20so%20an,stay%20on%20the%20same%20page)
Article says:
```text
Lower the fillfactor so an update can often stay on the same page…
```
What is true:
ref/create_table.sgml:1617-1622 documents reserved page space for updated row versions. This improves the chance of same-page placement and HOT updates. It supports the article's conditional recommendation.
Charitable reading:
The article says often, rather than promising that every update stays on its original page.
Review: We checked whether lower fillfactor guarantees same-page updates. Neither the article nor the finding promises that. E-32 supports the increased chance of same-page placement. We tested whether lower fillfactor guarantees same-page updates. Both article and documentation describe increased opportunity, which supports the conditional finding.

Sources:
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/ref/create_table.sgml:1617-1622](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/ref/create_table.sgml#L1617-L1622)
  Excerpt:
  ```text
  to the indicated percentage; the remaining space on each page is
      reserved for updating rows on that page.  This gives <command>UPDATE</command>
      a chance to place the updated copy of a row on the same page as the
      original, which is more efficient than placing it on a different
      page, and makes <link linkend="storage-hot">heap-only tuple
      updates</link> more likely.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F11

### F13 · Accurate · Factual · The documented shard contains a PostgreSQL primary and replicas
Location: excerpt · section “Sharding is the solution to large tables” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=each%20shard%20is%20its%20own,its%20own%20WAL%20and%20replicas.)
Article says:
```text
…each shard is its own cluster, with its own WAL and replicas.
```
What is true:
The topology documentation explicitly defines each shard as a PostgreSQL primary and its replicas. This supports independent PostgreSQL instance state per shard. It does not establish the article's workload-specific performance improvements.
Charitable reading:
The statement describes the documented shard architecture, rather than proving workload isolation under every shared infrastructure arrangement.
Review: We checked whether the topology description establishes performance isolation. The finding excludes that conclusion. E-34 directly supports a primary and replicas per shard. We tested whether the architecture statement proves workload isolation. The primary page defines a shard's primary and replicas. The finding expressly excludes workload-specific performance guarantees.

Sources:
- [https://planetscale.com/blog/what-is-a-data-topology](https://planetscale.com/blog/what-is-a-data-topology)
  Excerpt:
  ```text
  In Neki, a shard consists of a PostgreSQL primary and its replicas.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F13

### F14 · Accurate · Factual · PostgreSQL 18 introduced autovacuum_vacuum_max_threshold
Location: excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=Postgres%2018%20added%20autovacuum_vacuum_max_threshold)
Article says:
```text
Postgres 18 added autovacuum_vacuum_max_threshold…
```
What is true:
PostgreSQL 18 introduced autovacuum_vacuum_max_threshold. REL_18_6 records its introduction in release-18.sgml:10261. REL_18_0 documents the parameter in config.sgml:9064.
Charitable reading:
The claim identifies the release introducing the setting, rather than its current value alone.
Review: We tested whether checking a later maintenance release could misdate the feature. E-40 independently places the parameter in PostgreSQL 18.0. E-39 records its introduction. We checked release introduction separately from current availability. The release history records introduction, and PostgreSQL 18.0 documentation contains the parameter. Both commit pins match.

Sources:
- [REL_18_6 · doc/src/sgml/release-18.sgml:10261-10261](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/release-18.sgml#L10261-L10261)
  Qualification: Version note: Release history checked at REL_18_6.
  Excerpt:
  ```text
  2025-02-05 [306dc520b] Introduce autovacuum_vacuum_max_threshold.
  ```
- [REL_18_0 · doc/src/sgml/config.sgml:9064-9064](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/config.sgml#L9064-L9064)
  Qualification: Version note: Checked the PostgreSQL 18.0 version floor.
  Excerpt:
  ```text
  <term><varname>autovacuum_vacuum_max_threshold</varname> (<type>integer</type>)
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F14

### F15 · Accurate · Factual · pg_squeeze supports concurrent cleanup and requires activation
Location: Article · exact quote · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=To%20compact%20a%20bloated%20table,and%20writes%20continue%2C%20enable%20pg_squeeze)
Article says:
```text
To compact a bloated table while reads and writes continue, enable pg_squeeze…
```
What is true:
pg_squeeze REL1_9_4 supports cleanup alongside regular reads and writes. README.md:1 describes that behavior. The service documentation requires dashboard activation through shared libraries and a database restart.
Charitable reading:
Reads and writes continue during the main rewrite. The claim does not promise zero locking throughout.
Review: We tested whether concurrent cleanup means zero locking or no activation interruption. The finding makes neither promise. E-44 supports concurrent operation, and E-45 supports activation plus restart. We tested whether concurrent cleanup promises zero locking. The finding makes no such promise. The README supports concurrent operation, and service documentation supports activation and restart requirements.

Sources:
- [pg_squeeze@REL1_9_4 · README.md:1-3](https://github.com/cybertec-postgresql/pg_squeeze/blob/400c5f6ae9bc911073a6824e9a19f4d475fb7331/README.md#L1-L3)
  Excerpt:
  ```text
  PostgreSQL extension that removes unused space from a table and optionally
sorts tuples according to particular index (as if [CLUSTER][2] command was
executed concurrently with regular reads / writes). In fact we try to replace
  ```
- [https://planetscale.com/docs/postgres/extensions/pg_squeeze](https://planetscale.com/docs/postgres/extensions/pg_squeeze)
  Excerpt:
  ```text
  This extension requires activation via the PlanetScale Dashboard before it can be used. It must be enabled through shared libraries and requires a database restart.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F15

### F16 · Accurate · Factual · The 500-million-row threshold rounds correctly
Location: excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=A%20table%20with%20~500%20million,dead%20tuples%20before%20autovacuum%20begins.)
Article says:
```text
A table with ~500 million rows needs ~100 million dead tuples before autovacuum begins.
```
What is true:
The default formula gives approximately 100 million dead tuples (derived: 50 + 0.2 × 500 million). REL_17_11 src/backend/postmaster/autovacuum.c:3074 applies that formula.
Charitable reading:
The article rounds the default dead-tuple threshold and discusses PostgreSQL 17.
Review: We recalculated the threshold and checked the additive 50 tuples. The result rounds to 100 million dead tuples. The finding verifies arithmetic rather than guaranteeing worker start time. We recalculated 50 + 0.2 × 500 million. The result rounds to 100 million dead tuples. The finding confines verification to that threshold, rather than all vacuum triggers.

Sources:
- [REL_17_11 · src/backend/postmaster/autovacuum.c:3074-3074](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/postmaster/autovacuum.c#L3074-L3074)
  Qualification: Version note: PostgreSQL 17 formula.
  Excerpt:
  ```text
  vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples;
  ```
- [REL_17_11 · src/backend/utils/misc/guc_tables.c:3354-3355](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/utils/misc/guc_tables.c#L3354-L3355)
  Qualification: Version note: Default base threshold.
  Excerpt:
  ```text
  &autovacuum_vac_thresh,
		50, 0, INT_MAX,
  ```
- [REL_17_11 · src/backend/utils/misc/guc_tables.c:3891-3892](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/utils/misc/guc_tables.c#L3891-L3892)
  Qualification: Version note: Default scale factor.
  Excerpt:
  ```text
  &autovacuum_vac_scale,
		0.2, 0.0, 100.0,
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F16

### F17 · Accurate · Factual · The billion-row threshold comparison is correct
Location: excerpt · section “Slow, late vacuum” · as fetched 2026-10-21 · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=a%20billion%2Drow%20table%20triggered%20autovacuum,number%29%20instead%20of%20200%20million.)
Article says:
```text
…a billion-row table triggered autovacuum at 100 million (still a high number) instead of 200 million.
```
What is true:
PostgreSQL 18 caps the calculated dead-tuple threshold at 100 million. Without that cap, the illustrated formula gives approximately 200 million. REL_18_6 src/backend/postmaster/autovacuum.c:3122 applies the cap.
Charitable reading:
The article describes the default dead-tuple threshold, rather than guaranteeing the exact start time.
Review: We checked the comparison against the actual cap calculation. E-51 applies the maximum, and E-52 supplies 100 million tuples. The uncapped estimate rounds to 200 million. We recalculated the uncapped billion-row threshold and checked the cap. Approximately 200 million becomes 100 million. The finding avoids guaranteeing worker start time.

Sources:
- [REL_18_6 · src/backend/postmaster/autovacuum.c:3122-3124](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/autovacuum.c#L3122-L3124)
  Qualification: Version note: PostgreSQL 18 maximum-threshold calculation.
  Excerpt:
  ```text
  vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples;
		if (vac_max_thresh >= 0 && vacthresh > (float4) vac_max_thresh)
			vacthresh = (float4) vac_max_thresh;
  ```
- [REL_18_6 · src/backend/utils/misc/guc_tables.c:3553-3554](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/misc/guc_tables.c#L3553-L3554)
  Qualification: Version note: Default maximum threshold.
  Excerpt:
  ```text
  &autovacuum_vac_max_thresh,
		100000000, -1, INT_MAX,
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F17

### F18 · Accurate · Factual · Both partition estimates round correctly
Location: Article · exact quote · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=Same%20data%20as%2012%20monthly,million%20dead%20tuples%20per%20partition)
Article says:
```text
…Same data as 12 monthly partitions ~41.7 million each ~8.3 million dead tuples per partition…
```
What is true:
Each equal partition contains approximately 41.7 million rows (derived: 500 million / 12). Its illustrated threshold is approximately 8.33 million dead tuples (derived: 50 + 0.2 × 500 million / 12).
Charitable reading:
The table illustrates 12 equally sized partitions. Calendar partitioning alone does not guarantee equal populations.
Review: We recalculated both figures and tested uneven monthly populations. The finding explicitly assumes equal partitions. That assumption yields 41.7 million rows and approximately 8.33 million dead tuples per partition. We checked equal partition populations rather than assuming calendar months contain equal data. Under the stated illustration, 41.7 million rows and 8.33 million dead tuples round correctly.

Sources:
- [REL_17_11 · src/backend/postmaster/autovacuum.c:3074-3074](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/postmaster/autovacuum.c#L3074-L3074)
  Qualification: Version note: PostgreSQL 17 formula.
  Excerpt:
  ```text
  vacthresh = (float4) vac_base_thresh + vac_scale_factor * reltuples;
  ```
- [REL_17_11 · src/backend/utils/misc/guc_tables.c:3354-3355](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/utils/misc/guc_tables.c#L3354-L3355)
  Qualification: Version note: Default base threshold.
  Excerpt:
  ```text
  &autovacuum_vac_thresh,
		50, 0, INT_MAX,
  ```
- [REL_17_11 · src/backend/utils/misc/guc_tables.c:3891-3892](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/utils/misc/guc_tables.c#L3891-L3892)
  Qualification: Version note: Default scale factor.
  Excerpt:
  ```text
  &autovacuum_vac_scale,
		0.2, 0.0, 100.0,
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F18

### F19 · Accurate · Factual · The protective XID threshold rounds to 2.1 billion
Location: Article · exact quote · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=If%20that%20age%20reaches%20around,Postgres%20goes%20into%20read%2Donly%20mode.)
Article says:
```text
If that age reaches around 2.1 billion, Postgres goes into read-only mode.
```
What is true:
The protective threshold is approximately 2.14 billion XIDs beyond the oldest database horizon (derived: 2^31 − 1 − 3 million). src/backend/access/transam/varsup.c:400 reserves the final 3 million XIDs.
Charitable reading:
Read-only mode describes refusal to assign new XIDs. The article gives an approximate threshold.
Review: We checked whether the arithmetic incorrectly uses the full 32-bit range. E-55 uses half that range, and E-56 subtracts 3 million XIDs. The finding verifies the numerical threshold without claiming a configuration change. We separated the numerical threshold from the phrase read-only mode. The finding verifies only the approximate XID threshold. Its calculation correctly subtracts the reserved 3 million XIDs.

Sources:
- [REL_19_STABLE@48b43081e5 · src/backend/access/transam/varsup.c:384-384](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/access/transam/varsup.c#L384-L384)
  Excerpt:
  ```text
  xidWrapLimit = oldest_datfrozenxid + (MaxTransactionId >> 1);
  ```
- [REL_19_STABLE@48b43081e5 · src/backend/access/transam/varsup.c:400-400](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/access/transam/varsup.c#L400-L400)
  Excerpt:
  ```text
  xidStopLimit = xidWrapLimit - 3000000;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F19

### F20 · Accurate · Factual · The three backup categories match PostgreSQL documentation
Location: Article · exact quote · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=Postgres%20gives%20you%20three%20ways%20to%20take%20a%20backup.)
Article says:
```text
…Postgres gives you three ways to take a backup.
```
What is true:
doc/src/sgml/backup.sgml:19 lists SQL dumps, filesystem backups, and continuous archiving. The article uses those 3 categories.
Charitable reading:
The article counts backup categories, rather than individual tools or combinations.
Review: We tested whether additional backup tools invalidate the count. E-58 lists categories, and the finding limits its endorsement to those 3 categories. We tested whether three meant individual tools rather than categories. The article's following descriptions match the documentation's 3 backup categories.

Sources:
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/backup.sgml:19-21](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/backup.sgml#L19-L21)
  Excerpt:
  ```text
  <listitem><para><acronym>SQL</acronym> dump</para></listitem>
   <listitem><para>File system level backup</para></listitem>
   <listitem><para>Continuous archiving</para></listitem>
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F20

## Notes (not graded) (4)

### F12 · Note ·  · Note: “It stats every file in the database serially.”
Location: Article · exact quote · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=It%20stats%20every%20file%20in%20the%20database%20serially.)
Article says:
```text
It stats every file in the database serially.
```
What is true:
dbsize.c:86-98 reads directory entries serially and calls stat for each entry except dot entries. This excerpt establishes serial metadata calls within a directory. It does not show calculate_database_size invoking the helper or establish CPU utilization.
Explanation: Not graded: no reader would act differently on it.
Review: We checked the helper and its surrounding caller. E-33 records only the directory loop. It omits the caller needed to verify pg_database_size's database-wide behavior.

Sources:
- [REL_19_STABLE@48b43081e5 · src/backend/utils/adt/dbsize.c:86-98](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/utils/adt/dbsize.c#L86-L98)
  Excerpt:
  ```text
  while ((direntry = ReadDir(dirdesc, path)) != NULL)
	{
		struct stat fst;

		CHECK_FOR_INTERRUPTS();

		if (strcmp(direntry->d_name, ".") == 0 ||
			strcmp(direntry->d_name, "..") == 0)
			continue;

		snprintf(filename, sizeof(filename), "%s/%s", path, direntry->d_name);

		if (stat(filename, &fst) < 0)
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F12

### F21 · Note ·  · Note: “Each toasted value gets a 32-bit OID, about 4 billion per table.”
Location: Article · exact quote · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=Each%20toasted%20value%20gets%20a,about%204%20billion%20per%20table.)
Article says:
```text
Each toasted value gets a 32-bit OID, about 4 billion per table.
```
What is true:
postgres_ext.h:32 defines Oid as unsigned int. toast_internals.c:217-218 passes the TOAST relation to GetNewOidWithIndex. A 32-bit namespace contains approximately 4.3 billion values. These excerpts do not independently establish the type's bit width or usable identifier count.
Explanation: Not graded: no reader would act differently on it.
Review: We checked the type declaration, allocation call, and arithmetic. Two to the power 32 rounds correctly. E-60 declares unsigned int without establishing its width. E-61 omits allocation limits.

Sources:
- [REL_19_STABLE@48b43081e5 · src/include/postgres_ext.h:32-32](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/include/postgres_ext.h#L32-L32)
  Excerpt:
  ```text
  typedef unsigned int Oid;
  ```
- [REL_19_STABLE@48b43081e5 · src/backend/access/common/toast_internals.c:217-218](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/src/backend/access/common/toast_internals.c#L217-L218)
  Excerpt:
  ```text
  toast_pointer.va_valueid =
			GetNewOidWithIndex(toastrel,
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F21

### F22 · Note ·  · A different build can use pages larger than 8 KiB
Location: Article · exact quote · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=you%20cannot%20buy%20greater%20limits%20than%208KB%20pages)
Article says:
```text
…you cannot buy greater limits than 8KB pages…
```
What is true:
PostgreSQL supports build-time page sizes through 32 KiB. doc/src/sgml/installation.sgml:1510 documents that range. Changing page size breaks disk compatibility and prevents pg_upgrade between those builds.
Charitable reading:
The sentence concerns buying hardware. Hardware alone does not change an existing cluster's page size.
Explanation: Not graded: no reader would act differently on it.
Review: We applied the article's hardware-upgrade qualification. Hardware alone does not change page size, so a graded charge would overreach. The existing note correctly supplies the build-time exception and compatibility restriction. We checked the hardware-only reading. Hardware does not change an existing cluster's page size. The finding remains an ungraded note about supported builds and their compatibility restriction.

Sources:
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/installation.sgml:1510-1513](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/installation.sgml#L1510-L1513)
  Excerpt:
  ```text
  The value must be a power of 2 between 1 and 32 (kilobytes).
         Note that changing this value breaks on-disk database compatibility,
         meaning you cannot use <command>pg_upgrade</command> to upgrade to
         a build with a different block size.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F22

### F23 · Note ·  · The TOAST target is configurable
Location: Article · exact quote · [open in article](https://planetscale.com/blog/dealing-with-large-tables-in-postgres#:~:text=the%202KB%20TOAST%20threshold)
Article says:
```text
…the 2KB TOAST threshold…
```
What is true:
toast_tuple_target defaults to 2,040 bytes with the default block size. doc/src/sgml/ref/create_table.sgml:1644 permits targets from 128 bytes through 8,160 bytes for that block size.
Charitable reading:
The sentence concerns hardware upgrades. Hardware alone does not alter the configured TOAST target.
Explanation: Not graded: no reader would act differently on it.
Review: We checked whether configuration flexibility contradicts the narrower hardware claim. It does not. The existing note identifies toast_tuple_target and its documented range without grading the hardware statement as incorrect. We checked whether configurability contradicts the hardware limitation. It does not. The ungraded note correctly states the default and permitted target range for default-size blocks.

Sources:
- [REL_19_STABLE@48b43081e5 · doc/src/sgml/ref/create_table.sgml:1644-1646](https://github.com/postgres/postgres/blob/48b43081e550f9e4b04e1184ed6d3fed4f850691/doc/src/sgml/ref/create_table.sgml#L1644-L1646)
  Excerpt:
  ```text
  By default this parameter is set to allow at least 4 tuples per block,
      which with the default block size will be 2040 bytes. Valid values are
      between 128 bytes and the (block size - header), by default 8160 bytes.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3#F23

## Withdrawn findings (0)

None.

## Section checks

- Vacuum and statistics · A · 8 verified-accurate · 63% of claims (21 of 33)
- Transaction IDs · A · 1 verified-accurate · 88% of claims (8 of 9, plus 1 that need data we do not have)
- Vacuum horizons and repacking · B- · 1 inaccuracy · 2 misleading · 1 verified-accurate · 57% of claims (12 of 21, plus 2 that need data we do not have) provisional
- Queries and connections · B+ · 1 misleading · 30% of claims (4 of 13, plus 3 that need data we do not have) provisional
- Backups and recovery · A · 1 verified-accurate · 43% of claims (7 of 16, plus 4 that need data we do not have) provisional
- Indexes · B+ · 1 misleading · 40% of claims (4 of 10, plus 2 that need data we do not have) provisional
- Wide rows and storage · B+ · 1 misleading · 1 verified-accurate · 58% of claims (17 of 29, plus 3 that need data we do not have) provisional
- Sharding conclusion · A · 1 verified-accurate · 100% of claims (1 of 1, plus 5 that need data we do not have)

## Claim coverage

- Introduction: 0 of 4 Postgres claims checked; not counted: 2 product or opinion, 1 not a claim; not checked: 4 for other reasons
- Cascade-delete outage: 1 of 3 Postgres claims checked, plus 9 that need data we do not have; not counted: 4 product or opinion, 1 not a claim; not checked: 2 for other reasons
- Remedies: 3 of 4 Postgres claims checked, plus 1 that need data we do not have; not counted: 5 product or opinion, 2 not a claim; not checked: 1 for other reasons
- Vacuum and statistics: 21 of 33 Postgres claims checked; not counted: 3 product or opinion, 3 duplicate, 2 not a claim; not checked: 12 for other reasons
- Transaction IDs: 8 of 9 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 not a claim; not checked: 1 for other reasons
- Vacuum horizons and repacking: 12 of 21 Postgres claims checked, plus 2 that need data we do not have; not counted: 2 product or opinion, 2 duplicate, 1 not a claim; not checked: 9 for other reasons
- Queries and connections: 4 of 13 Postgres claims checked, plus 3 that need data we do not have; not counted: 2 product or opinion, 1 not a claim; not checked: 9 for other reasons
- Backups and recovery: 7 of 16 Postgres claims checked, plus 4 that need data we do not have; not counted: 3 product or opinion, 3 duplicate, 1 not a claim; not checked: 9 for other reasons
- Indexes: 4 of 10 Postgres claims checked, plus 2 that need data we do not have; not counted: 7 product or opinion, 1 duplicate, 1 not a claim; not checked: 6 for other reasons
- Wide rows and storage: 17 of 29 Postgres claims checked, plus 3 that need data we do not have; not counted: 2 product or opinion, 1 duplicate, 1 not a claim; not checked: 12 for other reasons
- Sharding conclusion: 1 of 1 Postgres claims checked, plus 5 that need data we do not have; not counted: 8 product or opinion, 11 duplicate, 3 not a claim

## What we did not check

- We did not verify the customer's cascade-delete incident or its resource measurements.
- We did not inspect Neki's routing implementation or automatic storage-option management.
- We did not reproduce the article's performance and outage claims.
- We did not complete the tuple-size, heap-allocation, and partition storage-option checks.
- We did not establish the article's public URL.
- We did not verify the customer outage without its schema, logs, and workload measurements.
- We did not independently verify Neki routing, resource isolation, or backup performance.
- We did not check most performance comparisons between sharding, partitioning, and vertical scaling.
- We did not reach the author's social profile or the account registration page.
- We did not establish historical changes to the vendor services after August 25, 2026.
- We did not verify the customer's 100,000 parent-row deletions or child-row counts.
- We did not verify the estimated filesystem copy time or wasted pages from an unsuitable fillfactor.
- Safe: we did not complete every applicable check.
- Section “Vacuum horizons and repacking”: we checked 12 of 23 checkable claims.
- Section “Queries and connections”: we checked 4 of 16 checkable claims.
- Section “Backups and recovery”: we checked 7 of 20 checkable claims.
- Section “Indexes”: we checked 4 of 12 checkable claims.
- Section “Wide rows and storage”: we checked 17 of 32 checkable claims.
- Section “Introduction”: we checked 0 of 4 checkable claims.
- Section “Cascade-delete outage”: we checked 1 of 12 checkable claims.
- We could not decide whether the evidence backs the central claim.
- We could not decide whether the article depends on finding F1.
- We hold no source mapping for “Neki”, so we did not check the article's claims about its code.

## Notes

- Central claim not verified. We checked PostgreSQL mechanisms behind the recommendation, but did not establish that sharding outperforms partitioning or larger instances.
- 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: 3.06 · 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_19_STABLE@48b43081e5 at commit 48b43081e550f9e4b04e1184ed6d3fed4f850691 (pinned target); github.com/cybertec-postgresql/pg_squeeze REL1_9_4 at commit 400c5f6ae9bc911073a6824e9a19f4d475fb7331 (pinned target); https://planetscale.com/blog/author/simeon (fetched 2026-10-21T05:01:11.708479Z); https://planetscale.com/blog/dealing-with-large-tables (fetched 2026-10-21T05:01:22.980572Z); https://planetscale.com/blog/massively-parallel-postgres-backups (fetched 2026-10-21T05:01:20.292931Z); https://planetscale.com/blog/postgres-backups-under-the-hood (fetched 2026-10-21T05:01:17.828534Z); https://planetscale.com/blog/postgresql-mvcc (fetched 2026-10-21T05:01:15.339043Z); https://planetscale.com/blog/what-is-a-data-topology (fetched 2026-10-21T05:01:21.315191Z); https://planetscale.com/blog/whats-new-in-postgres-19 (fetched 2026-10-21T05:01:16.456096Z); https://planetscale.com/docs/postgres/extensions/pg_squeeze (fetched 2026-10-21T05:01:19.206114Z); https://planetscale.com/neki (fetched 2026-10-21T05:01:12.982431Z).
- Article captured 2026-10-21T05:00:56.609640Z · SHA-256 cd2b58e211baf812ab15e4892e4a326b27f97c499a3e8fb27eb75ffde352b2c5 · Text extracted from the article's HTML.
- Policy SHA-256 4041b85689b23ed21e2be55b11681aaf054a2ee3fc3f4740fc91f62a8bd79b81 · Grading rules SHA-256 6fb334e79d6b9e7ed81d3238cc10d9de602ff87ed65ff2fa781f53bac5798765.
- We did not verify the customer's cascade-delete incident, row counts, or resource measurements.
- We did not inspect Neki's routing implementation or automatic storage-option management.
- We did not verify most performance comparisons between sharding, partitioning, and larger instances.
- We did not reproduce the displayed performance and outage claims.
- We did not complete the tuple-size, heap-allocation, and partition storage-option checks.
- We did not verify the estimated filesystem copy time or wasted space from unsuitable fillfactor settings.
- We did not reach the author's social profile or the account registration page.
- We did not establish historical changes to the services after August 25, 2026.
- The article names no pg_squeeze version. We checked release 1.9.4.
- The article gives August 25, 2026 without a publication time. We list that date at midnight UTC.
- article target version: bound to the most-cited major; also named 18 (1×), 17 (1×)
- source: pg_squeeze names no release in the article, so it was read at 1.9.4, the latest at fetch time
- source: we did not check the article's claims about Neki against its source code, because we keep no copy of it
- review: the findings were written by one model and reviewed independently by a different model.
- 2026-10-30: Regraded under the current grading rules: the letter is the average of the axis letters, with every cap stated under it.
- 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 9 fetched pages.
- 19 survived · 4 weakened · 0 withdrawn.

## Revision history

- [Revision 1](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3?v=43) · 2026-09-11 17:51 UTC · B · audit version not recorded · regrade version not recorded
  Article as first submitted. 1 accurate · 3 wrong · 4 caveats.
  ElephantSeal: B.
  Changes: First audit. Open: F1 “xmin is still cluster-wide, so a long query anywhere on the cluster still pins every partition.” (misleading); F4 “Vacuum will need to walk the entire table again later.” (misleading); F8 “…cannot be solved by partitioning or vertical scaling are resolved. Postgres' hard-coded ceilings of 32-bit XIDs, TOAST OID…” (misleading); F2 “If a row exceeds ~2KB, oversized values go to TOAST…” (mostly accurate); F3 “…greater limits than 8KB pages, the 2KB TOAST threshold…” (mostly accurate); F5 “Accumulate indexes and pay for it with an enlarged heap…” (mostly accurate); F6 “…the backup doesn't compete with production queries for disk…” (mostly accurate).
- [Revision 2](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3?v=48) · 2026-10-19 06:44 UTC · D+ · audited with v1.0.14 (approx.)
  Same article text, re-audited. 17 accurate · 7 wrong · 1 caveat.
  ElephantSeal: D+.
  Changes: No longer reported: “Vacuum will need to walk the entire table again later.”; “…cannot be solved by partitioning or vertical scaling are resolved. Postgres' hard-coded ceilings of 32-bit XIDs, TOAST OID…”; “If a row exceeds ~2KB, oversized values go to TOAST…”; “…greater limits than 8KB pages, the 2KB TOAST threshold…”; “Accumulate indexes and pay for it with an enlarged heap…”; “…the backup doesn't compete with production queries for disk…”. New: F6 “Additional indexes do not make every write update additional index files” (false); F1 “pg_squeeze requires more free disk than the partition's heap size” (misleading); F4 “Rows over approximately 2 KB do not necessarily move values out of line” (misleading); F21 “…a long query anywhere on the cluster still pins every partition…” (misleading); F23 “Large tables can support appropriate sequential scans” (misleading); F28 “The conclusion contradicts the stated TOAST benefit of partitioning” (misleading); F22 “Repeat VACUUM passes can skip eligible pages” (mostly accurate).
- [Revision 3](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3?v=50) · 2026-10-19 20:44 UTC · D+ · audited with v1.0.16 (approx.)
  Same article text, re-audited. 12 accurate · 5 wrong · 1 caveat.
  ElephantSeal: D+.
  Changes: No longer reported: “pg_squeeze requires more free disk than the partition's heap size”; “xmin is still cluster-wide, so a long query anywhere on the cluster still pins every partition.”; “Rows over approximately 2 KB do not necessarily move values out of line”; “…a long query anywhere on the cluster still pins every partition…”; “Large tables can support appropriate sequential scans”; “The conclusion contradicts the stated TOAST benefit of partitioning”; “Repeat VACUUM passes can skip eligible pages”. New: F3 “Rows exceeding 2 kB can remain inline after compression” (false); F4 “Additional RAM can cache a table of hundreds of gigabytes” (false); F7 “A subsequent vacuum can skip previously cleaned pages” (false); F2 “Ordinary-table vacuum horizons are normally database-specific” (misleading); F1 “The squeeze disk estimate omits indexes and temporary copies” (mostly accurate).
- [Revision 4](https://pgtrue.postgres.ai/shared/brief/d6f65898-104d-4748-8255-ec4b3cdc84c3?v=53) · this page · 2026-10-21 05:00 UTC · D+ · audited with v1.0.17 (approx.) · regraded with v1.1.3
  Same article text, re-audited. 13 accurate · 6 wrong · 0 caveats.
  ElephantSeal: D+. Open: the production risk is not yet fixed or warned about.
  Changes: No longer reported: “Rows exceeding 2 kB can remain inline after compression”; “Additional RAM can cache a table of hundreds of gigabytes”; “Eligible HOT updates do not write every ordinary index”; “A subsequent vacuum can skip previously cleaned pages”; “Ordinary-table vacuum horizons are normally database-specific”; “The squeeze disk estimate omits indexes and temporary copies”. New: F1 “pg_squeeze needs more spare disk than one partition's size” (false); F2 “…a long query anywhere on the cluster still pins every partition.” (misleading); F3 “A later vacuum need not rescan the entire heap” (misleading); F4 “Crossing roughly 2 kB does not guarantee out-of-line storage” (misleading); F5 “…make every write touch more files.” (misleading); F6 “PostgreSQL has no hundreds-of-GB cache ceiling” (misleading).

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