Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Singleton Objects for DBI Connection

by pajout (Curate)
on Oct 06, 2010 at 17:35 UTC ( #863837=note: print w/ replies, xml ) Need Help??


in reply to Singleton Objects for DBI Connection

Firstly, is your Apache just forking processes or does threads? I have no experience with second case.

If Apache just forks, I am mostly sure that Apache children should not share dbhs. But it is very common for mod_perl applications to keep dbh till the child lives, especially with Oracle (Oracle does not dedicate one db process for one connection necessarily). Simply, 1 Apache child == 1 dbh.


Comment on Re: Singleton Objects for DBI Connection

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-07-30 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls