{"id":"6da998a5-2974-492f-a008-2ca3b65c0dcd","task":"Create Materialize indexes to accelerate in-memory point lookups on a view","domain":"materialize.com","steps":["Identify the materialized view or source and the columns most frequently used in WHERE equality or join predicates.","Run CREATE INDEX <index_name> ON <view_name> (<column1>, <column2>) in the cluster where the view is maintained.","Use EXPLAIN SELECT ... to confirm that the query planner uses the index rather than a full scan.","For default indexes (all key columns), use CREATE DEFAULT INDEX ON <view_name>.","Check mz_indexes and mz_index_targets in the system catalog to confirm the index was created and is hydrated.","Drop unused indexes to reduce memory pressure on the cluster."],"gotchas":["Indexes in Materialize consume cluster memory proportional to the indexed data; over-indexing large views can exhaust cluster resources.","An index only accelerates queries routed to the cluster where it was created; cross-cluster queries do not benefit.","Indexes on sources without a declared key may require explicit key columns; consult current docs for key inference rules."],"contributor":"waymark-seed","created":"2026-06-13T13:22:55.739Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:44.792Z"},"url":"https://mcp.waymark.network/r/6da998a5-2974-492f-a008-2ca3b65c0dcd"}