Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: A profiling surprise ...

by runrig (Abbot)
on May 23, 2008 at 19:46 UTC ( #688202=note: print w/replies, xml ) Need Help??


in reply to A profiling surprise ...

51 calls to execute() takes 19 seconds? (Without much data, I'm making wild conjectures ...) that seems long, but it sort of makes sense if the database returns all of the results to the client upon execute, and there are a lot of results, and fetch() just iterates through those results. And maybe you need to look at the queries and the indexes on the tables.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2021-01-25 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?