Splitting a Partition for a List Partitioned Table
You can use ALTER TABLE SPLIT PARTITION to split a partition for a list partitioned table.
ALTER TABLE list_sales SPLIT PARTITION channel2 VALUES ('6', '7') INTO ( PARTITION channel2_1, -- The first partition range is ('6', '7'). PARTITION channel2_2 -- The second partition range is ('8', '9'). ) UPDATE GLOBAL INDEX;
ALTER TABLE list_sales SPLIT PARTITION channel2 INTO ( PARTITION channel2_1 VALUES ('6'), PARTITION channel2_2 VALUES ('8'), PARTITION channel2_3 -- The third partition range is ('7', '9'). )UPDATE GLOBAL INDEX;
ALTER TABLE list_sales SPLIT PARTITION FOR ('6') VALUES ('6', '7') INTO ( PARTITION channel2_1, -- The first partition range is ('6', '7'). PARTITION channel2_2 -- The second partition range is ('8', '9'). ) UPDATE GLOBAL INDEX;

If the DEFAULT partition is split, the DEFAULT range cannot be declared for the first several partitions, and the last partition inherits the DEFAULT range.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.