ORASOLU TOOLBOX · MIGRATION

Transportable Tablespaces

Practical Oracle SQL for transportable tablespace planning, self-contained checks, datafiles, platform compatibility and migration dependencies.

ORASOLU TOOLBOX · MIGRATION

Check the transport set before you move it

Transportable tablespaces can simplify large database migrations, but the source environment should be understood before the transport operation begins. These queries help review candidate tablespaces, read-only status, datafiles, self-contained checks, transport-set violations and platform compatibility.

01 · TABLESPACES

Review transport candidate tablespaces

Review tablespace status, contents and logging before selecting a transport set.

SELECT
    tablespace_name,
    status,
    contents,
    logging
FROM dba_tablespaces
WHERE contents = 'PERMANENT'
ORDER BY tablespace_name;
02 · READ-ONLY STATUS

Review read-only tablespaces

Identify tablespaces currently placed in READ ONLY mode before transport.

SELECT
    tablespace_name,
    status,
    contents
FROM dba_tablespaces
WHERE status = 'READ ONLY'
ORDER BY tablespace_name;
03 · DATAFILES

Review tablespace datafiles

Review datafiles, sizes and autoextend settings for transport candidate tablespaces.

SELECT
    tablespace_name,
    file_name,
    ROUND(bytes / 1024 / 1024, 2) AS size_mb,
    autoextensible,
    status
FROM dba_data_files
ORDER BY tablespace_name, file_name;
04 · SELF-CONTAINED CHECK

Check transport set containment

Check whether the selected tablespace set is self-contained before export.

EXEC DBMS_TTS.TRANSPORT_SET_CHECK(
    'TABLESPACE_1,TABLESPACE_2',
    TRUE
);

SELECT *
FROM transport_set_violations;
05 · TRANSPORT VIOLATIONS

Review transport set violations

Review dependency or containment violations reported by the transport set check.

SELECT
    violations
FROM transport_set_violations
ORDER BY violations;
06 · PLATFORMS

Review transportable platforms

Review supported platforms and endian formats when the transport crosses platforms.

SELECT
    platform_id,
    platform_name,
    endian_format
FROM v$transportable_platform
ORDER BY platform_id;