Share via

Process data only randomly fails

Stefan 196 Reputation points
2021-04-26T09:41:03.787+00:00

Hi,

I have an environment running SSAS 2019 (Tabular onprem) .

We are using the Tabular Object Model (TOM) library executing processing commands (multiple times per day).
This is done by first executing a Process data only (only on some partitions of tables) followed by a process calculate.

This usually works fine, but sometimes (maybe ones per 30 attempt) it fails with the following exception:

Microsoft.AnalysisServices.Tabular.TomInternalException: An internal error has occured.
at Microsoft.AnalysisServices.Tabular.Model.MergeAffectedSubtree(MetadataObject affectedSubtreeRoot, CopyContext mergeCopyContext)
at Microsoft.AnalysisServices.Tabular.Model.HandleImpactAffectedObjects(ServerImpact impact)
at Microsoft.AnalysisServices.Tabular.Model.ApplyImpact(ServerImpact impact)
at Microsoft.AnalysisServices.Tabular.ExecuteUtil.TryExecuteXmla(Model model, String xmlaRequest, XmlaResultCollection& xmlaResults)
at Microsoft.AnalysisServices.Tabular.Model.SaveChangesImpl(SaveOptions options)

Nothing is written in the msmdsrv.log file.

I have xevents running, catching ProgressReportEnd events (to be able to monitor performance).
Here I can see that it logs EventSubClass 58 (Sequence point Finished sequence point algorithm) just before ending, but that is also logged when the command finish with success.

It think that this is at the end of the process data only. I know that it has not started with Process calculate.

Any suggestions on what can be wrong or how to monitor it even further to find the cause?

Best Regards
Stefan

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.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Lukas Yu -MSFT 5,826 Reputation points
    2021-04-27T08:49:20.843+00:00

    If it is randomly failing, I would suggest you to use sql server profile to trace the SSAS server, see which query or what event causes this crashing.

    Was this answer helpful?


Your answer

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