Forum Discussion

jsatow's avatar
jsatow
Advocate I
1 year ago
Solved

Are these numbers the same? (Query Timeout and QueryExecutionDurationMS)

Hello, I am looking at our enterprise gateway server logs (specifically, the QueryExecutionReport log here) and seeing that many of these failed queries are taking much longer than the query timeout that is set on the capacity.  Is this the setting that controls this or no?  See attached pictures. Thanks!

 

 

4 Replies

  • arvindsingh802's avatar
    arvindsingh802
    Community Champion

    Query execution duration is total time any query taking for execution

    Query timeout is maximum limit a query can be allowed to executed surpassing this the query will be terminated to manage long running queries
    https://learn.microsoft.com/en-us/power-bi/enterprise/service-admin-premium-workloads#query-timeout 

    for quick solution you can increase the query timeout to but I would recommand you to optimize your data model, implement incremental refresh to resuce your query execution time

  • v-priyankata's avatar
    v-priyankata
    Community Support

    Hi jsatow 

    May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

    Thank you.

  • v-priyankata's avatar
    v-priyankata
    Community Support

    Hi jsatow 
    I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank you.

  • v-priyankata's avatar
    v-priyankata
    Community Support

    Hi jsatow 
    I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
    Thank you.