Re: oci8 numrows

From: Date: Fri, 23 Mar 2001 14:50:38 +0000
Subject: Re: oci8 numrows
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-71@lists.php.net to get a copy of this message
<bmansion@localhost.hst.nerim.net> wrote in message news:20010323130231.A5DA413EED@golgote.hst.nerim.net... > > Connection to Oracle > PEAR DB 240 ms with plogon (slower with ocilogon) > PHPLIB 1 ms Did you get those results in the same script or in two different script. Oracle always takes a bit longer to connect the first time, after the first connect it becomes faster, also plogon reuses the connection so even in a second script it would still use the first connection hence the ridiculously low connect time for PHPLIB (assuming php lib uses plogon also). Try reversing your benchmark, run PHPLIB first and PEAR second. My best bet for a realistic benchmark for oracle would be to write two scripts run one, restart apache and run the second.

« previous php.pear.dev (#71) next »