3.3.4 Importing and Exporting Exadata Hybrid Columnar Compression Tables
You can use the impdp
and expdp
commands to import and export Exadata Hybrid Columnar Compression tables.
Exadata Hybrid Columnar Compression tables can be imported using the impdp
command of the Data Pump Import utility. By default, the impdp
command preserves the table properties and the imported table is Exadata Hybrid Columnar Compression table. The tables can also be exported using the expdp
command.
On tablespaces not supporting Exadata Hybrid Columnar Compression, the impdp
command fails with the following error:
ORA-64307: Exadata Hybrid Columnar Compression is not supported for tablespaces on this storage type
You can import the Exadata Hybrid Columnar Compression table as an uncompressed table using the TRANSFORM:SEGMENT_ATTRIBUTES=n
option clause of the impdp
command.
An uncompressed or OLTP-compressed table can be converted to Exadata Hybrid Columnar Compression format during import. To convert a non-Exadata Hybrid Columnar Compression table to an Exadata Hybrid Columnar Compression table, do the following:
- Specify default compression for the tablespace using the
ALTER TABLESPACE ... SET DEFAULT COMPRESS
command. - Override the
SEGMENT_ATTRIBUTES
option of the imported table during import.
Related Topics
Parent topic: Administering Exadata Hybrid Columnar Compression