MySQL Forums
Forum List  »  Performance

Re: CREATE INDEX is very slow
Posted by: Ulf Wendel
Date: June 20, 2005 12:23PM

Sal Young wrote:
> Can someone tell me why it takes 28 1/2 minutes to
> create a one column index on a MyIsam table with
> 9.5 million rows? Or is this normal.
> Would you need to see my server variables in order
> to help me out with this question? I'm currently


Ahoy!

Index creation involves sorting. Maybe this is the bottleneck in your case. Check http://dev.mysql.com/doc/mysql/en/myisam-start.html for myisam_sort_buffer_size, myisam_max_extra_sort_file_size, myisam_max_sort_file_size .

Ulf

Options: ReplyQuote


Subject
Views
Written By
Posted
4931
June 17, 2005 01:58PM
3593
June 17, 2005 02:17PM
3630
June 20, 2005 07:51AM
3434
June 20, 2005 07:57AM
3513
June 20, 2005 08:19AM
10480
June 20, 2005 12:38PM
4225
June 20, 2005 04:22PM
Re: CREATE INDEX is very slow
3968
June 20, 2005 12: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.