Preventing "Describe <table>" database calls


On every action, when I load a model and perform a query I see on mysql log a query "describe <table x>"; So if I load up 5 model, it executes 5 queries for "nothing".

I know that this is to map the db columns to the model but is there a way to cache this?

Rather than, or in addition to, caching the meta-data (this will still run the DESCRIBE... once per cache timeout interval), you can also use a different meta-data strategy: