note 44276 deleted from function.oci-set-prefetch by sixd
| From: | sixd@php.net | Date: | Fri, 13 Nov 2009 00:46:53 +0000 |
| Subject: | note 44276 deleted from function.oci-set-prefetch by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-162843@lists.php.net to get a copy of this message | ||
Note Submitter: Herman
----
I noticed an amazing improvement when setting up this parameter. I was querying 300 rows, which took
3 seconds to loop through the fetches.
When I set the prefetch to 500 I could do 5000 rows in 0.7 seconds.
SQL Net protocol is horribly inefficient doing a request/confirm for each line if you don't use
this.