Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: mySQL hits or Storable retrieves?

by htoug (Deacon)
on Oct 03, 2001 at 11:11 UTC ( [id://116372]=note: print w/replies, xml ) Need Help??


in reply to Re: mySQL hits or Storable retrieves?
in thread mySQL hits or Storable retrieves?

or at least used DBD instead of DBI

That is meaningless.

When you use DBI you use a DBD as well - namely the Database Driver for the database system you use.

  • Comment on Re: Re: mySQL hits or Storable retrieves?

Replies are listed 'Best First'.
Re: Re: Re: mySQL hits or Storable retrieves?
by George_Sherston (Vicar) on Oct 03, 2001 at 13:13 UTC
    Sorry not to be more clear. I intended to contrast what I understand to be two separate modules, namely DBI and DBD::mysql. At the moment I use the former, which is v straightforward and easy to learn; but (so far as I can make out) unlike DBD::mysql it doesn't support MySQL transactions. If DBI does support MySQL transactions I'd be glad to hear of it! But as you can see from the thread I linked to, my interim conclusion is that it doesn't, whereas DBD:mysql does. My main point is, that if I start out on a project like this in future, I'll make sure I use a DBMS / driver combo that lets me do transactions.

    § George Sherston
      DBI does not support MySQL.
      DBD::MySQL is the module that DBI uses to support MySQL.
      DBD::MySQL is only able to support transactions as far as MySQL can, ie afaik not at all.
      Maybe you are thinking of the MySQL module, an old (and obsoleted) perl4 (?) compatibility mode module?

      Appendix B of the Cheeta book describes the differences between the different database systems that the DBI-drivers support (or to be more correct: describes the way that the drivers implement and/or support the many DBI features, eg date-formats, transaction handling, blob handling), and is definitely worth reading if you use the DBI.

        actually, i believe that the newest version of mysql does have soome limited transaction capability, if you use the right extensions. i don't use it in that capacity, so i can't comment on the implementation beyond suggesting that anyone interested should check the various mysql-oriented sites.

Log In?
Username:
Password:

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

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

    No recent polls found