What problem does it solve?
Use this Skill to troubleshoot StarRocks materialized views that fail to refresh, time out, become inactive, or stop being chosen for query rewrite. It helps isolate whether the root cause is memory pressure, timeout settings, schema changes, staleness tolerance, or scheduler disruption so you can restore reliable MV behavior.
Core Features & Use Cases
- Refresh failure diagnosis: Inspect MV state, refresh history, and error messages to distinguish OOM, timeout, and inactive-state problems.
- Query rewrite verification: Check whether queries hit the MV using EXPLAIN and TRACE analysis, then identify structural mismatches or staleness barriers.
- Operational recovery: Apply targeted fixes such as spill-to-disk, timeout increases, reactivation, resource-group tuning, or schedule resets.
- Use case: A production MV stops refreshing after an FE restart and query plans fall back to base tables; this Skill guides the investigation from symptoms to a concrete recovery plan.
Quick Start
Use the materialized-view skill to diagnose the failing StarRocks materialized view, determine the root cause from its state and task history, and recommend the exact SQL or configuration changes needed to restore refreshes and query rewrite.