[MDEV-9103] Altering table comment does a full copy Created: 2015-11-09 Updated: 2016-04-07 Resolved: 2016-02-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table |
| Affects Version/s: | 10.1.8, 10.0, 10.1 |
| Fix Version/s: | 10.0.24, 10.1.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Bala | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream | ||
| Environment: |
10.1.8-MariaDB-1~precise mariadb.org binary distribution (ubuntu) |
||
| Issue Links: |
|
||||||||||||
| Sprint: | 10.0.24 | ||||||||||||
| Description |
|
This is a partitioned table. But, as per the documentation https://mariadb.com/kb/en/mariadb/alter-table/ , this operation should happen instantly. Please let me know if you need further information. Thanks. -Bala |
| Comments |
| Comment by Elena Stepanova [ 2015-11-09 ] | |||||||||||||||||||||
|
bala.linux, are you using MyISAM engine for the table? For now I'll assume you are.
Works okay with InnoDB and without partitioning.
Maybe we got the InnoDB part of the fix with regular InnoDB merges, but MyISAM still has the problem. | |||||||||||||||||||||
| Comment by Bala [ 2015-11-11 ] | |||||||||||||||||||||
|
Yes. We are using MyISAM with partitioning. | |||||||||||||||||||||
| Comment by Bala [ 2016-04-04 ] | |||||||||||||||||||||
|
Team, Looks like this hasn't got fixed yet. I tried the test case from comment #1 and it failed to work. Please check.
Thanks. -Bala | |||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-04-04 ] | |||||||||||||||||||||
|
serg, see above ^ | |||||||||||||||||||||
| Comment by Sergei Golubchik [ 2016-04-04 ] | |||||||||||||||||||||
|
bala.linux, you're right. This was fixed only for not partitioned table. I'm sorry for this. | |||||||||||||||||||||
| Comment by Bala [ 2016-04-05 ] | |||||||||||||||||||||
|
Thanks. Also, would it be possible to do something similar for altering "column" comments ? It does the full copy too. I created -Bala | |||||||||||||||||||||
| Comment by Sergei Golubchik [ 2016-04-06 ] | |||||||||||||||||||||
|
| |||||||||||||||||||||
| Comment by Bala [ 2016-04-06 ] | |||||||||||||||||||||
|
Yes. Please convert it to a bug to track "full table copy when altering column comments". I created a new bug for the awkward syntax (MDEV-9878). Thanks. -Bala |