Bug #21680 | ALTER TABLE tab ADD INDEX, with 4 million rows fails | ||
---|---|---|---|
Submitted: | 16 Aug 2006 22:46 | Modified: | 24 Aug 2006 12:29 |
Reporter: | Alexandre Pereira | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.1.11 | OS: | Linux (Linux 2.6 (Slackware)) |
Assigned to: | CPU Architecture: | Any | |
Tags: | ALTER TABLE, huge table, innodb |
[16 Aug 2006 22:46]
Alexandre Pereira
[17 Aug 2006 17:15]
Alexandre Pereira
I use my-huge.cnf, with the following configuration (Pentium D with 4GB RAM, 6GB swap): # Uncomment the following if you are using InnoDB tables innodb_data_home_dir = /var/lib/mysql/ innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend innodb_log_group_home_dir = /var/lib/mysql/ innodb_log_arch_dir = /var/lib/mysql/ # You can set .._buffer_pool_size up to 50 - 80 % # of RAM but beware of setting memory usage too high innodb_buffer_pool_size = 1G innodb_additional_mem_pool_size = 20M # Set .._log_file_size to 25 % of buffer pool size innodb_log_file_size = 250M innodb_log_buffer_size = 8M innodb_flush_log_at_trx_commit = 1 innodb_lock_wait_timeout = 50
[24 Aug 2006 12:29]
Alexandre Pereira
I installed a new snap of the operating system (Slackware Linux 2.6.16.9; Aug 19, 2006) and compiled MySQL again in this OS. Now I can't repeat the submitted bug, so I come to the conclusion it was not a MySQL bug. I'm changing the status to "Not a Bug".