Can a Single Partition be Truncated during Data Pump Import? (Doc ID 877792.1)

Last updated on MAY 11, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.4 [Release 10.1 to 11.2]
Information in this document applies to any platform.

Goal

Currently, a single partition cannot be truncated by using the data pump parameter table_exists_action=truncate.

You must truncate that partition manually using the ALTER TABLE TRUNCATE PARTITION clause prior to running the import.

If you attempt to use Data Pump parameter table_exists_action=truncate, or even the replace option
be aware that the complete table will be truncated, not just the partition being imported!

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms