| Author |
Temporay tables -- cause problems?
|
Mike London
Ranch Hand
Joined: Jul 12, 2002
Posts: 951
|
|
Hi, Are there any problems using temporary tables in a multi-user application? I am creating a temporary table and then using it to generate other column results (that would have been very difficult in a single query). I think I read that the temp tables are kept separate for each user. Look forward to any and all replies. Thanks. - Mike
|
 |
Shailesh Chandra
Ranch Hand
Joined: Aug 13, 2004
Posts: 1076
|
|
Originally posted by Mike London: Are there any problems using temporary tables in a multi-user application?
As per my experience, Yes it creates problem when it is not carefully planned, specially when using connection pools
temp tables are kept separate for each user.
Yes It is ,but when you say it is separate for each user this means it is separate for each connection and connection pooling mess-up every thing. In a multi user scenario, A connection with with pooling is shared among many user of your application those are not database user but application user, therefore in reality a temporary table is not for one user and you are likely to get unexpected results. Shailesh
|
Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
|
 |
 |
|
|
subject: Temporay tables -- cause problems?
|
|
|