http://qs321.pair.com?node_id=985055


in reply to Re^2: Sybase DB Library vs Client Library API
in thread Sybase DB Library vs Client Library API

Same as roboticus, really - the DBI syntax is a little simpler, and the API is (mostly) standardized, so your scripts can be easily maintained by someone else who doesn't necessarily understand the CTlib API.

And I'm more likely to fix things in DBD::Sybase these days...

Michael

  • Comment on Re^3: Sybase DB Library vs Client Library API

Replies are listed 'Best First'.
Re^4: Sybase DB Library vs Client Library API
by perl@1983 (Sexton) on Aug 03, 2012 at 08:28 UTC
    Thanks Michael. My team is working on migrating our scripts from DBlib (to either CTlib or DBD::Sybase). However, we are still discussing the pros and cons of CTlib vs DBD::Sybase. One of the things we noticed was the bcp in CTlib is much much faster as compared to the "Experimental Utility" in DBD::Sybase. Can you please help to clarify whether the "Experimental Bulk Load" utility in DBD::Sybase is doing inserts underlyingly and therefore slower? Thanks much.
      Hi,

      No, DBD::Sybase uses the same BLK API as Sybase::CTlib, so it should theoretically be as fast (though to be honest I haven't timed them.)

      Michael