in reply to Re: It's bad manners to slurp
in thread It's bad manners to slurp
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: It's bad manners to slurp
by samtregar (Abbot) on Apr 29, 2004 at 15:31 UTC | |
by tantarbobus (Hermit) on Apr 29, 2004 at 16:50 UTC | |
by eserte (Deacon) on Apr 29, 2004 at 17:12 UTC | |
by samtregar (Abbot) on Apr 29, 2004 at 20:03 UTC | |
by eserte (Deacon) on Apr 30, 2004 at 12:24 UTC | |
by samtregar (Abbot) on Apr 29, 2004 at 17:06 UTC | |
by mpeppler (Vicar) on Apr 29, 2004 at 16:03 UTC |