2008年11月27日星期四

Re: [fw-db] Parsing through large result sets

>> I dont quite understand why you need to get all results from a large
>> table. Even in Mysql this is a bad idea and is why it has a safe mode
>> that stops this behaviour.

We do this quite a bit, say you have a ton of data that you can page though
using your pagination object, we have an export to csv button, this then
changes the view and stuff, but it also needs to read _all_ the data from
the DB.

I'm not saying what he is doing is correct, but some of us really do need to
stream a shit load of data. Reading this into an array sucks ;-)

John
--
View this message in context: http://www.nabble.com/Parsing-through-large-result-sets-tp20264357p20717998.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: