hi
i need to optimize the join query, which joins three tables
say table1 ,table2 , table3 each having huge volume of records...
the query is as
[CODE=mysql]select table1.id,table 2.time,table3.S tatus
from table1 left join table2
using(id)
left join table3
using (id)
limit 10000[/CODE]
this gives result efficiently if limit is less but problem is with huge data set
when each table consist millions of records
any suggestion for optimizing it or any other way to do so
thanks in advance i am using mysql 4.1
i need to optimize the join query, which joins three tables
say table1 ,table2 , table3 each having huge volume of records...
the query is as
[CODE=mysql]select table1.id,table 2.time,table3.S tatus
from table1 left join table2
using(id)
left join table3
using (id)
limit 10000[/CODE]
this gives result efficiently if limit is less but problem is with huge data set
when each table consist millions of records
any suggestion for optimizing it or any other way to do so
thanks in advance i am using mysql 4.1
Comment