fabric-lakehouse-views-perf-remediate — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited fabric-lakehouse-views-perf-remediate (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Diagnose and resolve performance issues with materialized lake views (MLVs) in Microsoft Fabric lakehouses. This skill covers refresh optimization, Spark job diagnostics, data quality constraint tuning, and lineage execution remediate.
Run through these checks in order when remediate MLV performance:
| Step | Check | Action |
|---|---|---|
| 1 | Identify refresh mode | Verify optimal refresh toggle is enabled in lineage view |
| 2 | Check CDF status | Confirm delta.enableChangeDataFeed=true on ALL source tables |
| 3 | Review query patterns | Ensure only supported SQL constructs are used (see supported expressions) |
| 4 | Inspect run history | Open lineage view dropdown to see last 25 runs and their states |
| 5 | Check node failures | Click failed nodes in lineage to view error messages |
| 6 | Review Spark logs | Follow Detailed Logs link to Monitor Hub for Spark error logs |
| 7 | Validate data quality | Check if FAIL constraints are causing "delta table not found" errors |
| 8 | Assess source data | Determine if source has updates/deletes (forces full refresh) |
PARTITIONED BY to large MLVs to improve refresh parallelism.ALTER TABLE bronze.customers SET TBLPROPERTIES (delta.enableChangeDataFeed = true);
ALTER TABLE bronze.orders SET TBLPROPERTIES (delta.enableChangeDataFeed = true);DESCRIBE DETAIL bronze.customers;
-- Check properties column for delta.enableChangeDataFeed=trueCREATE OR REPLACE MATERIALIZED LAKE VIEW silver.customer_orders
TBLPROPERTIES (delta.enableChangeDataFeed=true)
AS
SELECT
c.customerID,
c.customerName,
c.region,
o.orderDate,
o.orderAmount
FROM bronze.customers c INNER JOIN bronze.orders o
ON c.customerID = o.customerID;MLVs using only these constructs qualify for incremental refresh:
| SQL Construct | Notes |
|---|---|
SELECT | Only deterministic built-in functions. Non-deterministic and window functions force full refresh. |
FROM | Standard table references |
WHERE | Only deterministic built-in functions |
INNER JOIN | Supported for incremental |
WITH (CTE) | Common table expressions supported |
UNION ALL | Supported |
CONSTRAINT ... CHECK | Only deterministic built-in functions in constraint conditions |
Unsupported constructs that force full refresh:
LEFT JOIN, RIGHT JOIN, FULL OUTER JOINROW_NUMBER, RANK, LAG, LEAD, etc.)current_timestamp(), rand(), etc.)SELECT or WHEREGROUP BY with HAVINGDISTINCTSHOW MATERIALIZED LAKE VIEWS IN silver;SHOW CREATE MATERIALIZED LAKE VIEW silver.customer_orders;REFRESH MATERIALIZED LAKE VIEW silver.customer_orders FULL;DROP MATERIALIZED LAKE VIEW silver.customer_orders;
CREATE OR REPLACE MATERIALIZED LAKE VIEW silver.customer_orders
TBLPROPERTIES (delta.enableChangeDataFeed=true)
AS
SELECT ...;| Issue | Impact | Workaround |
|---|---|---|
| FAIL constraint + "delta table not found" | MLV creation or refresh fails | Recreate MLV using DROP action instead of FAIL |
| Schema names with ALL CAPS | MLV creation fails | Use lowercase or mixed-case schema names |
| Session-level Spark properties | Not applied during scheduled refresh | Set properties in custom environment instead |
| Delta time travel in MLV definition | Not supported | Remove VERSION AS OF or TIMESTAMP AS OF from queries |
| DML statements on MLVs | Not supported | MLVs are read-only; modify source tables instead |
| UDFs in SELECT | Not supported | Use built-in Spark SQL functions |
| Temporary views as MLV source | Not supported | Reference base tables or other MLVs directly |
| Cross-lakehouse lineage | Not supported | Keep all related MLVs within same lakehouse |
| Updating data quality constraints | Not supported | Drop and recreate the MLV with new constraints |
| LIKE/regex in constraint conditions | Not supported | Use simple comparison operators in constraints |
| Service principal authentication | Not supported for MLV APIs | Use Microsoft Entra user authentication |
| Single schedule per lineage | UI instability if exceeded | Maintain only one active schedule per lineage |
| South Central US region | Feature not available | Use a workspace in a different region |
| State | Meaning | Action |
|---|---|---|
| Completed | All nodes executed successfully | No action needed |
| Failed | One or more nodes failed; child nodes skipped | Review failed node error, check Spark logs |
| Skipped | Previous run still in progress | Wait for current run to complete, or cancel it |
| In Progress | Run started, not yet terminal | Monitor progress in lineage view |
| Canceled | Manually canceled from Monitor Hub | Re-trigger if needed |
| Symptom | Likely Cause | Resolution |
|---|---|---|
| Refresh always full, never incremental | CDF not enabled on source tables | Run ALTER TABLE ... SET TBLPROPERTIES (delta.enableChangeDataFeed = true) on ALL sources |
| Refresh always full despite CDF enabled | Unsupported SQL constructs in MLV | Review definition for window functions, LEFT JOIN, non-deterministic functions |
| Refresh always full despite CDF and supported SQL | Source has UPDATE/DELETE operations | Incremental only supports append-only; redesign ETL to be append-only or accept full refresh |
| "Delta table not found" on create | FAIL constraint issue | Recreate MLV without FAIL; use DROP action instead |
| Node shows Skipped state | Parent node failed | Fix the parent node failure first |
| Schedule not running | Previous run still in progress | Cancel the stuck run from Monitor Hub, or wait |
| Environment not accessible | User lacks access to selected environment | Select an accessible environment from dropdown |
| Deleted environment error | Associated environment was removed | Choose a new environment in lineage settings |
| MLV names changed to lowercase | Expected behavior | MLV names are case-insensitive and stored as lowercase |
| Workspace names with spaces cause errors | Backtick syntax required | Use backtick notation:` My Workspace.lakehouse.schema.view_name ` |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.