[MDEV-14739] Unable to drop one partition of a HASH partitioned table Created: 2017-12-21 Updated: 2017-12-21 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Michaël de groot | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Hi, In InnoDB, dropping a table is blocking and expensive. In my experience, this is about 1 second of downtime per 100GB buffer pool. Dropping a partitioned table does this sequentially and is blocking in the entire operation. A work-around for this is possible by dropping each partition. However, in hash and key partitioned tables the partitions do not (seam to, from SHOW CREATE TABLE) have a name. When using EXPLAIN PARTITIONS I do see that the partitions have names. Dropping the partition does not help me any further, though: For this partition it should be possible for this purpose. Thanks, |