12c Partitioning Enhancements, New Features (Doc ID 1568010.1)
APPLIES TO:
Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
PURPOSE
The document provides references to the 12c partition specific features, enhancements. This document provides specific 12c partitioning features, enhancements references
DETAILS
Offering Enhanced Database 12c IS the Oracle Partitioning Composite Strategies, the Operations and Maintenance vastly Improved Partition. The Oracle Database 12c provides enhanced composite partitioning strategy, and has greatly improved the partition maintenance operations
Enhanced composite partitioning strategies reinforced composite partitioning strategy
Combination of the Interval Partitioning and Reference Partitioning , interval partitioned parent table with reference partitioned child table: child partition table and the parent table referenced combination section partitions, partition section partitions with reference to
1519042.1 note How to the Create Reference Interval-Partitioned the Tables in Oracle 12c how to create a reference interval in the partition table in Oracle 12c
Combination of Reference Partitioning with virtual column- based Partitioning is supported. Support will be used in conjunction with a reference partition-based virtual column partitioning.
Interval as subpartitioning strategy for any top- level partitioning method (* -Interval) is still not supported. Still does not support the sub-interval partitioning strategy as any top-level partition method (* -Interval)
Numerous improvements to partition maintenance operations many improvements partition maintenance operations
Online Partition move online mobile partition
ALTER TABLE...MOVE PARTITION ... ONLINE statement or ALTER TABLE...MOVE SUBPARTITION ... ONLINE statement moves a table partition or subpartition so that DML operations can continue to run uninterrupted on the partition or subpartition that is being moved.
ALTER TABLE ... MOVE PARTITION ... ONLINE statement or ALTER TABLE ... MOVE SUBPARTITION ... ONLINE statement table movable partition or subpartition so DML operations can continue uninterrupted on the partition or subpartition to move the run
See Note 1584032.1 for the Details More. For more details, see Note 1584032.1
Multiple partitions can be added, dropped, truncated, merged with one DDL command: You can use a DDL command to add, delete, cut or merge multiple partitions:
1482456.1 note Adding Multiple Partitions in Oracle 12C add multiple partitions in Oracle 12C
1482264.1 note How to Drop / Truncate Multiple Partitions in Oracle 12C How do I delete / truncate multiple partitions in Oracle 12C in
1482263.1 note How to Merge Multiple Partitions in Oracle 12C. How to merge multiple partitions in Oracle 12C in
Similarly a partition can be split into multiple partitions in one go: Again, a one-time partition can be split into multiple partitions
1482230.1 note Splitting INTO A Multiple Partitions in the Partition Oracle 12C in Oracle 12C will partition into multiple partitions
Optimized Global index maintenance during drop or truncate partition during the partition deleted or truncated to optimize the global index maintenance
Drop or truncate partition is optimized in Oracle Database 12c, so that these operations do not require any immediate index maintenance to keep all indexes valid, making it fast metadata-only operations.
In Oracle Database 12c in the deletion or truncation partition optimized, Therefore, these operations do not require any immediate index maintenance can keep all the index is valid, making it quick operation using only the metadata.
Global index maintenance is decoupled from the DROP and TRUNCATE partition maintenance operation without rendering a global index unusable. Index maintenance is done asynchronously and can be delayed to a later point-in-time, making these drop and truncate partition fast metadata-only operations.
and DROP global index maintenance and TRUNCATE separation partition maintenance operations, without causing global index unusable. Index maintenance is done asynchronously, and may be delayed to a later point in time, so that these deletions and truncated partition operations become fast operation using only the metadata.
As documentation at "Asynchronous Global Index Maintenance for Dropping and Truncating Partitions" states "Asynchronous global index maintenance for DROP and TRUNCATE is performed by default; however, the UPDATE INDEXES clause is still required for backward compatibility."
As the " delete and truncate partition asynchronous global index maintenance ," the document said: "By default, DROP and TRUNCATE for asynchronous global index maintenance; however, for backward compatibility, still need to UPDATE INDEXES clause."
So the UPDATE [GLOBAL] INDEXES clause still needs to be used in order to avoid rendering the status of global index UNUSABLE.
Therefore, still need to use UPDATE [GLOBAL] INDEXES clause to avoid making changes to the state of the global index UNUSABLE.
When the UPDATE [GLOBAL] INDEXES clause is specified in ALTER TABLE ... DROP|TRUNCATE PARTITION ... statement and the "_fast_index_maintenance"=true (default value), then oracle will do the above mentioned optimized index maintenance. You can find example to demonstrate the behaviour in Tutorial: Oracle Database 12c: What's New in Partitioning?
When ... DROP in ALTER TABLE | TRUNCATE PARTITION ... specified in the statement UPDATE [GLOBAL] INDEXES clause, and "_fast_index_maintenance" when = true (default value), oracle will implement the optimized index maintenance. You can tutorial to find examples to demonstrate this behavior : Oracle Database 12c: What's New in the partition?
Partial indexing section index
Global/Local indexes can be either created on all partitions of a partitioned table, or only on a subset of the partitions of a partitioned table.
Global / local index can either be created on all partitions of a partitioned table, you can create only on a subset of the partition of the partition table.
1482460.1 note How to the Create Partial, Ltd. Free Join the Indexes for Partitioned the Tables in Oracle 12c how to create part of the global index for the partition table in Oracle 12c in
Partition Advisor Partition Advisor
In 12c the Partition Advisor has been enhanced in several ways. In 12c, a partition adviser has been enhanced in several ways.
The time needed to generate recommendations is reduced, the quality of recommendations has improved, it now also recommends more partitioning options e.g., LIST partitioning.
The time required to propose a reduction in the recommended quality has been improved, and now also recommended more partitioning options, such as LIST partitions.
Information Lifecycle Management (ILM) integration
Partitioning provides a simple and automated way to implement an Information Lifecycle Management (ILM) strategy.
See example Adding ILM ADO policies.
Further information
Tutorial: Oracle Database 12c: What's New in Partitioning?
Partitioning with Oracle Database 12c (PDF) white paper
REFERENCES
NOTE:1584032.1 - 12C New Feature: Online Move Partition
NOTE:276158.1 - Partitioning Enhancements in Oracle 10g
NOTE:452447.1 - 11g Partitioning Enhancements