RWM Console cluster: risingwave-alinma.alinma-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
30 / 30
running
Distribution
HASH
Rows
62
State size
4.5 KiB
Created
2026-08-20 17:09
Initialized
2026-08-20 17:09
Fragment flags
LOCALITY_PROVIDERMVIEWSNAPSHOT_BACKFILL_STREAM_SCANSTREAM_SCAN
Actors
ActorFragmentWorkerState
745028 62962 51 running
745029 62962 51 running
745030 62963 51 running
745031 62963 51 running
745032 62965 51 running
745033 62965 51 running
745034 62964 51 running
745035 62964 51 running
745036 62966 51 running
745037 62966 51 running
745038 62968 51 running
745039 62968 51 running
+ 18 more actor(s) (30 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 10 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.