Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Sybase::BCP & iowait

by krisahoch (Deacon)
on Nov 12, 2002 at 15:31 UTC ( [id://212283]=note: print w/replies, xml ) Need Help??


in reply to Sybase::BCP & iowait

Foxcub,

I would try opening and closing the database handle only once. In other words, open and close it somewhere outside of the bcpInsert subroutine.

Also, the code that you posted probably isn't the culprit. Please post code for the following subroutines...

bcp_init(); bcp_meminit(); bcp_sendrow(); bcp_batch bcp_done;
I think your problem may lie somewhere in that list


Kristofer Hoch

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-25 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found