in reply to Re: CDBI and multiple databases
in thread CDBI and multiple databases

Which kinda sucks if you have large blob fields as they can impact performance if they are in the same db as your other fields -- but then again didn't you toss your right to performance when you useed Class::DBI? =)


-Waswas

Replies are listed 'Best First'.
Re: Re: Re: CDBI and multiple databases
by perrin (Chancellor) on Mar 22, 2004 at 06:46 UTC
    Class::DBI follows all of the DBI best practices for performance. Separating fields into different databases for performance reasons is a very specialized task that no general tool is ever going to do for you. In general, Class::DBI can be helpful to performance because it implements things like lazy-loading that most people don't bother to do when they write their own database access objects.
      Sorry, it was late last night when I posted that, I just meant to state that Class::DBI, being a general use layer, can never be as fast as well written specialized DBI and SQL. I was assuming that the OP may come back with an issue about blob fields in the same database being too unoptimized. I agree with you 100%.


      -Waswas