Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Fork a new process for inserting a record in DB (Oracle)

by Anonymous Monk
on Nov 07, 2013 at 14:21 UTC ( #1061582=note: print w/ replies, xml ) Need Help??


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

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.


Comment on Re^3: Fork a new process for inserting a record in DB (Oracle)
Re^4: Fork a new process for inserting a record in DB (Oracle)
by Corion (Pope) on Nov 07, 2013 at 14:23 UTC

    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.

Re^4: Fork a new process for inserting a record in DB (Oracle)
by choroba (Abbot) on Nov 07, 2013 at 14:25 UTC
    And that is where Perl comes into the play. You can create the "source" with Perl from the fresh data.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Re^4: Fork a new process for inserting a record in DB (Oracle)
by marto (Chancellor) on Nov 07, 2013 at 14:28 UTC

    "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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061582]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-08-01 00:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls