MySQL Forums
Forum List  »  Performance

Re: Selecting a 80 million regs database ordered by an Index
Posted by: lei liang
Date: December 16, 2004 11:23PM

ALTER TABLE table1 ADD INDEX index_name(orderby_index_column);
create table ble (select * from table1 limit 0);
insert into ble select * from table1 order by index limit 0,100000;
insert into ble select * from table1 order by index limit 100000,200000;
...

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Selecting a 80 million regs database ordered by an Index
1932
December 16, 2004 11:23PM


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.