http://www.perlmonks.org?node_id=1052414


in reply to Re: Re: Speeding up the DBI
in thread Speeding up the DBI

If you want DBD::mysql to act as if it were using cursors, you can specify mysql_use_rows on the statement handle, and then it will not pull over the whole data set on execute.
I think you meant "mysql_use_result", some grief and head banging over that typo, so hopefully that'll help some wanderer around here also trying to speed up $sth->execute