Forum Discussion

govindarajan_d's avatar
govindarajan_d
Super User
1 year ago
Solved

Improving performance of Point Queries in Lakehouse SQL Endpoint

Hi All,   I have a C# application that fires queries when user interacts with the application. These queries run and bring 1 or 2 rows from thousands of rows.    These queries are currently runni...
  • frithjof_v's avatar
    frithjof_v
    1 year ago

    Hopefully, someone else can chime in with suggestions for optimizing SQL Analytics Endpoint.

     

    I agree, 20 seconds is not nice... 

     

    Have the underlying delta tables been optimized in some ways? E.g. have you run OPTIMIZE on the delta table?

     

    Is the SQL query you're using a complex query?

     

    Out of curiosity, have you tried a Warehouse instead of a Lakehouse?

     

    Here are some relevant links for SQL Analytics Endpoint and Warehouse performance:

     

    https://learn.microsoft.com/en-us/fabric/data-warehouse/sql-analytics-endpoint-performance

     

    https://learn.microsoft.com/en-us/fabric/data-warehouse/guidelines-warehouse-performance

     

    I'm wondering if it's possible to keep the data in the SQL Analytics Endpoint "warm" by regularly querying the tables (I'm wondering if the data will be kept in warm cache. Or perhaps that would only work if the exact same query was being run each time, idk).