Master in Oracle Cloud (OCI) | Join us for the demo session on 4th December 2025 at 7:00 PM IST

Transportable Tablespaces Migration

Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
  • User AvatarPradip
  • 04 Dec, 2025
  • 0 Comments
  • 3 Mins Read

Transportable Tablespaces Migration

Transportable Tablespaces Migration: Fastest Way to Move Databases

When it comes to migrating large Oracle databases with minimal downtime, DBAs often struggle with long export/import times and high system load. Traditional migrations work, but they are slow — especially when moving multi-terabyte databases.

This is where Oracle Transportable Tablespaces (TTS) becomes a game-changer.

Transportable Tablespaces let you move only the metadata, while the actual data files are physically copied, making it one of the fastest migration techniques in Oracle Database.

Whether you’re migrating to a new server, consolidating workloads, or performing platform refreshes, TTS drastically reduces downtime and effort.


What Are Transportable Tablespaces?

Transportable Tablespaces (TTS) is an Oracle feature that allows you to:

  • Move tablespaces across databases quickly

  • Transfer only metadata using export/import

  • Reuse the same physical datafiles

  • Avoid full data unload/load

  • Reduce downtime from hours to minutes

It works for both non-CDB and PDB databases, and it’s widely used in migrations, upgrades, and cloud moves.


Why TTS Is the Fastest Migration Method

Traditional migration (expdp/impdp) exports every row and imports it again — slow for large DBs.

TTS, on the other hand:

  • Copies datafiles directly (very fast using cp/rsync)

  • Exports/imports only metadata

  • Avoids row-level export

  • Supports incremental backup-based transfer (XTTS)

  • Minimizes application downtime

This makes it ideal for databases with huge volumes of static or historical data.


When Should You Use TTS?

Use Transportable Tablespaces when:

  • Migrating large databases between servers

  • Moving to Oracle Cloud (OCI)

  • Upgrading hardware or storage

  • Consolidating databases into a new CDB

  • Refreshing environments (DEV/TEST from PROD)

  • Performing cross-platform migrations (using XTTS)


Prerequisites

Before starting a TTS migration:

  • Source and target DB must be same or higher version.

  • Endianness must match (or use RMAN conversion).

  • Tablespaces must be self-contained.

  • Tablespaces must be in READ ONLY mode during final copy.

  • Sufficient space on target system.


Step-by-Step Transportable Tablespaces Migration

Step 1: Identify Self-Contained Tablespaces

EXECUTE DBMS_TTS.TRANSPORT_SET_CHECK(
ts_list => 'USERS,SALES',
incl_constraints => TRUE
);

Check for violations:

SELECT * FROM transport_set_violations;

Step 2: Make Tablespaces READ ONLY

 

ALTER TABLESPACE USERS READ ONLY;
ALTER TABLESPACE SALES READ ONLY;

Step 3: Export Metadata Using Data Pump

expdp system/password \
TRANSPORT_TABLESPACES=USERS,SALES \
DUMPFILE=tts_meta.dmp \
DIRECTORY=EXPORT_DIR

This exports only metadata, not data.


Step 4: Copy Datafiles to Target Server

Use cp/scp/rsync:

scp /u01/app/oracle/oradata/DB/USERS01.dbf \
oracle@target:/u01/app/oracle/oradata/DB/

Or use RMAN CONVERT if cross-platform:

RMAN> CONVERT DATAFILE '/dbf/USERS01.dbf'
FROM PLATFORM 'Linux x86 64-bit'
DB_FILE_NAME_CONVERT ...

Step 5: Import Metadata on Target

impdp system/password \
TRANSPORT_DATAFILES='/u01/.../USERS01.dbf','/u01/.../SALES01.dbf' \
DUMPFILE=tts_meta.dmp \
DIRECTORY=EXPORT_DIR

Oracle will plug the tablespaces into the target database.


Step 6: Make Tablespaces READ WRITE

ALTER TABLESPACE USERS READ WRITE;
ALTER TABLESPACE SALES READ WRITE;

Migration is complete!


Performance Tip: Use XTTS for Near-Zero Downtime

Cross-Platform Transportable Tablespaces (XTTS) uses incremental RMAN backups to sync changes while the source DB is online.

This gives:

  • Near-zero downtime

  • Faster final cutover

  • Platform migration flexibility (Linux → Solaris, AIX → Linux, etc.)

XTTS is the preferred method for enterprise-level migrations.


Common Use Cases in Real Projects

At Learnomate Technologies, we see DBAs using TTS for:

✔ Refreshing massive QA/DEV instances
✔ Migrating on-prem databases to OCI
✔ Platform-to-platform migrations
✔ Splitting large databases into modular TTS chunks
✔ Storage-level migrations (file system → ASM)

Because TTS avoids full import/export, migrations become predictable and fast.


Advantages of Transportable Tablespaces

Speed

Datafiles are directly copied, making the process significantly faster.

Low Downtime

Only the READ ONLY phase causes application freeze.

Flexibility

Supports non-CDB, CDB, and cross-platform.

Efficient

Ideal for multi-terabyte databases.


Limitations

  • Tablespaces must be self-contained

  • Cannot migrate SYSTEM, SYSAUX, UNDO, TEMP

  • Needs downtime during final sync

  • May require endian conversion


Final Thoughts

Transportable Tablespaces is one of the fastest and most efficient ways to migrate large Oracle databases with minimal downtime.

If you’re dealing with multi-terabyte systems, cloud onboarding, or platform refreshes, TTS (and XTTS) will save you hours—sometimes days—during migrations.

Learnomate Technologies recommends using TTS whenever speed and efficiency matter the most in database transitions.

Explore more with Learnomate Technologies!

Want to see how we teach?
Head over to our YouTube channel for insights, tutorials, and tech breakdowns:
👉 www.youtube.com/@learnomate

To know more about our courses, offerings, and team:
Visit our official website:
👉 www.learnomate.org

Interested in mastering Oracle Database Administration?
Check out our comprehensive Oracle DBA Training program here:
👉https://learnomate.org/oracle-dba-training/ 

Want to explore more tech topics?
Check out our detailed blog posts here:
👉 https://learnomate.org/blogs/

And hey, I’d love to stay connected with you personally!
🔗 Let’s connect on LinkedIn: Ankush Thavali

Happy learning!

Ankush😎

Let's Talk

Find your desired career path with us!

Let's Talk

Find your desired career path with us!