RE: query on a very big table

2005-07-27 Thread christopher . l . hood
@lists.mysql.com Subject: query on a very big table Hi all, we are trying to run the following query on a table that contains over 600 million rows: 'ALTER TABLE `typed_strengths` CHANGE `entity1_id` `entity1_id` int(10) UNSIGNED DEFAULT NULL FIRST' The query takes ages to run (has been running f

Re: query on a very big table [MySQL partitioning of large tables]

2005-07-26 Thread Josh Chamas
Christos Andronis wrote: Hi all, we are trying to run the following query on a table that contains over 600 million rows: 'ALTER TABLE `typed_strengths` CHANGE `entity1_id` `entity1_id` int(10) UNSIGNED DEFAULT NULL FIRST' The query takes ages to run (has been running for over 10 hours now).

Re: query on a very big table

2005-07-25 Thread Michael Monashev
Hello CA> The query takes ages to run (has been running for over 10 hours CA> now). Is this normal? I think, your indexes are too complicated. MySQL have to rebuild it usually after ALTER TABLE. Sincerely, Michael, http://xoib.com/ http://3d2f.com/ http://qaix.com/ http://ryxi.com/ h

Re: query on a very big table

2005-07-25 Thread Devananda
Not knowing what the ALTER TABLE is changing, I can't really say. Could you send the table structure (as it was before the ALTER TABLE)? Remember that MySQL is actually changing the data for every row, and potentially rebuilding indexes as well, so it has a lot of work to do from that single st

query on a very big table

2005-07-25 Thread Christos Andronis
Hi all, we are trying to run the following query on a table that contains over 600 million rows: 'ALTER TABLE `typed_strengths` CHANGE `entity1_id` `entity1_id` int(10) UNSIGNED DEFAULT NULL FIRST' The query takes ages to run (has been running for over 10 hours now). Is this normal? As a sid