Bug #9659 | SHOW PROCESSLIST 'State' is 'copying to tmp table' during keycache ALTER TABLE | ||
---|---|---|---|
Submitted: | 5 Apr 2005 18:32 | Modified: | 5 Apr 2005 23:43 |
Reporter: | Timothy Smith | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: MyISAM storage engine | Severity: | S3 (Non-critical) |
Version: | all | OS: | Any (all) |
Assigned to: | CPU Architecture: | Any |
[5 Apr 2005 18:32]
Timothy Smith
[5 Apr 2005 23:43]
Timothy Smith
Hi! I got more info on this; it turns out that the ALTER TABLE actually doesn't do a repair by keycache. It works in a similar way (by inserting entries into the key one at a time), but does it as it is copying the data file (instead of in a separate step, as myisamchk does). So the SHOW PROCESSLIST output of 'copying to tmp table' is correct - it's just that during that step, keys are also being built row-by-row (using the key cache). Regards, Timothy