My Oracle Support Banner

How to move XMLType tables/columns with Binary XML Storage between schemas/databases (Doc ID 1405457.1)

Last updated on FEBRUARY 06, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.3 [Release 11.1 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Purpose

 This note describes how to move binary xmltype tables between schemas/databases. It is also useful if it is necessary to re-install XDB and you would like put back all binary data into the database without having to reload this from XML files.

Details

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
Purpose
Details
 Things to Consider
 Example of how to move XMLType table with binary XML between schemas
 Create the BLOB column in a table in the source database
 Use Datapump to export the blob table from source schema
 Use Datapump to import the blob table into destination schema
 In the destination schema, create a new CSX/Binary table and populate the data from the imported blob

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