in reply to One module for both Apache::DBI and DBI?
Actually apache scripts don't use Apache::DBI, or rather not in the sense you are talking about. All of your scripts should use DBI only.
What Apache::DBI does is keep a pool of database connections available so when your script runs multiple times it can reuse the database connection rather than opening a new one every time. This process is transparent to your scripts.
So just continue using DBI like normal and when you need or want higher performance stick 'PerlModule Apache::DBI' in your httpd.conf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: One module for both Apache::DBI and DBI?
by chunlou (Curate) on May 31, 2003 at 23:29 UTC | |
by jeffa (Bishop) on Jun 01, 2003 at 01:43 UTC | |
by tedrek (Pilgrim) on Jun 01, 2003 at 00:14 UTC |