MySQL Forums
Forum List  »  Optimizer & Parser

Query Optimization
Posted by: Jorden Dunne
Date: March 21, 2006 06:10AM

Hi,

Posted something similar to this before, still require help...

I have a table with 60 million rows and am attempting to Insert to a new table based on a Select on the table with 60 million rows.

The query is as follows...

INSERT INTO new_table SELECT * FROM 60_million_rec_table WHERE x BETWEEN * and * AND y BETWEEN * and *

I have the 60 million rows table indexed on the x and y columns.

Currently the query, which is running on my own windows machine, takes on avearage about 90 secs to Insert 100 rows.

Is there any way of speeding this up..?

Regards,
Jorden

Options: ReplyQuote


Subject
Views
Written By
Posted
Query Optimization
2696
March 21, 2006 06:10AM
1780
March 21, 2006 08:24AM
1735
March 21, 2006 09:19AM
1899
March 21, 2006 11:24AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.