Difference between revisions of "Plugin: CSV Importer"

From iDempiere en
(link)
Line 51: Line 51:
 
== JIRA Reference ==
 
== JIRA Reference ==
 
[https://idempiere.atlassian.net/browse/IDEMPIERE-2630 IDEMPIERE-2630]
 
[https://idempiere.atlassian.net/browse/IDEMPIERE-2630 IDEMPIERE-2630]
 +
==See Also==
 +
*[[Plugin:_RED1_NINJA]] that has automated conversion of attached CSV into a new model fully rendered in Menu tree with CSV content injected as data.
 +
  
 
[[Category:Available_Plugins]]
 
[[Category:Available_Plugins]]

Revision as of 02:03, 31 January 2017

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.


IDEMPIERE STANDARD WAY 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.

JIRA Reference

IDEMPIERE-2630

See Also

  • Plugin:_RED1_NINJA that has automated conversion of attached CSV into a new model fully rendered in Menu tree with CSV content injected as data.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.