If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Avoid deadlocks

Started by AlexisMolina, 02 Jun 2016 05:03:21 PM

Previous topic - Next topic

AlexisMolina

Hi everyone,

I have a report that is automatically updated every 3 minutes, sometimes appears a deadlock error. How can I avoid this? or how can I achieve the report's refresh although this happens (after the deadlocks finish)?

This is the error Cognos shows:

XQE-DAT-0001 Data source adapter error: com.microsoft.sqlserver.jdbc.SQLServerException: La transacción (id. de proceso 87) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction....

Thanks!

MFGF

Quote from: AlexisMolina on 02 Jun 2016 05:03:21 PM
Hi everyone,

I have a report that is automatically updated every 3 minutes, sometimes appears a deadlock error. How can I avoid this? or how can I achieve the report's refresh although this happens (after the deadlocks finish)?

This is the error Cognos shows:

XQE-DAT-0001 Data source adapter error: com.microsoft.sqlserver.jdbc.SQLServerException: La transacción (id. de proceso 87) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction....

Thanks!

Hi,

You could try changing the transaction isolation level of the data source connection in Cognos? Try Read Committed or Read Uncommitted - this might avoid the deadlocks.

MF.
Meep!