Re: pre-spawning database connections[newbie]

2003-01-13 Thread Stas Bekman
Sven Geisler wrote: Hi Ben, Do you use Apache::DBI? I mean yes because you're using connect_on_init. Apache::DBI do not really close your DBI connection. You will get the same connection with the same connection parameters, when you call DBI->connect. All connections are cached by Apache::DBI.

Re: pre-spawning database connections[newbie]

2003-01-13 Thread Sven Geisler
Hi Ben, Do you use Apache::DBI? I mean yes because you're using connect_on_init. Apache::DBI do not really close your DBI connection. You will get the same connection with the same connection parameters, when you call DBI->connect. All connections are cached by Apache::DBI. Yes, you should call

pre-spawning database connections[newbie]

2003-01-13 Thread Ben Wrigley
Hi All,   I'm a mod_perl newbie and just trying to understand a little more about the startup.pl files and prespawning databases.   I am using the connect_on_init routine in the startup.pl which is fine.   What I'm not sure is then how to use this most economically in my scripts.   It seem