note 16521 deleted from features.persistent-connections by jimw
| From: | jimw@php.net | Date: | Tue, 18 Dec 2001 20:37:03 +0000 |
| Subject: | note 16521 deleted from features.persistent-connections by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23209@lists.php.net to get a copy of this message | ||
You need to reuse the persistant connection to see any major gains with
your testing program. I.E. iterate several SELECTs within each connect
block. This will help reveal the true speed differences.
<p>
Not necessarily. The speed gains with persistent connections appear to be only in startup overhead,
not execution. So, you can be smart about it if you are using non-persistent connections by grouping
multiple SQL statements together and sending them to the backend as one, instead of connecting each
time for each execution (assuming of course we are talking about SQL in a single page).