On Mon, Apr 08, 2002 at 01:40:02PM -0500, Steve Buehler wrote:

>       If I want to use temporary tables I know I can create tables
> that are unique without using "CREATE TEMPORARY TABLE table_name".
> What I want to know, because it might be more efficient, is if I use
> "CREATE TEMPORARY TABLE table_name" and more than one person hits
> the page (I am using PHP to access the MySQL DB), does the second
> person have to wait until the first person is done and the temporary
> table is gone before the temporary table is created again, or is it
> unique for each connection.

There should be no waiting involed, other than the time required to
create the table(s).

> Example: if 100 people hit the page at the same time, will each have
> a temporary table called "table_name" that only their connection can
> see, meaning that there would actually be 100 tables with the same
> name?

Yes.
-- 
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878   Fax: (408) 349-5454   Cell: (408) 685-5936

MySQL 3.23.47-max: up 60 days, processed 1,630,321,161 queries (313/sec. avg)

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to