{"schema": "pgtrue.report/1", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd", "published": "2026-10-21T03:56:08Z", "publisher": "PostgresAI", "article": {"title": "Reducing storage initialization impact in Amazon RDS for PostgreSQL after snapshot restore | Amazon Web Services", "url": "https://aws.amazon.com/blogs/database/reducing-storage-initialization-impact-in-amazon-rds-for-postgresql-after-snapshot-restore", "date_published": "2026-10-14T15:52:26Z", "author": "Sandeep Modappady, Arunkumar Pattabiraman, and Mahesh Thakur", "publisher": "AWS Database Blog"}, "grade": "B", "axes": [{"axis": "Factual", "summary": "A \u00b7 0 wrong of 17 checked \u00b7 0 caveats"}, {"axis": "Applicable", "summary": "B+ \u00b7 1 wrong of 13 checked \u00b7 2 caveats"}, {"axis": "Consistent", "summary": "A \u00b7 0 wrong of 17 checked \u00b7 0 caveats"}, {"axis": "Transparent", "summary": "C \u00b7 0 wrong of 6 checked \u00b7 0 caveats \u00b7 reproducibility: C (no versions)"}, {"axis": "Safe", "summary": "not applicable"}], "findings": [{"anchor": "F1", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F1", "claim": "\u2026SELECT * / COUNT(*) Heap only No\u2026", "title": "COUNT(*) does not guarantee heap hydration", "explanation": "COUNT(*) can scan an index instead of the heap. PostgreSQL 18.6 skips heap fetches for all-visible pages during index-only scans. The count can finish while heap blocks remain untouched.", "verdict": "Misleading", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/func.sgml#L22714-L22717", "label": "REL_18_6 \u00b7 doc/src/sgml/func.sgml:22714-22717"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/executor/nodeIndexonlyscan.c#L129-L131", "label": "REL_18_6 \u00b7 src/backend/executor/nodeIndexonlyscan.c:129-131"}]}, {"anchor": "F2", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F2", "claim": "\u2026depends entirely on the dead-tuple ratio\u2026", "explanation": "VACUUM hydration also depends on visibility-map state and freezing requirements. REL_18_6 src/backend/access/heap/vacuumlazy.c:54 permits eager scans of otherwise skippable pages. The article correctly recommends pg_prewarm over VACUUM for complete hydration.", "verdict": "Mostly accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/heap/visibilitymap.c#L25-L28", "label": "REL_18_6 \u00b7 src/backend/access/heap/visibilitymap.c:25-28"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/heap/vacuumlazy.c#L54-L57", "label": "REL_18_6 \u00b7 src/backend/access/heap/vacuumlazy.c:54-57"}]}, {"anchor": "F3", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F3", "claim": "The sample size is proportional to the default_statistics_target parameter\u2026", "title": "Explicit statistics targets can control the ANALYZE sample", "explanation": "default_statistics_target applies when a column has no explicit target. ANALYZE also considers targets from extended-statistics objects. Changing the default alone need not change the requested sample.", "verdict": "Mostly accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/analyze.c#L513-L521", "label": "REL_18_6 \u00b7 src/backend/commands/analyze.c:513-521"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L6443-L6445", "label": "REL_18_6 \u00b7 doc/src/sgml/config.sgml:6443-6445"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/analyze.c#L1897-L1899", "label": "REL_18_6 \u00b7 src/backend/commands/analyze.c:1897-1899"}]}, {"anchor": "F4", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F4", "claim": "\u2026buffer Loads into PostgreSQL shared_buffers\u2026", "title": "The prewarming modes use the described cache paths", "explanation": "Buffer mode loads shared_buffers. Read mode synchronously reads blocks outside shared_buffers. Prefetch mode issues operating-system hints and does not wait for completion. The mode table distinguishes these paths.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/contrib/pg_prewarm/pg_prewarm.c#L240-L240", "label": "REL_18_6 \u00b7 contrib/pg_prewarm/pg_prewarm.c:240-240"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/contrib/pg_prewarm/pg_prewarm.c#L199-L201", "label": "REL_18_6 \u00b7 contrib/pg_prewarm/pg_prewarm.c:199-201"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/contrib/pg_prewarm/pg_prewarm.c#L223-L225", "label": "REL_18_6 \u00b7 contrib/pg_prewarm/pg_prewarm.c:223-225"}]}, {"anchor": "F5", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F5", "claim": "\u2026JOIN pg_index idx ON idx.indrelid = t.oid\u2026", "explanation": "pg_class.reltoastrelid identifies the TOAST table. relnamespace references pg_namespace.oid. The quoted join matches pg_index.indrelid to t.oid. pg_index.indexrelid identifies the index.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/catalog/pg_class.h#L74-L75", "label": "REL_18_6 \u00b7 src/include/catalog/pg_class.h:74-75"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/catalog/pg_class.h#L38-L41", "label": "REL_18_6 \u00b7 src/include/catalog/pg_class.h:38-41"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/catalog/pg_namespace.h#L35-L39", "label": "REL_18_6 \u00b7 src/include/catalog/pg_namespace.h:35-39"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/catalog/pg_index.h#L31-L32", "label": "REL_18_6 \u00b7 src/include/catalog/pg_index.h:31-32"}]}, {"anchor": "F6", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F6", "claim": "\u2026must have SELECT privilege on the target tables.", "title": "pg_prewarm checks SELECT privilege", "explanation": "contrib/pg_prewarm/pg_prewarm.c:149\u2013151 checks ACL_SELECT before prewarming. A failed check raises a permission error.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/contrib/pg_prewarm/pg_prewarm.c#L149-L151", "label": "REL_18_6 \u00b7 contrib/pg_prewarm/pg_prewarm.c:149-151"}]}, {"anchor": "F7", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F7", "claim": "\u2026ANALYZE collects statistics for the query planner by sampling a limited subset of table rows.", "title": "ANALYZE samples blocks and rows", "explanation": "ANALYZE first samples blocks, then rows within those blocks. Small relations can have every block read. default_statistics_target defaults to 100.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/analyze.c#L1177-L1181", "label": "REL_18_6 \u00b7 src/backend/commands/analyze.c:1177-1181"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/misc/guc_tables.c#L2193-L2194", "label": "REL_18_6 \u00b7 src/backend/utils/misc/guc_tables.c:2193-2194"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/analyze.c#L1897-L1899", "label": "REL_18_6 \u00b7 src/backend/commands/analyze.c:1897-1899"}]}, {"anchor": "F8", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F8", "claim": "\u2026tracks which pages contain only visible tuples.", "title": "Visibility-map and VACUUM maintenance descriptions match the source", "explanation": "The visibility map records all-visible and all-frozen state per heap page. VACUUM reclaims dead tuples and updates the free-space map.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/heap/visibilitymap.c#L25-L28", "label": "REL_18_6 \u00b7 src/backend/access/heap/visibilitymap.c:25-28"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/heap/vacuumlazy.c#L11-L13", "label": "REL_18_6 \u00b7 src/backend/access/heap/vacuumlazy.c:11-13"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/heap/vacuumlazy.c#L31-L32", "label": "REL_18_6 \u00b7 src/backend/access/heap/vacuumlazy.c:31-32"}]}, {"anchor": "F9", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F9", "claim": "Lazy loading applies to snapshot restores\u2026", "title": "RDS documents background initialization after snapshot restore", "explanation": "RDS documents background storage initialization after snapshot restore. The instance remains available during initialization. The same documentation lists PITR, read replica creation, and Single-AZ to Multi-AZ conversion.", "verdict": "Accurate", "sources": [{"url": "https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/accessing-monitoring.html", "label": "https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/accessing-monitoring.html"}]}, {"anchor": "F10", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F10", "claim": "\u2026fully initializing a volume at creation time\u2026", "title": "EBS FSR initializes restored volumes at creation", "explanation": "The EBS guide states that FSR creates a fully initialized volume. It eliminates the first-access block latency described in the article.", "verdict": "Accurate", "sources": [{"url": "https://docs.aws.amazon.com/ebs/latest/userguide/ebs-fast-snapshot-restore.html", "label": "https://docs.aws.amazon.com/ebs/latest/userguide/ebs-fast-snapshot-restore.html"}]}, {"anchor": "F11", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F11", "claim": "\u2026prefetch Asynchronous \u2013 Queues multiple I/O requests in parallel\u2026", "title": "pg_prewarm prefetch issues asynchronous requests", "explanation": "PostgreSQL 18 documents asynchronous operating-system requests for prefetch mode. Platforms without prefetch support raise an error. This confirms request behavior, not RDS hydration completion.", "verdict": "Accurate", "sources": [{"url": "https://www.postgresql.org/docs/current/pgprewarm.html", "label": "https://www.postgresql.org/docs/current/pgprewarm.html"}]}, {"anchor": "F12", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F12", "claim": "\u2026StorageOperationStatus (returns Initializing while in progress)\u2026", "title": "RDS documents both initialization progress fields", "explanation": "RDS documents StorageOperationStatus and StorageOperationPercentProgress for initialization progress per volume. StorageOperationStatus uses Initializing during initialization. This check does not verify the article's CLI response path.", "verdict": "Accurate", "sources": [{"url": "https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/accessing-monitoring.html", "label": "https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/accessing-monitoring.html"}]}, {"anchor": "F13", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F13", "claim": "\u2026PostgreSQL maintains a visibility map alongside each table that tracks which pages contain only visible tuples.", "title": "The visibility map records all-visible heap pages", "explanation": "PostgreSQL 18 documents a visibility map for each heap relation. Its all-visible bit identifies pages whose tuples are visible to all active transactions. A separate bit records all-frozen pages.", "verdict": "Accurate", "sources": [{"url": "https://www.postgresql.org/docs/current/storage-vm.html", "label": "https://www.postgresql.org/docs/current/storage-vm.html"}]}, {"anchor": "F14", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F14", "claim": "\u2026the TOAST table, and the TOAST index.", "title": "TOAST storage has its own index", "explanation": "PostgreSQL 18 documents a unique TOAST index on chunk_id and chunk_seq. The article correctly treats the TOAST table and its index as separate objects.", "verdict": "Accurate", "sources": [{"url": "https://www.postgresql.org/docs/current/storage-toast.html", "label": "https://www.postgresql.org/docs/current/storage-toast.html"}]}, {"anchor": "F16", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F16", "claim": "\u202644 sec 571 sec\u2026", "title": "The large-scan durations support approximately 13\u00d7", "explanation": "The printed scan durations imply a 13.0\u00d7 runtime ratio (derived: 571 seconds / 44 seconds). The approximately 13\u00d7 label agrees.", "verdict": "Accurate", "sources": []}, {"anchor": "F17", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F17", "claim": "\u2026123 sec 1,531 sec\u2026", "title": "The join durations support approximately 12\u00d7", "explanation": "The printed join durations imply a 12.4\u00d7 runtime ratio (derived: 1,531 seconds / 123 seconds). The approximately 12\u00d7 label agrees.", "verdict": "Accurate", "sources": []}, {"anchor": "F18", "url": "https://pgtrue.postgres.ai/shared/brief/21d3c75d-5017-44b9-8817-e48966f265cd#F18", "claim": "\u20262\u20133 ms Up to 40 ms\u2026", "title": "The 15\u00d7 latency comparison fits the printed range", "explanation": "Comparing 40 ms against 2\u20133 ms gives ratios from 13.3\u00d7 to 20\u00d7. Approximately 15\u00d7 fits that range. This establishes numerical compatibility, not a measured average reduction.", "verdict": "Accurate", "sources": []}]}