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

Re^2: Implementing a buffered read-and-insert algorithm

by mpeppler (Vicar)
on Dec 14, 2004 at 08:39 UTC ( [id://414643]=note: print w/replies, xml ) Need Help??


in reply to Re: Implementing a buffered read-and-insert algorithm
in thread Implementing a buffered read-and-insert algorithm

DBI does not support Bulk Insert
True, though DBD::Sybase (in it's development version, and in 1.05 once it is released) supports an experimental access to Sybase's BLK API, and this can speed up inserts by a tremendous amount.

Michael

  • Comment on Re^2: Implementing a buffered read-and-insert algorithm

Replies are listed 'Best First'.
Re^3: Implementing a buffered read-and-insert algorithm
by mkirank (Chaplain) on Dec 14, 2004 at 11:24 UTC
    Yes I remember reading in the DBI list that you were working on Implementing this. Any Idea if the bulk insert option will be done for the other Databases as well ?
      The problem is that Bulk Load APIs are very database-specific. For DBD::Sybase I managed to squeeze it so that it looks to the DBI user almost as a normal INSERT prepare()/execute() loop, but it might not be so easy for other drivers to make this conform to the normal DBI API.

      And of course if you happen to need it for a particular database nothing's stopping you from coding the appropriate behavior into the driver :-)

      (yes, yes, I know - it can be tricky to understand how the DBI internals work, and how that particular driver implements things...)

      Michael

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-24 23:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found