[Dbix-class] Joins and subqueries
Jess Robinson
castaway at desert-island.demon.co.uk
Thu Jan 19 10:12:42 CET 2006
Hmm, people keep telling me that, so I guess maybe its a DB2 quirk.. *it*
definitely is faster with the subselects in the JOIN and not the WHERE..
Hohum, guess no DB is perfect ;)
Jess
On Thu, 19 Jan 2006, Kaare Rasmussen wrote:
> > This has the added side effect on running faster, since it only does the
> > conditions once, and not once per row, as the SELECTs in the where clause
> > would do..
>
> I don't really understand what you're telling me here. I guess it's in
> connection with DBIC, but exactly what escapes me.
>
> I can't imagine any db engine having trouble optimizing on this level. Except
> maybe lightweight db's like MySQL or SQLite?
>
> --
>
> Med venlig hilsen
> Kaare Rasmussen, Jasonic
>
> Jasonic Telefon: +45 3816 2582
> Nordre Fasanvej 12
> 2000 Frederiksberg Email: kaare at jasonic.dk
>
> _______________________________________________
> List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
>
>
More information about the Dbix-class
mailing list