# vacuum_multixact_freeze_table_age

> vacuum_multixact_freeze_table_age — Multixact age at which VACUUM should scan whole table to freeze tuples. Observed in PG9.3–19 Beta 3; its last measured boot default is 150000000 in PG19 Beta 3, with user context. This is a beta-snapshot fact and can change before PostgreSQL 19 GA.
---

> [!NOTE]
> **Fact — official short description:** “Multixact age at which VACUUM should scan whole table to freeze tuples.”

## Identity {#identity}

| Field | Value | Meaning |
| --- | --- | --- |
| Type | `integer` | Upstream pg_settings type |
| Context | `user` | Settable by an ordinary user |
| Unit | — | Raw unit |
| Range | `0` – `2000000000` | Raw limits in the last observed version |
| Enum values | — | — for non-enum types |
| Category | Vacuuming / Freezing | Upstream classification |
| Latest boot value | `150000000` | 150000000 |
{.fields meta="-"}

## Lifecycle {#lifecycle}

| Fact | Value |
| --- | --- |
| First observed | PG9.3 |
| Present in | PG9.3–19 Beta 3 |
| Removed in | No |
| Introduction commit | [`fb47de2be6e4`](https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=fb47de2be6e44397ab40508729606697f52702ac) — Separate multixact freezing parameters from xid's |
| Commit date | 2014-02-13 |
| Discussion | — |

## Default history {#default-history}

| Versions | Raw `boot_val` | Unit | Human value |
| --- | --- | --- | --- |
| PG9.3–19 Beta 3 | `150000000` | — | 150000000 |
{.full-width caption="Measured PG9.0–19 Beta 3 boot defaults"}

## How it works {#mechanism}

Sets the MultiXact age at which VACUUM switches to an aggressive scan so it can advance a table’s relminmxid. It is a user-context setting.

An aggressive MXID scan visits every page not already all-frozen and processes eligible MultiXacts. PostgreSQL caps the effective value at 95% of autovacuum_multixact_freeze_max_age.

Monitor mxid_age(relminmxid), mxid_age(datminmxid), and pg_multixact storage. The XID horizon relfrozenxid is controlled by vacuum_freeze_table_age instead.

## Tuning advice {#tuning-advice}

> [!TIP]
> **Advice.** These are workload-specific starting points and must be validated with measurements.

| Workload | Guidance |
| --- | --- |
| OLTP | Choose an MXID threshold that leaves enough time to complete aggressive scans before autovacuum_multixact_freeze_max_age. Measure workloads with heavy shared row locking. |
| OLAP | Most read-only analytics consume few MXIDs, but concurrent loaders can differ. Schedule scans from measured mxid_age and member-space growth rather than copying XID settings. |
| Small nodes | Keep the default and monitor relminmxid/datminmxid. A small database can still consume MXIDs rapidly through row-locking patterns. |
{.full-width}

## Pigsty {#pigsty}

Values use the fixed 8-vCPU, 32-GiB, 100-GiB SSD fixture and render the current Pigsty templates for PG19 Beta 3; this does not assert current Pigsty support for that historical or beta release.

| Template | Effective value | Versus upstream boot | Source expression |
| --- | --- | --- | --- |
| OLTP | Unmodified | — | — |
| OLAP | Unmodified | — | — |
| CRIT | Unmodified | — | — |
| TINY | Unmodified | — | — |
{.full-width}

> [!CAUTION]
> **Advice — pending human review.** Fact from the current Pigsty template projection: OLTP: PG9.3–19 Beta 3 unmodified; OLAP: PG9.3–19 Beta 3 unmodified; CRIT: PG9.3–19 Beta 3 unmodified; TINY: PG9.3–19 Beta 3 unmodified. No Pigsty-specific rationale is inferred from an absent override.

## Common pitfalls {#common-pitfalls}

- Monitoring relfrozenxid instead of the MultiXact horizon relminmxid.
- Using autovacuum_freeze_max_age rather than autovacuum_multixact_freeze_max_age for the 95% cap.
- Copying an XID-age policy into an MXID workload with a very different consumption rate.
- Ignoring pg_multixact member-space pressure while age still appears comfortable.

## Related parameters {#related-parameters}

[`autovacuum_multixact_freeze_max_age`](/parameters/autovacuum-multixact-freeze-max-age/) · [`vacuum_multixact_freeze_min_age`](/parameters/vacuum-multixact-freeze-min-age/) · [`vacuum_multixact_failsafe_age`](/parameters/vacuum-multixact-failsafe-age/) · [`vacuum_freeze_table_age`](/parameters/vacuum-freeze-table-age/) · [`autovacuum`](/parameters/autovacuum/) · [`log_autovacuum_min_duration`](/parameters/log-autovacuum-min-duration/)

## References {#references}

- [PostgreSQL 19 Beta 3 — vacuum_multixact_freeze_table_age](https://www.postgresql.org/docs/19/runtime-config-vacuum.html#GUC-VACUUM-MULTIXACT-FREEZE-TABLE-AGE)
- [PostgreSQL 19 release notes](https://www.postgresql.org/docs/19/release-19.html)
- [Machine-readable GUC export](/data/guc.jsonl)
