Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043271
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagerminorhave not tried2020-02-19 17:292022-02-01 08:05
ReportershuehnerView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043271: create.database is not using multiple thread for function standardization

Descriptiondbsourcemanager code is using multiple thread for the heavy function & trigger standardization.
However that seems to be missing for the create.database code which seemingly is still single-threaded for this part:

update.database output:
     [java] 10093 [main] INFO org.apache.ddlutils.platform.PlatformImplBase - Starting function trigger and view standardization in 4 threads
     [java] 15314 [main] INFO org.apache.ddlutils.platform.PlatformImplBase - Standardidized 299 functions, 319 triggers and 47 views in 5222 ms

install.source:
[createdatabase] 10279 [main] INFO org.openbravo.ddlutils.task.CreateDatabase - for the complete database
[createdatabase] 77022 [main] INFO org.apache.ddlutils.platform.PlatformImplBase - Finished preparing SQL

Can also be seen checking live during that part with top that only a single core is utilized.
Steps To Reproducerun install.source and check cpu usage during the part just before 'finished preparing SQL'
Proposed SolutionUse same logic update.db + export.db already have.
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-02-19 17:29 shuehner New Issue
2020-02-19 17:29 shuehner Assigned To => platform
2020-02-19 17:29 shuehner Modules => Core
2020-02-19 17:29 shuehner Triggers an Emergency Pack => No
2020-02-21 09:23 alostale Severity major => minor
2020-02-21 09:23 alostale Status new => acknowledged
2020-02-21 09:23 alostale Tag Attached: Performance
2022-02-01 08:05 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker