Bug #1893 | Adding an index to a 3.9M row table with many FULLTEXT idxs eats too much space | ||
---|---|---|---|
Submitted: | 19 Nov 2003 15:08 | Modified: | 21 Nov 2003 15:29 |
Reporter: | Larry Hengl | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.0.16 | OS: | Linux (Linux RH 9) |
Assigned to: | CPU Architecture: | Any |
[19 Nov 2003 15:08]
Larry Hengl
[21 Nov 2003 15:29]
Alexander Keremidarski
If you check with SHOW STATUS how ALTER works with your table you will see Status = Repair by sorting | 589517 | root | localhost | bugs | Query | 91 | Repair by sorting | alter table sequence add index (seqtype(7)) | so it works as you described. ALTER TABLE on MyISAM table always recreates all indexes and may need a lot of temporary space. This is unoptimal design which will probably change in the future releases, but not a bug to be fixed in 4.0 By the way it is not suggested to have more than one Full-text index per table.