Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033872Openbravo ERPY. DBSourceManagerpublic2016-09-01 12:222016-09-01 13:20
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
newopen 
5
 
 
Core
No
0033872: Provide the means to disable/reenable programatically all the indexes of the database
This can be very useful, for install the import.sample.data process is much faster if the data is imported with the indexes disabled.

Importing a big sample data(+1.300.000 rows in a few transactional tables, +300.000 busines partners, etc) takes 522923 milliseconds with the indexes enabled, and 259161 ms (49.5% of the current metric) with the indexes disabled (this measure includes the time spent disabling and reenabling the indexes).

Note that the data load was done in both cases using PostgreSQL's COPY functionality, instead of using dllutils' DataReader as usual.
-
No tags attached.
Issue History
2016-09-01 12:22AugustoMauchNew Issue
2016-09-01 12:22AugustoMauchAssigned To => platform
2016-09-01 12:22AugustoMauchModules => Core
2016-09-01 12:22AugustoMauchTriggers an Emergency Pack => No
2016-09-01 12:22AugustoMauchAssigned Toplatform => AugustoMauch
2016-09-01 13:18AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=13016#r13016
2016-09-01 13:20AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=13017#r13017

There are no notes attached to this issue.