Re: Performance: why it take so long time?

From: Date: Mon, 16 Jul 2001 00:17:14 +0000
Subject: Re: Performance: why it take so long time?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10423@lists.php.net to get a copy of this message
Hello Stefano, On 10-Jul-01 04:31:57, you wrote: >Hi. >I am using PHP4+Apache 1.3.14 (win32)+[Access-local | Oracle-remote] with >very simple query on small tables. >When I start the page.php it takes several second to display the results: it >seems that it is waiting someting; if there are many rows, it displays a >portion of it at time (in terms of Kbytes 150, then other 150 and so on). >The question is: there are some variable configuration in Apaches or some >tips to use in the PHP code for fastening the replay? (For exaple i faund >that in a PHP page that display a FORM, the displaing time is smaller if I >do some calculation in the code than if I don't use it) I think your are noticing the Oracle server connection overhead. You'd better use persistent connections to avoid this overhead after the first connection. Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.db (#10423) next »