This topic describes the conversion scope of ALTER TABLE DDL operations for dropping subpartitions when you migrate data from an Oracle database to an Oracle compatible mode of OceanBase Database.
Overview
drop_table_subpartition:
DROP subpartition_extended_names
[ update_index_clauses [ parallel_clause ] ]
subpartition_extended_names:
{ SUBPARTITION | SUBPARTITIONS }
subpartition | { FOR ( subpartition_key_value [, subpartition_key_value ]... ) }
[, subpartition | { FOR ( subpartition_key_value [, subpartition_key_value ]... ) } ]...
Supported operations
You can drop a subpartition by specifying the name of the subpartition. Example:
ALTER TABLE T DROP SUBPARTITION SP0,SP1 ALTER TABLE T DROP SUBPARTITIONS SP0,SP1You can use the
UPDATE GLOBAL INDEXESclause to update indexes in the table.
Unsupported operations
You cannot drop a subpartition by specifying the subpartition key values.
You cannot use the
INVALIDATE GLOBAL INDEXESclause. It will be converted to theUPDATE GLOBAL INDEXESclause.
Ignored clauses and options
Note
The following clauses and options will be ignored and will not be resolved or converted if they are specified in the synchronized DDL statements.
The
update_all_indexes_clauseclause for updating indexes in the table.The
parallel_clauseclause for modifying the default degree of parallelism for queries and DML operations in the table.
