No such thing as a small change | |
PerlMonks |
Re: Re: It's bad manners to slurpby mpeppler (Vicar) |
on Apr 29, 2004 at 15:26 UTC ( [id://349158]=note: print w/replies, xml ) | Need Help?? |
Depending on your DBD, calling fetchrow() may also slurp the entire result into memory. It just won't give it to you all at once, which might reduce memory usage to some degree in exchange for the added overhead in repeated fetchrow() calls.I would contend that this is a bug, and a pretty serious one at that. While pre-fetching data is (often) a good idea, it should never be done blindly without checking the available space (and pre-fetching X million rows doesn't make sense, anyway!) Michael
In Section
Meditations
|
|