简体   繁体   中英

Oracle 12c - how to create new partitions automatically with list partitions

I have in Oracle 12c a 'list' partitioned table and sub-partitions also on the same table as a 'list' partitions. Both of columns that these partitions use are varchar types.

How to create new partitions automatically (when new value comes) based on these 2 partitions? (without hardcoding all partition names ahead of time)

Thanks.

In the question there was mention of subpartitions on the table. For the record, Oracle doesn't support interval partitioning at the subparition level. This is true as of release 19.1 and prior. See the SQL Reference Guide for a list of restrictions on interval partitioning. It's under the chapter called Create Table. https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/CREATE-TABLE.html#GUID-F9CE0CC3-13AE-4744-A43C-EAC7A71AAAB6

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM