hmm... I'll try it later... tnx alot ˆˆ
-- Renato de Freitas Freire [email protected] On Fri, Nov 19, 2010 at 3:05 PM, cricket <[email protected]> wrote: > On Fri, Nov 19, 2010 at 11:59 AM, Renato de Freitas Freire > <[email protected]> wrote: > > Yeah.. > > my table is near 1gb... > > Something like 800mb or a little more... > > Im doing something like this: > > $data = $this->Model->find('all',array('conditions' => array('Model.ok' > => > > 1))); > > foreach($data as $row) { > > foreach($row as $key => $value) { > > // here i call phpexcel (or the helper) to write the file. > > } > > } > > My action is pretty much this... > > Do you think if I break this process into pages can make it lighter? > > Yes, of course. That's what paging/limit is for. That should > definitely be the approach for any DB over a few MB. > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
