Forum Discussion

Gadik's avatar
Gadik
Frequent Visitor
3 years ago

Incremental refresh - 10 min timeout

Hello,

 

We are having Premium capacity workspace, with a model defined with incremental refresh. The data source is Oracle.

Frequently we see that the refresh is failed, 10 min after it was started!

 

After some investigation, i can guess the reason. While the timeout for fetching all the data (say daily partition refresh) is 5 hours and we are not hitting this limitation, there is one pre-fetching select that Power BI is firing, to get the latest updated time, similar to following:
"select max(""rows"".""STATS_DATE"") as ""STATS_DATE""
from
(
select ""_"".""STATS_DATE""
from FACT_TABLE
where ""_"".""STATS_DATE_ID"" >= TO_TIMESTAMP('2022-11-22 00:00:00','YYYY-MM-DD HH24:MI:SS.FF') and ""_"".""STATS_DATE_ID"" < TO_TIMESTAMP('2022-11-23 00:00:00','YYYY-MM-DD HH24:MI:SS.FF')
) ""rows"""

The table is relatively large, the fields are not indexed (DBAs refuse to do it for their reasons) and after 600 sec the query is aborted by Power BI, because we see the error "ORA-01013: user requested cancel of current operation"}},


It is clear that the db architecture is not optimal, but assuming it is a "black box" - how can we change the timeout of 10 min or replace the query that is used for incremental refreshes?

Thank you.

2 Replies