Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: DBI speed up needed on MySQL

by jacques (Priest)
on May 09, 2005 at 20:35 UTC ( #455314=note: print w/replies, xml ) Need Help??

in reply to Re: DBI speed up needed on MySQL
in thread DBI speed up needed on MySQL

That's what I ended up doing. Just sending stuff a little at a time with the limit clause, but this is not ideal. Hopefully, under normal circumstances, my script would not handle tens of thousands of rows at once. For important testing purposes, we decided to send over all the rows (and that's when we see the huge slowdown). So far, the bottleneck appears to be what thor suggested: mysql fetches all of the data before returning the first row. The more I increase the limit, the longer it takes to process the first row. ...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://455314]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2016-10-28 06:39 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (375 votes). Check out past polls.