Bug 866926 - Create index for the foreign key constraint on the JBPM_TASKINSTANCE.PROCINST_ column
Summary: Create index for the foreign key constraint on the JBPM_TASKINSTANCE.PROCINST...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBPM - standalone, JBPM - within SOA
Version: 5.3.0 GA
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ER4
: 5.3.1
Assignee: Nobody
QA Contact: Ivo Bek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-16 10:41 UTC by Martin Weiler
Modified: 2025-02-10 03:20 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:20:57 UTC
Type: Task
Embargoed:


Attachments (Terms of Use)

Description Martin Weiler 2012-10-16 10:41:24 UTC
Description of problem:
We are experiencing problems due to a lock on JBPM DB. We persist JBPM on Oracle 11.2.0.2.0.
The problem may be related to a missing index, we added the following index:
# the foreign key constraint (already present in jBPM ddl script):
alter table JBPM_TASKINSTANCE add constraint FK_TSKINS_PRCINS foreign key (PROCINST_) references JBPM_PROCESSINSTANCE;

# new index to add to the schema:
create index IDX_TASKINST_PRCINS on JBPM_TASKINSTANCE (PROCINST_);

Comment 2 Marco Rietveld 2012-12-06 11:30:29 UTC
Added the index, but the way they word the problem makes me curious as to whether or not this actually was the solution (for them): 

"The problem may be related to a missing index" (emphasis on may.. ). 

However, knowing jBPM 3 and it's DB schema, I wouldn't be all that surprised.

Comment 3 Ivo Bek 2013-02-01 09:24:59 UTC
Verified in SOA-P-5.3.1.ER4

Comment 12 Red Hat Bugzilla 2025-02-10 03:20:57 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.