Re: DESCRIBE happening too often

2008-08-31 Thread Dardo Sordi Bogado
'modified'=> array('type' => 'datetime', 'null' => '1', > 'default' => > '', 'length' => null) >); > } > > but every page view always brings up first the auth tables (aros, >

Fwd: DESCRIBE happening too often

2008-08-29 Thread cmbg
pe' => 'datetime', 'null' => '1', 'default' => '', 'length' => null) ); } but every page view always brings up first the auth tables (aros, acos, aros_acos) and then every table that I use in the controller even if the

Re: DESCRIBE happening too often

2007-12-17 Thread [EMAIL PROTECTED]
As far as I know, the describe should not occur if there is is a schema defined for the database tables. The new console in 1.2 should generate this automatically when you create a new model with 'cake bake'. I haven't tried it yet cause i can't find those bloody minutes but i can't postpone it mu

Re: DESCRIBE happening too often

2007-12-15 Thread Olexandr Melnyk
SHOW PROCESSLIST On 12/14/07, Grant Cox <[EMAIL PROTECTED]> wrote: > > > How are you checking that you are getting a lot of DESCRIBE queries > with DEBUG set to 0? > > > On Dec 14, 7:09 am, "Olexandr Melnyk" <[EMAIL PROTECTED]> wrote: > > Hello bakers, > > > > in one of applications I'm working on

Re: DESCRIBE happening too often

2007-12-13 Thread Grant Cox
How are you checking that you are getting a lot of DESCRIBE queries with DEBUG set to 0? On Dec 14, 7:09 am, "Olexandr Melnyk" <[EMAIL PROTECTED]> wrote: > Hello bakers, > > in one of applications I'm working on, I have noticed DESCRIBE queries being > executed on every page for all used models.

DESCRIBE happening too often

2007-12-13 Thread Olexandr Melnyk
Hello bakers, in one of applications I'm working on, I have noticed DESCRIBE queries being executed on every page for all used models. With a load of page views, this only creates problems. As far as I know, such queries should be cached if application is in production (DEBUG = 0), but I still ge