Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: latency and round-trips

by pajout (Curate)
on Dec 20, 2008 at 15:55 UTC ( [id://731778]=note: print w/replies, xml ) Need Help??


in reply to Re^4: latency and round-trips
in thread DBI Queries take half an hour

Ad 7 minutes...

Primarily, you should know if it sounds reasonably :>) It depends on many factors, typically, size of the data, network latency and bandwith and speed of the SQL query (i.e. query optimization, Oracle configuration, frequency of processors, amount of memory, ...) If it is 100MB of the data, 7 min could be O.K. in my opinion.

Note If you use fetchall_arrayref with maxrows or other method which does NOT pull all data at once, do not forget to pull all remaining data using, for instance, fetchall_arrayref repeatedly, or call $sth->finish(). I do not know Oracle internalities, but, it is very honest to say "Thank you, the server, I do not need remaining data."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-19 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found