-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
jBPM 3.1.0, jBPM 3.1.1, jBPM 3.1.2, jBPM 3.1.3, jBPM 3.1.4
-
None
-
Workaround Exists
-
Many users are using jBPM 3.1.x and do not have the ability to perform a major upgrade. However 3.1.x suffers from a significant problem in that many foreign keys do not have indexes (this problem was fixed for 3.2.0). This causes queries against these keys to scan the full table. In the case of database which use row locks for both reads and writes, this can lead to deadlock scenarios because many, many rows are locked unnecessarily. Tables are frequently queried by their foreign keys; that's why they exist. Therefore these columns should be indexed.
(Relates to JBPM-735)
- is related to
-
JBPM-2094 Unindexed Foreign Keys cause deadlocks in oracle
- Resolved