Skip to content

Suppress RM_APPEND_ONLY_ID WAL records for offloaded AO/AOCS tables - #454

Open
MutableFire wants to merge 1 commit into
open-gpdb:OPENGPDB_STABLEfrom
MutableFire:skip-offloaded-rm-ao-wal
Open

MutableFire wants to merge 1 commit into
open-gpdb:OPENGPDB_STABLEfrom
MutableFire:skip-offloaded-rm-ao-wal

Conversation

@MutableFire

Copy link
Copy Markdown
Contributor

Prevents generation of RM_APPEND_ONLY_ID WAL records for append-optimized tables with the offloaded storage option enabled. The change covers INSERT, TRUNCATE, and ALTER TABLE ADD COLUMN operations on both row-oriented and column-oriented AO tables. A new helper function RelationNeedsRMAO is introduced to check whether a relation requires append-only WAL logging, returning false when the offloaded reloption is set. Tests verify that normal AO/AOCS tables continue to produce these WAL records while offloaded tables do not, including dynamic toggling of the offloaded option at runtime.

@MutableFire
MutableFire force-pushed the skip-offloaded-rm-ao-wal branch 5 times, most recently from d60150e to c8b8286 Compare November 10, 2026 13:23
@MutableFire
MutableFire force-pushed the skip-offloaded-rm-ao-wal branch from c8b8286 to a8acab8 Compare November 10, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant