sqldw-operations-cli

Diagnoses Microsoft Fabric Data Warehouse performance issues via CLI and built-in queryinsights views.

Updated Jun 1, 2026
One-click install
npx skills add https://github.com/weiflycc-cmd/skills-for-fabric --skill sqldw-operations-cli-weiflycc-cmd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sqldw-operations-cli
Source: https://github.com/weiflycc-cmd/skills-for-fabric/tree/main/plugins/fabric-operations/skills/sqldw-operations-cli
Command: npx skills add https://github.com/weiflycc-cmd/skills-for-fabric --skill sqldw-operations-cli-weiflycc-cmd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the manual guesswork of troubleshooting slow Microsoft Fabric Data Warehouse performance by providing structured, read-only CLI-based diagnostics to identify query bottlenecks, resource pressure, cache inefficiencies, and optimization opportunities.

Core Features & Use Cases

  • Performance Analysis: Identify slow queries, top CPU/storage resource consumers, and user query patterns using built-in queryinsights views.
  • Root Cause Diagnostics: Detect SQL pool pressure windows, cache coldness, and query plan issues to pinpoint the exact cause of performance degradation.
  • Optimization Guidance: Recommend data clustering keys and best practices aligned with Fabric Data Warehouse constraints, avoiding unsupported features. Use case: A data engineer can use this Skill to investigate why their warehouse queries are running slower than usual, identify the heaviest queries consuming excessive CPU, and get actionable clustering recommendations to improve query performance.

Quick Start

Use the sqldw-operations-cli skill to analyze the slowest queries in your Fabric Data Warehouse and receive optimization recommendations.

Frequently Asked Questions about sqldw-operations-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose slow query performance in a Fabric Data Warehouse?

Diagnosing slow Fabric Data Warehouse queries involves executing read-only T-SQL against built-in queryinsights views to identify top CPU consumers, detect SQL pool pressure windows, and assess cache warmth using CLI tools to pinpoint exact bottlenecks.

What is the best way to find the root cause of SQL pool pressure in Fabric Data Warehouse?

Finding the root cause of SQL pool pressure requires analyzing built-in queryinsights monitoring views to detect specific pressure windows and cache coldness issues, pinpointing the exact cause of performance degradation in Fabric Data Warehouse environments.

Do I need Azure CLI and sqlcmd to analyze Fabric Data Warehouse query insights?

Yes, analyzing Fabric Data Warehouse query insights requires sqlcmd with Entra ID authentication and Azure CLI for token acquisition, plus workspace Admin or Member role access to execute read-only T-SQL diagnostic queries against queryinsights views.

Can I get clustering key recommendations for Microsoft Fabric Data Warehouse tables?

Yes, you can get clustering key recommendations for Microsoft Fabric Data Warehouse tables by analyzing query patterns to provide optimization guidance aligned with Fabric constraints, ensuring recommended clustering keys improve performance without relying on unsupported features.

How do I establish a performance baseline comparison for Fabric data warehouse workloads?

To establish a performance baseline comparison for Fabric data warehouse workloads, this Skill queries historical execution data via queryinsights views, evaluating past query performance and resource consumption patterns to establish a reliable baseline for current diagnostics.

What are the limitations of using CLI tools for Fabric Data Warehouse performance diagnostics?

Limitations of CLI diagnostics for Fabric Data Warehouse include requiring workspace Admin or Member role access to queryinsights views, depending on Entra ID authentication via Azure CLI, and being restricted to read-only T-SQL queries without modifying warehouse configurations.