ORASOLU TOOLBOX · MIGRATION

Cross-Platform Migration

Practical Oracle SQL for cross-platform migration planning, platform compatibility, datafiles, transport candidates and migration readiness.

ORASOLU TOOLBOX · MIGRATION

Check the platform before you move the database

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 · PLATFORMS

Review database platform

Identify the source database platform and endian format before planning a cross-platform move.

SELECT
    platform_name,
    endian_format
FROM v$database
ORDER BY platform_name;
02 · SUPPORTED PLATFORMS

Review transport platforms

Review platforms supported for cross-platform tablespace transport.

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

Review source datafiles

Measure datafiles that will participate in the cross-platform migration.

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 · TABLESPACES

Review transport candidates

Review tablespace status and contents before selecting the transport set.

SELECT
    tablespace_name,
    status,
    contents,
    logging
FROM dba_tablespaces
WHERE contents = 'PERMANENT'
ORDER BY tablespace_name;
05 · FILE CONVERSION

Review file conversion settings

Review initialization parameters that may affect cross-platform file conversion.

SELECT
    name,
    value
FROM v$parameter
WHERE name IN (
    'db_file_name_convert',
    'log_file_name_convert'
)
ORDER BY name;
06 · READINESS

Review invalid objects

Identify invalid objects before migration so post-migration validation has a clear baseline.

SELECT
    owner,
    object_type,
    COUNT(*) AS invalid_count
FROM dba_objects
WHERE status = 'INVALID'
GROUP BY owner, object_type
ORDER BY owner, object_type;