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
16,181
State size
1.7 MiB
Created
2026-08-25 19:40
Initialized
2026-08-25 19:39
Fragment flags
MVIEWSNAPSHOT_BACKFILL_STREAM_SCANSTREAM_SCAN
Actors
ActorFragmentWorkerState
117985 24807 26 running
117986 24807 26 running
117987 24808 26 running
117988 24808 26 running
117989 24809 26 running
117990 24809 26 running
117991 24810 26 running
117992 24810 26 running
117993 24814 26 running
117994 24814 26 running
117995 24813 26 running
117996 24813 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.