On Mon, 2006-05-01 at 18:14 -0400, Jonathan Vanasco wrote: > once apache::DBI is loaded, it > caches all connections - so you'll probably get worse performance > with every request sharing 1 connection, than with every request > making/breaking a new request. you want to make sure that you load > Apache::DBI in startup.pl, but that you don't make any connections > until you're in an apache request.
No, Apache::DBI will not cache connections made during startup. Trying to share a connection made during startup would lead to worse things than bad performance: segfaults and strange, apparently random DBI errors. - Perrin