Bug 781174 (SOA-3676)

Summary: Synchronizing a VDB takes too long in JBDS 4.1.1
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: dsteigne
Component: Tooling, EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.2.0 GA   
Target Milestone: ---   
Target Release: 5.3.0 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3676
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-12 13:26:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
org.teiid.designer.core.patch
none
org.teiid.designer.dqp.patch
none
org.teiid.designer.vdb.patch
none
org.teiid.designer.vdb.test.patch
none
org.teiid.designer.vdb.ui.patch
none
TEIIDDES-1200-7.4.2-Patch-A.zip
none
TEIIDDES_1200.zip
none
UdfManager.java.patch
none
UdfUiPlugin.java.patch
none
VdbUtil.java.patch none

Description dsteigne 2011-12-20 19:36:56 UTC
Help Desk Ticket Reference: https://na7.salesforce.com/500A0000008z0qb
project_key: SOA

Synchronizing a big VDB in version 7.4.2 (JBDS 4.1.1) takes 30 minutes versus 2 minutes in 7.1.1 (JBDS 4.1.0)

Investigating/debug noted 2 areas.
1) New UdfManager is not caching a FunctionLibrary and each SQL validation is creating a new instance. (needs a fix)
2) Synchronizing a VDB is hammering the ChecksumUtil.computeChecksum() during the VDB's resource build processing
3) PreviewManager is using a new Vdb() object to determine if "preview = true" and version #. However, it's heavy weight and currently the Vdb() is registering for events, but is not being Unregistered.

Comment 1 dsteigne 2011-12-20 19:36:57 UTC
Link: Added: This issue Cloned from TEIIDDES-1200


Comment 2 dsteigne 2011-12-20 19:39:42 UTC
Security: Added: Public


Comment 3 Van Halbert 2012-01-12 13:26:22 UTC
Teiid Designer committed the fix to the 7.7 branch, for which should make into the product branch used for 5.3.