Guest_imported
New member
- Jan 1, 1970
- 0
Please help, I need to create two tables, the first of which(table A) is a join of two tables and the second (table B), a join of three. I then need to scan every record of B for matches in A. I'm usung mysql, therefore I can't use subqueries to create the tables and so I need to do it in three stages. Create table B, create table A, then scan them. My question is : is it better (resource wise) to create two temp tables then scan, or would it be more efficient to pass the output record set of A and B back to php and scan there? Thanks for your help in advance, Rick. PS, if A had 1000 records and B had 1000 records, if I dump two temp tables onto my server while I use mysql to scan them, how long would it take and would it compleatly lock up my virtual server for that amount of time(and therefore all sites hosted on my server).