Linkedin

  • Home >
  • Migrate Oracle CLOB values to individual rows in PostgreSQL on AWS

Migrate Oracle CLOB values to individual rows in PostgreSQL on AWS

Project Overview

Project Detail

This pattern describes how to split Oracle character large object (CLOB) values into individual rows in Amazon Aurora PostgreSQL-Compatible Edition and Amazon Relational Database Service (Amazon RDS) for PostgreSQL. PostgreSQL doesn’t support the CLOB data type.

Tables with interval partitions are identified in the source Oracle database, and the table name, the type of partition, the interval of the partition, and other metadata are captured and loaded into the target database. You can load CLOB data that is less than 1 GB in size into target tables as text by using AWS Database Migration Service (AWS DMS), or you can export the data in CSV format, load it into an Amazon Simple Storage Service (Amazon S3) bucket, and migrate it to your target PostgreSQL database.

After migration, you can use the custom PostgreSQL code that is provided with this pattern to split the CLOB data into individual rows based on the new line character identifier (CHR(10)) and populate the target table. 

https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/migrate-oracle-clob-values-to-individual-rows-in-postgresql-on-aws.html?did=pg_card&trk=pg_card

To know more about this project connect with us

Migrate Oracle CLOB values to individual rows in PostgreSQL on AWS