Skip to content

pg_pageprep

Prepares heap pages on PostgreSQL or Postgres Pro Standard for migration to the 64-bit-XID page format used by Postgres Pro Enterprise.

pg_pageprep · Prepares heap pages on PostgreSQL or Postgres Pro Standard for migration to the 64-bit-XID page format used by Postgres Pro Enterprise.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
100202pg_pagepreppg_pageprep0.1ETLPostgreSQLC

PostgreSQL · 10, 11

Relationships
Requiresplpgsql

Usage

Sources:

pg_pageprep is a work-in-progress migration aid that prepares ordinary heap pages for PostgresPro Enterprise’s 64-bit transaction-ID page format. The reviewed code targets migrations from PostgreSQL or PostgresPro Standard 10/11 to PostgresPro Enterprise 11.

shared_preload_libraries = 'pg_pageprep'
pg_pageprep.database = 'postgres'
pg_pageprep.role = 'postgres'

After restart, create the extension in every database and manage workers with the supplied script or functions. Processing may change relation fillfactor to 90; after upgrade, stop workers and restore original fillfactors. This is invasive, version-specific migration software: rehearse on a restored copy, inventory unsupported relations, monitor bloat and I/O, take a verified backup, and use only with the matching PostgresPro migration procedure.

Table reader