in reply to Re: Fork a new process for inserting a record in DB (Oracle)
in thread Fork a new process for inserting a record in DB (Oracle)

Yes, sqlldr.

  • Comment on Re^2: Fork a new process for inserting a record in DB (Oracle)

Replies are listed 'Best First'.
Re^3: Fork a new process for inserting a record in DB (Oracle)
by Anonymous Monk on Nov 07, 2013 at 14:21 UTC
    I'm trying to populate fresh data into the DB. So, I don't have any source from where I can simply dump it using sqlldr.

      The idea is to write your data source to a text file with Perl.

      Then you use sqlldr to bulk load the data into your database.

      This is much faster than doing it through DBI.

      And that is where Perl comes into the play. You can create the "source" with Perl from the fresh data.
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      "I don't have any source from where I can simply dump it using sqlldr."

      sqlldr is for loading data, not dumping it. You must have data, otherwise what were you populating the blank database with? If it's something you generate then simply use that as the input for sqlldr.