The two tables are on my harddrive (400G:cool:. I'm running MySQL on my machine only. My syntax is simple:
SELECT BIRTH.*, NAME.*
FROM BIRTH INNER JOIN NAME on (BIRTH.LAST3 = NAME.LAST3) and (BIRTH.FIRST3 and NAME.FIRST3);
When I check the CPU usage, it's going back and forth from about 7 pct to 22 pct.
peterlaursen wrote on Oct 24 2006, 12:18 PM:
two chances …
* upgrade the server (or your resources on it)
* upgrade the connection
This is a single query and it is not SQLyog that is slow. SQLyog is patiently waiting for data to arrive! But try to include a “LIMIT 1000” for instance and measure the time. Your JOIN syntax could be wrong resulting in an astronomic rows returned.
Also Check Task Manager. How much CPU is used? What is the network transfer rate?