0
Using the mysql documentation, I created the partition based on a year field.
ALTER TABLE minhatabela
PARTITION BY HASH (ano_referencia)
PARTITIONS 10
To make a possible rollback, how I would drop that partition?
In the documentation it says that is to do so:
ALTER TABLE t1 DROP PARTITION p0, p1;
However, I do not have the partition name. Using Heidisql and viewing, the table information becomes available like this: