15 lines
333 B
MySQL
15 lines
333 B
MySQL
|
-- Syntax
|
||
|
-- [MSCK] REPAIR TABLE table_identifier [{ADD|DROP|SYNC} PARTITIONS]
|
||
|
|
||
|
|
||
|
REPAIR TABLE t1;
|
||
|
MSCK REPAIR TABLE t1;
|
||
|
|
||
|
REPAIR TABLE t1 ADD PARTITIONS;
|
||
|
REPAIR TABLE t1 DROP PARTITIONS;
|
||
|
REPAIR TABLE t1 SYNC PARTITIONS;
|
||
|
|
||
|
MSCK REPAIR TABLE t1 ADD PARTITIONS;
|
||
|
MSCK REPAIR TABLE t1 DROP PARTITIONS;
|
||
|
MSCK REPAIR TABLE t1 SYNC PARTITIONS;
|