Asked by:
what to setup in SQL profiler to investigate SSAS Cube synchronization job hang?

Question
-
Hi,
I am using SSIS job to process the ssas DB(cube, dim, partition etc) in source server and XMLA script in the same SSIS package to synchronize the SSAS DB from source server to destination server. This SSIS job is deployed and get initiated daily on source server.
This was running fine since years, but recently SSAS DB Synchronization is getting hang and not stopping/completing even after 3-4 hours. Generally it takes 30 minutes to complete. then I need to kill the job and manually sync the SSAS DB using synchronization wizard at destination server.
any way to figure out the real problem? what events to setup in SQL profiler to catch this issue while ssas db sync? or any other way? Also SQL Profiler should be run against source server or destination server?
Please help/guide/suggest. Thanks
- Edited by ScriptSoft Thursday, August 6, 2020 3:22 AM
Thursday, August 6, 2020 3:02 AM
All replies
-
Hi SciptSoft,
SSAS synchronization have operation on both servers, it pulling data from one , and copy data to the destination server.
For currently information you have , seem we don't know yet which part went wrong.
So I would suggest to monitor both the servers.
You could see here for the trace event , for the query start or so : Analysis Services Trace Events
To learn more about how to create and run traces, see Create Profiler traces for replay (Analysis Services).
Regards,
""SQL Server related"" forum will be migrated to a new home on Microsoft Q&A SQL Server!
We invite you to post new questions in the "SQL Server related" forum’s new home on Microsoft Q&A SQL Server !
For more information, please refer to the sticky post.- Proposed as answer by Lukas DreiKleinMicrosoft contingent staff Friday, August 14, 2020 6:02 AM
Friday, August 7, 2020 6:22 AM -
Hi,
Sorry for delay in response..
I tried to capture error while synch job running. and got below error:File system error: The following error occurred while opening the file '\\?\F:\OLAP\Data\Credit-User-Cube.74.db\0.CryptKey.bin': The system cannot find the path specified. . Errors in the metadata manager. Processing for the database will be disabled because an error occurred while loading the 'Credit-Cube-User' database cryptography key. One possible reason for this error is that the service account has changed.
Here Credit-user cube is another cube under ssas DB. but not sure why it is referring to another SSAS DB/cube while synch job. Any help much appreciated please
- Edited by ScriptSoft Friday, August 14, 2020 9:44 AM
Friday, August 14, 2020 9:44 AM -
Hi,
We'd like to redirect this thread to https://docs.microsoft.com/en-us/answers/questions/67703/file-system-error-errors-in-the-metadata-manager-p.html
""SQL Server related"" forum will be migrated to a new home on Microsoft Q&A SQL Server!
We invite you to post new questions in the "SQL Server related" forum’s new home on Microsoft Q&A SQL Server !
For more information, please refer to the sticky post.- Proposed as answer by Lukas DreiKleinMicrosoft contingent staff Wednesday, August 19, 2020 5:28 AM
Wednesday, August 19, 2020 5:28 AM