View Single Post

   
  #2 (permalink)  
Old 02-28-2008, 10:28 AM
Brian Wakem
 
Posts: n/a
Default Re: How long does indexing via ALTER TABLE take?

John Nagle wrote:

> I loaded about 15 million records into a MySQL table, and
> then did an ALTER TABLE to add an index on a BIGINT field.
> The ALTER TABLE has been running for about 30 hours now.
> About how long should that take?



I would say 3-20 minutes depending on the hardware, so long as box is doing
nothing else.

What does SHOW PROCESSLIST say?


--
Brian Wakem
Email: http://homepage.ntlworld.com/b.wakem/myemail.png
Reply With Quote