pda4me
asked on
MySQL speed up query with index?
I am comparing 2 tables each with common field called mniNum and removing duplicate records from the one table by comparing records in each table. If I create an index in each table using the common field will that help speed up the process?
What else can I do to speed up a query that must compare each record between two tables?
What else can I do to speed up a query that must compare each record between two tables?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ltorres, will delete also be increased in addition to insert times when there is an index? I am actually comparing the tables and removing records.
Yes corect deletes as well
Here is a good resource
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/data_acc.htm
Here is a good resource
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/data_acc.htm
If you can post your queries and table definition it'd be clear picture.