Re: Connections
| From: | Aidan Lister | Date: | Sun, 04 Apr 2004 10:45:59 +0000 |
| Subject: | Re: Connections | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11610@lists.php.net to get a copy of this message | ||
I suggest you view the documentation about persistent connections on
php.net, the DB class is simply a wrapper for the native functions.
"Shawn Greene" <sgreene@azorus.com> wrote in message
news:ABEKKKAIACPKOLALMAHNIEAHCOAA.sgreene@azorus.com...
>
> Hello,
>
> I am a bit under educated in some respects I'll admit, and as a result I
> pose these questions.
>
> When using DB::connect with persistent connections as TRUE, it will only
> open one connection to the database? (In this case an oci8)
>
> Alternatively, when persistent connections is FALSE, will it open multiple
> connections to the database?
>
> Is there a way to control the number of connections it would open? or does
> the number of times DB::connect is called dictate this number?
>
> Any help or answers would be greatly appreciated, and I will send out a
> virtual sixpack :)
>
> Thanks in advance,
>
> ------------
> Shawn Greene