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

Re: performance problem with oracle dbd

by pizza_milkshake (Monk)
on Apr 15, 2004 at 23:43 UTC ( [id://345586]=note: print w/replies, xml ) Need Help??


in reply to performance problem with oracle dbd

i do not have alot of experience with oracle, but i've been dealing with insert issues in other databases lately. here's some things you can try:
  • see if oracle comes with a tool that will import csv/tab-sep data. this is often many times faster that putting it into sql and inserting it.
  • check if oracle supports multi-insert syntax, where you can specify more than one records' worth of data per statement. this will greatly speed up your queries.
  • turn autocommit off. this is an easy one. you may also have to wrap the inserts in a transaction.
  • disable indexes/keys if oracle supports it. then enable them at the end of the script.

perl -e'$_="nwdd\x7F^n\x7Flm{{llql0}qs\x14";s/./chr(ord$&^30)/ge;print'

  • Comment on Re: performance problem with oracle dbd

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-19 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found