RWM Console cluster: risingwave-adib.adib-rw.svc.cluster.local

← cluster authz objects team_to_portfolios_mv
Overview Objects Graph History
materialized view · authz.team_to_portfolios_mv Explain plan ▶
Parallelism
2
Actors
22 / 22
running
Distribution
HASH
Rows
388
State size
39.4 KiB
Created
2026-08-26 08:22
Initialized
2026-08-26 08:22
Fragment flags
MVIEWSNAPSHOT_BACKFILL_STREAM_SCANSTREAM_SCAN
Actors
ActorFragmentWorkerState
123765 25360 26 running
123766 25360 26 running
123767 25356 26 running
123768 25356 26 running
123769 25357 26 running
123770 25357 26 running
123771 25358 26 running
123772 25358 26 running
123773 25359 26 running
123774 25359 26 running
123775 25363 26 running
123776 25363 26 running
+ 10 more actor(s) (22 running)
sql · authz.team_to_portfolios_mv — click to expand
CREATE MATERIALIZED VIEW authz.team_to_portfolios_mv AS
SELECT
  portfolio_access.team_id,
  portfolio_access.portfolio_id,
  MAX(portfolio_access.updated_at) AS updated_at
FROM (
  SELECT
    etm.team_id,
    cp.portfolio_id,
    etm.updated_at
  FROM olap.entity_to_teams_dm AS etm
  JOIN olap.clients_portfolios_dm AS cp
    ON etm.entity_id = cp.client_id
  WHERE
    etm.entity_type = 'CLIENT'
    AND etm.disabled_at IS NULL
    AND etm.effective_end_date IS NULL
    AND cp.disabled_at IS NULL
    AND cp.effective_end_date IS NULL
  UNION ALL
  SELECT
    tp.team_id,
    app.portfolio_id,
    tp.updated_at
  FROM authz.team_to_parties_mv AS tp
  JOIN authz.active_parties_to_portfolios_mv AS app
    ON app.party_id = tp.party_id
  UNION ALL
  SELECT
    etm.team_id,
    etm.entity_id AS portfolio_id,
    etm.updated_at
  FROM olap.entity_to_teams_dm AS etm
  WHERE
    etm.entity_type = 'PORTFOLIO'
    AND etm.disabled_at IS NULL
    AND etm.effective_end_date IS NULL
) AS portfolio_access
GROUP BY
  portfolio_access.team_id,
  portfolio_access.portfolio_id
Lineage · authz.team_to_portfolios_mv 7 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.