Re: hasOne load time x4

2013-11-03 Thread datgs
Please export here your db schema. 

On Friday, November 1, 2013 11:12:55 PM UTC+7, Aurelian Apostol wrote:
>
> I am using two tables items and products, item hasOne product.
> When making a containable pagination on Item it loads 1200 rows in 13s, 
> when moving Product in hasMany it loads in 3,2s. With no other changes on 
> the models or any other place as that matters.
>
> Any ideas? 
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


hasOne load time x4

2013-11-03 Thread Aurelian Apostol
I am using two tables items and products, item hasOne product.
When making a containable pagination on Item it loads 1200 rows in 13s, 
when moving Product in hasMany it loads in 3,2s. With no other changes on 
the models or any other place as that matters.

Any ideas? 

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.