RE: [PHP] Re: how dod you get to do multiple mysql queries concurrently?
| From: | Edward Kay | Date: | Fri, 25 Jan 2008 12:11:17 +0000 |
| Subject: | RE: [PHP] Re: how dod you get to do multiple mysql queries concurrently? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268091@lists.php.net to get a copy of this message | ||
> Per Jessen wrote:
> > Colin Guthrie wrote:
> >
> >> Per Jessen wrote:
> >>> I know how to do multiple queries - the key issue in my question was
> >>> how to do them concurrently (i.e. in parallel).
> >> So you want to make PHP multithreaded???
> >
> > No, just the mysql queries.
>
If you're selecting data, could you not reduce the number of queries using joins?
If you're inserting data, look into MySQL's INSERT DELAYED syntax.
HTH,
Edward