Pentaho

 View Only
Expand all | Collapse all

PDI insert huge data in Oracle with hints

This thread has been viewed 5 times
  • 1.  PDI insert huge data in Oracle with hints

    Posted 10-17-2023 11:01

    Hello everyone:

    We're facing an issue when inserting a significant volume of data into an Oracle database.

    Using the Output Table and Insert/Update steps, the process moves forward but generates an excessive amount of log files on the database server (50 GB in 20 minutes).

    We've found that the solution involves marking the tables with the NOLOGGING modifier in Oracle. When performing the insertions, we should use the hint: INSERT /* +APPEND */ .....

    The problem is that we don't see a way to perform the bulk load while customizing the INSERT statement. The only idea that comes to mind is using the SQL script step, but we understand that it would commit for each line, and we believe it won't be very efficient.

    Do you have any ideas on how we can proceed?

    Best regards and thank you very much.



    ------------------------------
    Javier Camara
    Project Manager
    Agencia Digital de Andalucia - Junta de Andalucia
    ------------------------------


  • 2.  RE: PDI insert huge data in Oracle with hints

    Posted 10-18-2023 07:45

    Hello:

    Finally we solve the problem using the Oracle Bulk Loader step with APPEND method.

    Best regards!



    ------------------------------
    Javier Camara
    Project Manager
    Agencia Digital de Andalucia - Junta de Andalucia
    ------------------------------