Bug #48359 | ALTER TABLE xx COMMENT - locks large tables | ||
---|---|---|---|
Submitted: | 27 Oct 2009 19:24 | Modified: | 24 Jun 2010 8:01 |
Reporter: | Colin Mutter | Email Updates: | |
Status: | In progress | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
Version: | mysql-5.1-telco-7.1 | OS: | Linux (RHEL 4) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | 5.1.44-ndb-7.1.3, alter, ALTER TABLE, comment, comments, lock table, performance, slow |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file