Re: Re: mysql and unbuffered queries
| From: | Zeev Suraski | Date: | Mon, 07 May 2001 10:53:55 +0000 |
| Subject: | Re: Re: mysql and unbuffered queries | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-54202@lists.php.net to get a copy of this message | ||
At 13:07 7/5/2001, Jani Taskinen wrote:
Second question is: What is the use of mysql_query() function anymore then? Why not just exchange mysql_query() with mysql_unbuffered_query() ? You didn't say anything about any disadvantages on using it. :)Well there are some advantages: - In smaller queries (that is, smaller result sets), mysql_query() is probably considerably faster - You can't use mysql_num_rows() on an unbuffered query result Zeev