MySQL TMPDIR on tmpfs doens't work with ALTER TABLE on large tables
Bug #1616987 reported by
Matthew Treinish
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Trove deploys mysql's tmpdir onto /tmp with a tmpfs however this causes issues with MySQL when you do an ALTER TABLE on a large table if you don't have enough ram the operation will fail. There is no way to workaround this because the end user doesn't know the fs layout of the instance. (I'm also not sure the trove api exposes this config option) My only way to workaround this issue has been to rewrite the sql to avoid using an alter table on these tables.
We should add an option to deploy the tmpdir on real disk so that people can run operations that require more space than you have free ram on the instance.
Changed in trove: | |
assignee: | Amrith Kumar (amrith) → nobody |
To post a comment you must log in.
This is another manifestation of the fact that only one cinder volume is attached to an instance.