My Oracle Support Banner

How to Apply Exchange Partition Method on Reference-partitioned Table (Doc ID 1365520.1)

Last updated on NOVEMBER 07, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Goal

The article provides an example as well as reference to documentation on how to apply Exchange Partition method on Reference-partitioned table.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Create base tables used in the example
 Create Parent table
 Create child table - referenced-partitioned
 Insert some rows into the parent and reference-partitioned child table
 Create exchange table for parent
 Insert some rows into the table orders_Q4_2006 (exchange table for parent)
 Exchange parent table partition Q4_2006 with table orders_Q4_2006
 Exchange partitions of the child table
 Create exchange table for child table
 Insert some rows into the order_items_Q4_2006
 Exchange child table partition Q4_2006 with table order_items_Q4_2006


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.