What does the command ExternalCommandTimeout do?

Fredrik M 226 Reputation points
2020-11-18T21:52:33.313+00:00

I have a cube that crashes about 45 minutes in the processing and I got the tips to set the ExternalCommandTimeout default 3600 seconds to a much higher value, and it worked, the cube does now process completly.

But what does it really do, what kind om preventing timeout is it? Is is that the executing of the actual query does not run more than 3600 seconds (1 hour), or is it a connection timeout, or what is it?

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
456 questions
SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,290 questions
0 comments No comments
{count} votes

Accepted answer
  1. Lukas Yu -MSFT 5,821 Reputation points
    2020-11-19T02:04:42.79+00:00

    Hi,

    For the definition of ExternalCommandTimeout:

    An integer property that defines the timeout, in seconds, for commands issued to external servers, including relational data sources and external Analysis Services servers

    It is not a connection timeout. For connection timeout , there is a property of SSAS that is ExternalConnectionTimeout

    For more detail info see : SSAS General properties

    Regards,
    Lukas


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    What can I do if my transaction log is full?--- Hot issues November
    How to convert Profiler trace into a SQL Server table -- Hot issues November

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Fredrik M 226 Reputation points
    2020-11-19T09:22:43.653+00:00

    So this means that my query takes to long to execute in the processing?

    Is this the proper way to solve this, increasing the timeout? Or should I try to rewrite anything in the code, edit the partitions, adding indexes in used tables, or what do I do?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.