Difference between revisions of "Plugin: CSV Importer"

From iDempiere en
Line 24: Line 24:
 
== Configuration ==
 
== Configuration ==
 
After installing the plugin login as System and go to the Report/Process window, go to the Import CSV Process record and change the classname for "de.bxservice.process.ImportCSVProcess" to run the new class.  
 
After installing the plugin login as System and go to the Report/Process window, go to the Import CSV Process record and change the classname for "de.bxservice.process.ImportCSVProcess" to run the new class.  
 +
 +
[[Image:IMportPorcesscalssname.png|800px]]
  
 
After you do that, you can configure the Import CSV Process as usual, in the Import Template window you will see a new field (Asynchronous Commit)
 
After you do that, you can configure the Import CSV Process as usual, in the Import Template window you will see a new field (Asynchronous Commit)
Line 38: Line 40:
  
  
−
[[Image:Idempeirecsvimporter.png]]    ''IDEMPIERE STANDARD IMPORTER''
+
[[Image:Idempeirecsvimporter.png|aaaaaaa]]    ''IDEMPIERE STANDARD IMPORTER''
  
  

Revision as of 13:06, 20 May 2015

Description

This plugin improves the normal CSV Importer process in iDempiere.

You can see the test results in the improvement section

Note: This plugin has a time improvement only for postgresql database instances

Feedback

Please rate this plugin:

{{#w4grb_rate:Plugin:_CSV_Importer}}

<w4grb_ratinglist pagevotes idpage="Plugin:_CSV_Importer" items="30"/>


If you want to provide additional comments, please use the Discussion page

Configuration

After installing the plugin login as System and go to the Report/Process window, go to the Import CSV Process record and change the classname for "de.bxservice.process.ImportCSVProcess" to run the new class.

IMportPorcesscalssname.png

After you do that, you can configure the Import CSV Process as usual, in the Import Template window you will see a new field (Asynchronous Commit)

NewField.png

In the cases you want to preserve the normal iDempiere way of doing it don't check this field, if you want the import to run faster check it and run the process.


Improvement

The plugin was tested with several files, the first one a file with 5000 entries, and the behavior of the asynchronous commits was 30% faster.

In the tables below you can see the result after applying a csv file with 103.222 records. The first table shows the behavior in the normal iDempiere way, the second one the behavior after applying the plugin.


aaaaaaa IDEMPIERE STANDARD IMPORTER


Csvpluginresults.png BX SERVICE IMPORTER


As you can see in the results the second process took 16 minutes 48 seconds less time committing, that means a 22.16% faster than the standard way.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.