[Dbix-class] (no subject)

David Cantrell david at cantrell.org.uk
Tue Jul 3 16:34:18 GMT 2012


On Mon, Jul 02, 2012 at 10:49:41AM -0500, Bill Moseley wrote:
> On Mon, Jul 2, 2012 at 9:21 AM, Marc Espie <espie at nerim.net> wrote:
> > Compare Tim Bunce's presentation of DBI (which does emphasize that speed
> > is really important) with the mostly "don't care about performance at all"
> > in DBIx::Class.
> >
> > I know that I've given up on DBIx::Class myself, precisely because there's
> > such a huge overhead (most of which isn't really that explainable,
> > actually,
> > there's something as over-generality).
> It's really hard to generalize about this.

DBIx::Class's performance is, it's true, crappy by default.  But at
least I can make it fast by, for example, telling it what to prefetch.
I'd rather it be that way round than that it prefetch everything by
default, thus making very large very complex queries even when it
doesn't need to, and eating all the memory in the world with the
results.

-- 
David Cantrell | top google result for "topless karaoke murders"

         Nuke a disabled unborn gay baby whale for JESUS!



More information about the DBIx-Class mailing list