Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Using a single database handle or multiple handles

by zwon (Abbot)
on Oct 11, 2012 at 12:29 UTC ( [id://998431]=note: print w/replies, xml ) Need Help??


in reply to Using a single database handle or multiple handles

Generally it is more efficient to connect once. Each time you're connecting to database you're spending some time and resources. On the other hand if your process sending one request to database in ten minutes, it may be better to establish a new connection for every request.
  • Comment on Re: Using a single database handle or multiple handles

Log In?
Username:
Password:

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

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

    No recent polls found