Bug #52647 Speed up statement "ALTER TABLE ... AUTO_INCREMENT = ..."
| Submitted: | 7 Apr 2010 8:50 | Modified: | 7 Apr 2010 10:27 |
|---|---|---|---|
| Reporter: | Ralf Ebert | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Server: DDL | Severity: | S4 (Feature request) |
| Version: | 5.1.45 | OS: | MacOS (10.6.3) |
| Assigned to: | CPU Architecture: | Any |
[7 Apr 2010 8:50]
Ralf Ebert
[7 Apr 2010 10:06]
Valeriy Kravchuk
Current limitation of ALTER TABLE are clearly described in the manual (http://dev.mysql.com/doc/refman/5.1/en/alter-table.html): "In other cases, MySQL creates a temporary table, even if the data wouldn't strictly need to be copied." As altering AUTO_INCREMENT is not listed as a special case when temporary table is not created, statement above applies to it. So, this is a (useful) feature request at best. Do you agree?
[7 Apr 2010 10:17]
Ralf Ebert
Yes, I agree.
[7 Apr 2010 10:27]
Valeriy Kravchuk
Actually this is a duplicate of Bug #37927.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.