I have four tables which I want to join to a table with "complete" information.
There are about 2000 rows in each table.
When I try a multiple LEFT JOIN it works as it should but I takes about 20 seconds or more.
How do I optimize a query to handle many rows?
What other JOIN-methods can I use for this?
Should I index in any special way?
There are about 2000 rows in each table.
When I try a multiple LEFT JOIN it works as it should but I takes about 20 seconds or more.
How do I optimize a query to handle many rows?
What other JOIN-methods can I use for this?
Should I index in any special way?