If you process SSAS cubes via SSIS packages you might notice a weird message like "Full Processing:Warning: Server: Operation completed with XXX problems logged."
How you can get that message (if you have that problem):
1. You can do a report, from your package's execution and get something like this:
2. You can run a T-SQL script against your SSIS server:
SELECT TOP 100 message_time, message
FROM [SSISDB].[internal].[operation_messages]
WHERE message_type = 110 AND message_source_type = 40
AND message LIKE '%Warning: Server: Operation completed with%problems logged.'
ORDER BY message_time DESC;
If you have that problem you might have something like this:
The Problem.
Solution.
You can use "Extended Events" to capture these problems:
1. For that, you have to create an Extended Event Session using following script on your SSAS Server
<Create xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<ObjectDefinition>
<Trace>
<ID>SSAS_CubeProcessing_Stream</ID>
<Name>SSAS_CubeProcessing_Stream</Name>
<XEvent xmlns="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
<event_session
name="SSAS_CubeProcessing_Stream" dispatchLatency="0" maxEventSize="0" maxMemory="4096" memoryPartition="none" eventRetentionMode="AllowSingleEventLoss" trackCausality="true" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<event package="AS" name="ProgressReportError" />
<target package="package0" name="event_stream" />
</event_session>
</XEvent>
</Trace>
</ObjectDefinition>
</Create>
2. Then you run "Watch Live Data" for that session
3. Run your SSIS Cube processing package and monitor the events.As the result you'll get something like this:
A Problem description you can find in an Event's details under "TextData" name:
At the end, do not forget to delete your Extended Events monitoring Session.
No comments:
Post a Comment