Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036613Openbravo ERPA. Platformpublic2017-08-04 14:412022-02-01 08:05
shuehner 
Triage Platform Base 
normalminorhave not tried
acknowledgedopen 
5
 
 
Core
No
0036613: 6 flush per file processed in apply.modules part of i.e. install.source
In the apply.modules step done during i.e. install.source there are 6 flush calls being done for every file processed.

apply.module:
     [java] 0 [main] INFO org.openbravo.dal.core.DalLayerInitializer - Initializing in-memory model...
     [java] 13 [main] INFO org.openbravo.base.model.ModelProvider - Building runtime model
     [java] 3705 [main] INFO org.openbravo.dal.core.DalLayerInitializer - Model read in-memory, generating mapping...
     [java] 10745 [main] INFO org.openbravo.base.provider.OBConfigFileProvider - Found provider config file /srv/ci/workspace/try-full-pgsql/config/provider-config.xml
     [java] 10756 [main] INFO org.openbravo.dal.core.DalLayerInitializer - Dal layer initialized
     [java] 10896 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Looking for translation modules
     [java] 10899 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Looking for reference data modules
     [java] 10946 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - 5 reference data modules have data files
     [java] 10947 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Importing data from Core module. Dataset: Unit_of_Measure.xml
     [java] 11001 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADUser=1, ADUserRoles=1, ClientInformation=1, ModuleDependency=64, Organization=1}
     [java] 11002 [main] INFO org.openbravo.dal.service.OBDal - Flush of 95 entities and 409 collections took: 25
     [java] 11489 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADUser=1, ADUserRoles=1, ClientInformation=1, ModuleDependency=64, Organization=1, UOM=31, UOMConversion=102}
     [java] 11490 [main] INFO org.openbravo.dal.service.OBDal - Flush of 228 entities and 1959 collections took: 75
     [java] 11522 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADUser=1, ADUserRoles=1, ClientInformation=1, ModuleDependency=64, Organization=1, UOM=31, UOMConversion=102}
     [java] 11523 [main] INFO org.openbravo.dal.service.OBDal - Flush of 228 entities and 1959 collections took: 31
     [java] 11549 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADUser=1, ADUserRoles=1, ClientInformation=1, ModuleDependency=64, Organization=1, UOM=31, UOMConversion=102}
     [java] 11551 [main] INFO org.openbravo.dal.service.OBDal - Flush of 228 entities and 1959 collections took: 24
     [java] 11620 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTable=2, ADUser=1, ADUserRoles=1, ClientInformation=1, ModuleDependency=64, Organization=1, ReferenceDataStore=133, UOM=31, UOMConversion=102}
     [java] 11621 [main] INFO org.openbravo.dal.service.OBDal - Flush of 363 entities and 2017 collections took: 37
     [java] 11638 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTable=2, ADUser=1, ADUserRoles=1, ClientInformation=1, ModuleDependency=64, Organization=1, ReferenceDataStore=133, UOM=31, UOMConversion=102}
     [java] 11639 [main] INFO org.openbravo.dal.service.OBDal - Flush of 363 entities and 2017 collections took: 15
     [java] 11643 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Importing data from Core module. Dataset: Costing_Algorithms.xml
     [java] 11660 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTable=2, ADUser=1, ADUserRoles=1, ClientInformation=1, ModuleDependency=64, Organization=1, ReferenceDataStore=133, UOM=31, UOMConversion=102}
     [java] 11661 [main] INFO org.openbravo.dal.service.OBDal - Flush of 363 entities and 2017 collections took: 14
     [java] 11683 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTable=2, ADUser=1, ADUserRoles=1, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, Organization=1, ReferenceDataStore=133, UOM=31, UOMConversion=102}
     [java] 11684 [main] INFO org.openbravo.dal.service.OBDal - Flush of 366 entities and 2025 collections took: 10
     [java] 11733 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTable=2, ADUser=1, ADUserRoles=1, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, Organization=1, ReferenceDataStore=133, UOM=31, UOMConversion=102}
     [java] 11734 [main] INFO org.openbravo.dal.service.OBDal - Flush of 366 entities and 2025 collections took: 48
     [java] 11752 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTable=2, ADUser=1, ADUserRoles=1, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, Organization=1, ReferenceDataStore=133, UOM=31, UOMConversion=102}
     [java] 11754 [main] INFO org.openbravo.dal.service.OBDal - Flush of 366 entities and 2025 collections took: 17
     [java] 11768 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTable=4, ADUser=1, ADUserRoles=1, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, Organization=1, ReferenceDataStore=136, UOM=31, UOMConversion=102}
     [java] 11769 [main] INFO org.openbravo.dal.service.OBDal - Flush of 371 entities and 2083 collections took: 10
     [java] 11787 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTable=4, ADUser=1, ADUserRoles=1, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, Organization=1, ReferenceDataStore=136, UOM=31, UOMConversion=102}
     [java] 11788 [main] INFO org.openbravo.dal.service.OBDal - Flush of 371 entities and 2083 collections took: 16
     [java] 11789 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Importing data from Core module. Dataset: Costing_Transactions_not_sortable_and_not_filterable.xml
     [java] 11808 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTable=4, ADUser=1, ADUserRoles=1, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, Organization=1, ReferenceDataStore=136, UOM=31, UOMConversion=102}
     [java] 11809 [main] INFO org.openbravo.dal.service.OBDal - Flush of 371 entities and 2083 collections took: 15
     [java] 11829 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=4, ADUser=1, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=136, UOM=31, UOMConversion=102}
     [java] 11830 [main] INFO org.openbravo.dal.service.OBDal - Flush of 376 entities and 2123 collections took: 10
     [java] 11842 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=4, ADUser=1, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=136, UOM=31, UOMConversion=102}
     [java] 11844 [main] INFO org.openbravo.dal.service.OBDal - Flush of 376 entities and 2123 collections took: 11
     [java] 11854 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=4, ADUser=1, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=136, UOM=31, UOMConversion=102}
     [java] 11855 [main] INFO org.openbravo.dal.service.OBDal - Flush of 376 entities and 2123 collections took: 10
     [java] 11863 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=6, ADUser=1, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=137, UOM=31, UOMConversion=102}
     [java] 11865 [main] INFO org.openbravo.dal.service.OBDal - Flush of 379 entities and 2181 collections took: 5
     [java] 11875 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=6, ADUser=1, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=137, UOM=31, UOMConversion=102}
     [java] 11876 [main] INFO org.openbravo.dal.service.OBDal - Flush of 379 entities and 2181 collections took: 9
     [java] 11877 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Importing data from Workspace & Widgets module. Dataset: MyOBData.xml
     [java] 11890 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=6, ADUser=1, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=137, UOM=31, UOMConversion=102}
     [java] 11891 [main] INFO org.openbravo.dal.service.OBDal - Flush of 379 entities and 2181 collections took: 9
     [java] 11918 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=6, ADUser=2, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBKMO_WidgetClass=3, OBKMO_WidgetInstance=3, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=137, UOM=31, UOMConversion=102}
     [java] 11919 [main] INFO org.openbravo.dal.service.OBDal - Flush of 386 entities and 2257 collections took: 7
     [java] 11928 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=6, ADUser=2, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBKMO_WidgetClass=3, OBKMO_WidgetInstance=3, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=137, UOM=31, UOMConversion=102}
     [java] 11929 [main] INFO org.openbravo.dal.service.OBDal - Flush of 386 entities and 2257 collections took: 8
     [java] 11939 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=6, ADUser=2, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBKMO_WidgetClass=3, OBKMO_WidgetInstance=3, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=137, UOM=31, UOMConversion=102}
     [java] 11940 [main] INFO org.openbravo.dal.service.OBDal - Flush of 386 entities and 2257 collections took: 8
     [java] 11947 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=7, ADUser=2, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBKMO_WidgetClass=3, OBKMO_WidgetInstance=3, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=140, UOM=31, UOMConversion=102}
     [java] 11948 [main] INFO org.openbravo.dal.service.OBDal - Flush of 390 entities and 2286 collections took: 4
     [java] 11955 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=7, ADUser=2, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBKMO_WidgetClass=3, OBKMO_WidgetInstance=3, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=140, UOM=31, UOMConversion=102}
     [java] 11956 [main] INFO org.openbravo.dal.service.OBDal - Flush of 390 entities and 2286 collections took: 6
     [java] 11958 [main] INFO org.openbravo.erpCommon.modules.ApplyModule - Importing data from Log Clean Up Utility module. Dataset: Log_Clean_Up_Default_Configuration.xml
     [java] 11967 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=7, ADUser=2, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBKMO_WidgetClass=3, OBKMO_WidgetInstance=3, OBUIAPP_GC_Tab=1, Organization=1, ReferenceDataStore=140, UOM=31, UOMConversion=102}
     [java] 11968 [main] INFO org.openbravo.dal.service.OBDal - Flush of 390 entities and 2286 collections took: 7
     [java] 12009 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADProcess=1, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=13, ADUser=2, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBKMO_WidgetClass=3, OBKMO_WidgetInstance=3, OBUIAPP_GC_Tab=1, OBULOG_Config=7, Organization=1, ProcessRequest=1, ReferenceDataStore=140, UOM=31, UOMConversion=102}
     [java] 12010 [main] INFO org.openbravo.dal.service.OBDal - Flush of 405 entities and 2477 collections took: 9
     [java] 12018 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADProcess=1, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=13, ADUser=2, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBKMO_WidgetClass=3, OBKMO_WidgetInstance=3, OBUIAPP_GC_Tab=1, OBULOG_Config=7, Organization=1, ProcessRequest=1, ReferenceDataStore=140, UOM=31, UOMConversion=102}
     [java] 12019 [main] INFO org.openbravo.dal.service.OBDal - Flush of 405 entities and 2477 collections took: 7
     [java] 12026 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADProcess=1, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=13, ADUser=2, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBKMO_WidgetClass=3, OBKMO_WidgetInstance=3, OBUIAPP_GC_Tab=1, OBULOG_Config=7, Organization=1, ProcessRequest=1, ReferenceDataStore=140, UOM=31, UOMConversion=102}
     [java] 12027 [main] INFO org.openbravo.dal.service.OBDal - Flush of 405 entities and 2477 collections took: 6
     [java] 12036 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADProcess=1, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=14, ADUser=2, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBKMO_WidgetClass=3, OBKMO_WidgetInstance=3, OBUIAPP_GC_Tab=1, OBULOG_Config=7, Organization=1, ProcessRequest=1, ReferenceDataStore=148, UOM=31, UOMConversion=102}
     [java] 12037 [main] INFO org.openbravo.dal.service.OBDal - Flush of 414 entities and 2506 collections took: 6
     [java] 12045 [main] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=1, ADLanguage=1, ADModule=23, ADProcess=1, ADRole=1, ADRoleOrganization=1, ADTab=1, ADTable=14, ADUser=2, ADUserRoles=1, ADWindow=3, ClientInformation=1, CostingAlgorithm=2, LandedCostDistributionAlgorithm=1, ModuleDependency=64, OBKMO_WidgetClass=3, OBKMO_WidgetInstance=3, OBUIAPP_GC_Tab=1, OBULOG_Config=7, Organization=1, ProcessRequest=1, ReferenceDataStore=148, UOM=31, UOMConversion=102}
     [java] 12046 [main] INFO org.openbravo.dal.service.OBDal - Flush of 414 entities and 2506 collections took: 6
-
Performance
blocks design defect 0036606 new Triage Platform Base Clean up extra not requires flush() calls 
Issue History
2017-08-04 14:41shuehnerNew Issue
2017-08-04 14:41shuehnerAssigned To => platform
2017-08-04 14:41shuehnerModules => Core
2017-08-04 14:41shuehnerTriggers an Emergency Pack => No
2017-08-04 14:41shuehnerRelationship addedblocks 0036606
2017-08-10 11:30alostaleTag Attached: Performance
2017-08-10 11:30alostaleStatusnew => acknowledged
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.