REORGANIZE PARTITION fails with DATA DIRECTORY in use
(Doc ID 2638111.1)
Last updated on FEBRUARY 11, 2020
Applies to:
MySQL Server - Version 5.6 and laterInformation in this document applies to any platform.
Symptoms
On : 5.6 version, DML SQL Statements
table is not accessible after one of our DBAs touched the partition REORGANIZE one day ago
ERROR
-----------------------
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Manually add partitions with data directory='/opt/data/mysql' to the table each day.
2. Run ALTER TABLE ... REORGANIZE to remove DATA DIRECTORY='/op/data/mysql'.
3. Add another partition with DATA DIRECTORY='/opt/data/mysql'.
4. Restart the mysqld instance and table become inaccessible.
BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot access the table data.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |