Forum Discussion

FilipK's avatar
FilipK
Resolver I
5 years ago
Solved

Multiple refreshes at the same time as root cause for timeout?

I experience a timeout problem when running dataset refreshs during midnight.       DataSource.Error: <pii>Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion...
  • FilipK's avatar
    FilipK
    5 years ago

    After playing a whil I think the behaviour is now understood.

    When pushing a report to the PBI workspace the first thing what is done there is to update the whole dataset. What I've experienced is that the dataset is not updated at once. Instead it is splitted (believe it has to do with incremental refresh) into different time ranges. That's the reason for the querries with different rime ranges. And for all my refreshes fails after uploading it was tried again and again.

     

    The 2nd phenoma was multiple execution of the query. That was due to the small query duration threshold of 10 minutes. 

     

    Solution:

    1. Increase the query timeout time.
    2. Scale up SQL database before running a complete refresh (after uploading the report) and scale down afterwards when it's only about refresh of the last day