Skip to main content

MZ_CLUSTER_REPLICA_SIZE_INTERNAL

Static MZ_CLUSTER_REPLICA_SIZE_INTERNAL 

Source
pub static MZ_CLUSTER_REPLICA_SIZE_INTERNAL: LazyLock<BuiltinTable>
Expand description

System-only sidecar to mz_cluster_replica_sizes, exposing per-size configuration that the cluster MaterializedViews need to compute the disk column.

mz_clusters.disk and mz_cluster_replicas.disk are computed as NOT swap_enabled AND disk_bytes != 0. The orchestrator-supplied swap_enabled flag wasn’t SQL-visible before the table→MV conversion, so this table is locked down with access: vec![] (same pattern as mz_catalog_raw): builtin MVs read it at bootstrap, but direct user SELECT is denied.