Users are experiencing extreme slowness after Pega 7 upgrade
Users are experiencing extreme slowness after Pega 7 upgrade.
For the slowness, occasional database deadlocks detected:
com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 216) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Steps to Reproduce
The root cause of this problem is in a third-party product integrated with PRPC. Report defintions which return many rows (using join against many tables) were causing lock escalation within the SQLServer DB, which led to deadlocks.
This issue is resolved by making the following change to the PRPC operating environment: Configuration within the DB was changed to use a different isolation level READ_COMMITTED_SNAPSHOT which prevents the lock escalations that led to deadlocks.