Helping Kohana 3 ORM to speed up a little

Posted by Luke on Stack Overflow See other posts from Stack Overflow or by Luke
Published on 2011-02-03T22:53:32Z Indexed on 2011/02/04 23:25 UTC
Read the original article Hit count: 286

Filed under:
|

I noticed that Kohana 3 ORM runs a "SHOW FULL COLUMNS" for each of my models when I start using them:

SHOW FULL COLUMNS FROM `mytable`

This query might take a few clock cycles to execute (in the Kohana profiler it's actually the slowest of all queries ran in my current app).

Is there a way to help Kohana 3 ORM to speed up by disabling this behaviour and explicitly define the columns in my models instead?

© Stack Overflow or respective owner

Related posts about kohana-3

Related posts about kohana-orm