Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: Do I need a database model?

by Your Mother (Chancellor)
on Mar 11, 2014 at 05:10 UTC ( #1077791=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Do I need a database model?
in thread Do I need a database model?

Raw SQL with properly bound columns and prepared statements or DB procedures will always win the speed race, often hugely, but I want to point out that DBIC got MUCH faster recently. Fast enough to beat Rose::DB, the previous ORM speed king, on certain operations; and you have tools like DBIx::Class::ResultSet::HashRef to skip the most expensive part of DBIC (objectification of records). DBIC also has some cache control built-in so depending on the use case it could conceivably be faster than raw SQL unless you go to the trouble of handling caching yourself. And that underscores the final case for DBIC: it does nearly everything and it does it before you realize you were going to need it.

Comment on Re^3: Do I need a database model?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2015-11-26 05:13 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls