RWM Console cluster: risingwave-ai-hub-int.ai-hub-rwm.svc.cluster.local

← cluster authz objects team_to_accounts_mv
Overview Objects Graph History
materialized view · authz.team_to_accounts_mv Explain plan ▶
Parallelism
2
Actors
40 / 40
running
Distribution
HASH
Rows
112
State size
7.7 KiB
Created
2026-08-21 06:31
Initialized
2026-08-21 06:30
Fragment flags
LOCALITY_PROVIDERMVIEWSNAPSHOT_BACKFILL_STREAM_SCANSTREAM_SCAN
Actors
ActorFragmentWorkerState
158394 18041 33 running
158395 18041 33 running
158629 18042 33 running
158630 18042 33 running
158633 18044 33 running
158634 18044 33 running
158635 18043 33 running
158636 18043 33 running
158637 18045 33 running
158638 18045 33 running
158671 18047 33 running
158672 18047 33 running
+ 28 more actor(s) (40 running)
sql · authz.team_to_accounts_mv — click to expand
CREATE MATERIALIZED VIEW authz.team_to_accounts_mv AS
SELECT
  account_access.team_id,
  account_access.account_id,
  MAX(account_access.updated_at) AS updated_at
FROM (
  SELECT
    etm.team_id,
    atc.account_id,
    GREATEST(etm.updated_at, atc.updated_at) AS updated_at
  FROM olap.entity_to_teams_dm AS etm
  JOIN olap.accounts_to_clients_dm AS atc
    ON etm.entity_id = atc.client_id
  WHERE
    etm.entity_type = 'CLIENT'
    AND etm.disabled_at IS NULL
    AND etm.effective_end_date IS NULL
    AND atc.disabled_at IS NULL
    AND atc.effective_end_date IS NULL
  UNION ALL
  SELECT
    tp.team_id,
    apa.account_id,
    GREATEST(tp.updated_at, apa.updated_at) AS updated_at
  FROM authz.team_to_parties_mv AS tp
  JOIN authz.active_parties_to_accounts_mv AS apa
    ON apa.party_id = tp.party_id
  UNION ALL
  SELECT
    tp.team_id,
    atp.account_id,
    tp.updated_at AS updated_at
  FROM authz.team_to_portfolios_mv AS tp
  JOIN olap.account_to_portfolios_dm AS atp
    ON atp.portfolio_id = tp.portfolio_id
  WHERE
    atp.disabled_at IS NULL AND atp.effective_end_date IS NULL
) AS account_access
GROUP BY
  account_access.team_id,
  account_access.account_id
Lineage · authz.team_to_accounts_mv 13 objects
Direct (1-hop) dependencies from rw_depend, across schemas. Click a neighbor to expand its dependencies; ⌘/Ctrl-click opens its page. Drag to pan, scroll to zoom. External source/sink endpoints (Kafka, Iceberg) are not shown.