note 95017 deleted from function.mysql-unbuffered-query by danbrown
| From: | danbrown@php.net | Date: | Wed, 03 Aug 2011 19:18:48 +0000 |
| Subject: | note 95017 deleted from function.mysql-unbuffered-query by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182192@lists.php.net to get a copy of this message | ||
Note Submitter: snail2008 at gmail dot com
----
when you use the mysql_free_result,it will still fetch all rows from the result set.So the which
operation will cost less memory,fetch the first 50 rows and use the mysql_free_result or fetch all
rows.
if the behaviour remains the same,the advantge of the mysql_unbuffered_query is just the immediately
action rather than saves a considerable amount of memory.