Forum Discussion

selcuk12's avatar
selcuk12
Frequent Visitor
9 months ago
Solved

Fabric Warehouse CU increase issue

As seen in the image below, our Fabric capacity consumption (CU) has started to increase rapidly. As the chart shows, the component consuming the most CU is the Warehouse. However, inside the Fabric ...
  • nielsvdc's avatar
    9 months ago

    Hi selcuk12,

     

    When you hover over the green CU bar of your warehouse, you will see a tooltip like below that shows you what is causing the most utilization in your warehouse, just to make sure. In the example below you see someone is using Copilot on the warehouse that causes the most utilization and not queries.

    But when you determined that queries that queries causes the most utilization in you warehouse, you can use one of these queryinsights queries to use in your investigation.

    -- Historical query runs
    SELECT TOP 100 *
    FROM queryinsights.exec_requests_history
    ORDER BY end_time DESC;
    
    -- Frequently used queries
    SELECT TOP 100 *
    FROM queryinsights.frequently_run_queries
    ORDER BY avg_total_elapsed_time_ms DESC;
    
    -- Long running queries
    SELECT TOP 100 *
    FROM queryinsights.long_running_queries
    ORDER BY last_run_total_elapsed_time_ms DESC;

     

    You can also install the Fabric Chargeback app. In the Utilization (CU) details visual, select you warehouse and then click the Item detail button at the top. In the filters pane on the left you can set some filters and see which user is causing the most utilization with warehouse queries over your warehouse.

     

    Hope this helps. If so, please give a Kudos πŸ‘ or mark as Accepted Solution βœ”οΈ.