Migrating Oracle Database to Amazon Simple Storage Service (S3)

Amazon Simple Storage Service (S3) is a cloud-based service that is cost-effective and provides unlimited storage capabilities. For Oracle databases, the most common source for data lakes in the Amazon Relational Database Service (RDS).

To migrate the database from Oracle to S3, there should be an AWS account. Further, also required is an Amazon RDS for the Oracle database and an S3 bucket located in the same region where the AWS DMS (Database Migration Service) replication instance is created for migration. 


Databases can be migrated from Oracle to S3in any one of two ways.

The first is by importing data, Oracle Data Pump, and Database Link where the Data Pump and the Oracle DBMS_FILE_TRANSFER package are used to link to a source Oracle instance. This can be initiated either through an Amazon EC2 instance or an Amazon RDS for the Oracle database instance. After the Oracle data is exported to a dump file with the DBMS_DATAPUMP package, the file thus created is copied to the Amazon RDS Oracle DB instance through a linked database. Finally, the data is imported to S3 through the DBMS_DATAPUMP package.

The second method is importing Data, Oracle Data Pump, and Amazon S3 Bucket where the Oracle source data is exported through the Oracle DBMS_DATAPUMP package, and the file is kept in an Amazon S3 bucket. This file is downloaded to the DATA_PUMP_DIR directory in the RDS Oracle DB instance. Finally, the data in the dump file is imported and copied to the Amazon RDS Oracle DB instance using the DBMS_DATAPUMP package.

Organizations can choose one of the two for Oracle to S3database migration as per their convenience. 

Comments

Popular posts from this blog

The Unique Architecture of the SAP HANA Data Lake

The Unique Architecture of the SAP Data Lake

Everything you need to know about Extract, Transform and Load (ETL) tools