Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

How do I set the deadlock priority on an "Analysis Services Processing Task"

$
0
0

I have an inherited an SSAS Cube.

There is a nightly job to rebuild the cube. But occasionally a SQL task will run and block some resource the Cube is reading from and the rebuild will fail with something like this:-

10.50.4000.0 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  10:18:16 AM  Error: 2013-03-26 10:46:30.27     Code: 0xC1060000     Source: Process (full) TPDataCube Analysis Services Execute DDL Task     Description: OLE DB error: OLE DB or ODBC error: Transaction (Process ID 74) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.; 40001.  End Error  Error: 2013-03-26 10:46:30.37     Code: 0xC11F000D     Source: Process (full) TPDataCube Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the 'Pubmeta' attribute of the 'Dim Pub' dimension from the 'TPDataCubeProd' database was being processed.  End Error  Error: 2013-03-26 10:46:30.39  

I am trying to prevent this by making sure no other SQL jobs are running during the rebuild. However, I'd also like to make sure the Cube Rebuild job is never the deadlock victim. In T-SQL I can do that with "SET DEADLOCK_PRIORITY HIGH". But how do I set the deadlock priority on an "Analysis Services Processing Task"


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>