0% found this document useful (0 votes)
39 views11 pages

When Migrating An Oracle Database To Google Cloud, You Have Several Options and Migration Strategies To Choose - by Biswanath Giri - Medium

jhgyjuggyguyg

Uploaded by

Balakishore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views11 pages

When Migrating An Oracle Database To Google Cloud, You Have Several Options and Migration Strategies To Choose - by Biswanath Giri - Medium

jhgyjuggyguyg

Uploaded by

Balakishore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

1/5/24, 10:19 AM When migrating an Oracle database to Google Cloud, you have several options and migration strategies

ategies to choose | by Biswa…

Open in app Sign up Sign in

Search

When migrating an Oracle database to Google


Cloud, you have several options and migration
strategies to choose
Biswanath Giri · Follow
3 min read · May 17, 2023

Listen Share

Lift and Shift:


Create a virtual machine (VM) on Google Cloud to replicate the Oracle database
environment.

Install Oracle Database software on the VM.

Perform a database backup and restore it to the VM.

Modify the application connection strings to point to the new Oracle database
on Google Cloud.

This approach minimizes changes to the application code but does not take full
advantage of cloud-native features.

Oracle Data Pump Export and Import:


Use Oracle Data Pump to export the database schema and data from the source
Oracle database.

Transfer the export dump file to Google Cloud Storage.

Create a Cloud SQL for PostgreSQL instance on Google Cloud.

Use the PostgreSQL pg_restore utility to import the dump file into the Cloud SQL
instance.

https://bgiri-gcloud.medium.com/when-migrating-an-oracle-database-to-google-cloud-you-have-several-options-and-migration-2a365036745b 1/11
1/5/24, 10:19 AM When migrating an Oracle database to Google Cloud, you have several options and migration strategies to choose | by Biswa…

Adjust application connections and configurations to connect to the new


PostgreSQL database.

This approach requires manual steps and may not support all Oracle-specific
features.

Database Migration Service:


Use Google’s Database Migration Service (DMS) to migrate the Oracle database
to Google Cloud.

Set up the source and target database connections.

Configure the migration task, including specifying the source and target
database details.

Start the migration process, and DMS will handle the data replication and
schema conversion.

Monitor the migration progress and verify data integrity.

Update application connections and configurations to use the migrated database


on Google Cloud.

This approach automates much of the migration process but may require
additional configuration for complex database schemas or features.

Cloud SQL for PostgreSQL Data Import:


Create a Cloud SQL for PostgreSQL instance on Google Cloud.

Export the Oracle database schema and data using Oracle Data Pump or other
tools.

Transform the Oracle database schema and data to match PostgreSQL


requirements (e.g., data types, functions, syntax).

Transfer the transformed data to Google Cloud Storage.

Use the Cloud SQL import functionality to import the data into the PostgreSQL
instance.

Update application connections and configurations to connect to the new


PostgreSQL database.

https://bgiri-gcloud.medium.com/when-migrating-an-oracle-database-to-google-cloud-you-have-several-options-and-migration-2a365036745b 2/11
1/5/24, 10:19 AM When migrating an Oracle database to Google Cloud, you have several options and migration strategies to choose | by Biswa…

This approach requires manual transformation and may not support all Oracle-
specific features.

Oracle GoldenGate:
Set up an Oracle GoldenGate replication solution between the source Oracle
database and a target Google Cloud instance, such as Google Cloud SQL for
Oracle or Google Cloud VMware Engine.

Configure the necessary Extract and Replicat processes to capture and replicate
data changes from the source to the target.

Monitor and validate the replication process to ensure data integrity.

Adjust application connections and configurations to use the target Google


Cloud instance.

This approach provides real-time replication but requires additional setup and
management.

Third-Party Migration Tools:


Use third-party migration tools like AWS Database Migration Service (AWS DMS),
Quest SharePlex, or others that support Oracle to PostgreSQL migration.

Set up the source and target database connections.

Configure the migration tasks based on the specific tool’s instructions.

Initiate and monitor the migration process, ensuring data integrity and
consistency.

Adjust application connections and configurations to use the PostgreSQL


database on Google Cloud.

These tools often provide more advanced features for complex migrations but
may involve additional licensing costs.

When selecting the migration strategy, consider factors such as the complexity of
the database schema, data size, downtime tolerance, and any Oracle-specific
features or customizations in your environment. It’s recommended to thoroughly
evaluate each option and choose the one that best suits your specific requirements
and constraints.

https://bgiri-gcloud.medium.com/when-migrating-an-oracle-database-to-google-cloud-you-have-several-options-and-migration-2a365036745b 3/11
1/5/24, 10:19 AM When migrating an Oracle database to Google Cloud, you have several options and migration strategies to choose | by Biswa…

Follow

Written by Biswanath Giri


484 Followers

Helping students and professionals to learn cloud computing ,google cloud AI/ML and Google Workspace
Helping Businesses with their journey to GCP

More from Biswanath Giri

Biswanath Giri in Google Cloud - Community

Google Cloud Machine Learning Engineer Exam Step-By-Step Guide


What is Google Cloud Machine Learning Engineer Certification?

9 min read · Mar 9, 2023

93

https://bgiri-gcloud.medium.com/when-migrating-an-oracle-database-to-google-cloud-you-have-several-options-and-migration-2a365036745b 4/11
1/5/24, 10:19 AM When migrating an Oracle database to Google Cloud, you have several options and migration strategies to choose | by Biswa…

Biswanath Giri

Google Cloud Data Engineer Interviews Questions


Google cloud data engineer Interviews Questions for interview preparations.

6 min read · Nov 7, 2022

59

Biswanath Giri in Google Cloud - Community

https://bgiri-gcloud.medium.com/when-migrating-an-oracle-database-to-google-cloud-you-have-several-options-and-migration-2a365036745b 5/11
1/5/24, 10:19 AM When migrating an Oracle database to Google Cloud, you have several options and migration strategies to choose | by Biswa…

20 Google Cloud Reference Architecture to Start your GCP Architect


journey.
1. Start with a basic Google Cloud infra Architecture Diagram

26 min read · May 4, 2023

47 2

Biswanath Giri in Google Cloud - Community

How to set up Google Cloud Directory Sync with on-prem AD integration


to Google Cloud using GCDS &…
Architecture v2.0:

12 min read · Jan 15, 2023

27 1

See all from Biswanath Giri

https://bgiri-gcloud.medium.com/when-migrating-an-oracle-database-to-google-cloud-you-have-several-options-and-migration-2a365036745b 6/11
1/5/24, 10:19 AM When migrating an Oracle database to Google Cloud, you have several options and migration strategies to choose | by Biswa…

Recommended from Medium

Brice Delvallee

Passing 10x GCP certifications: A return on experience (Part 2: Why)


I recently passed successfully 10 GCP certifications. This article in 3 parts will try to give
insights on

6 min read · Dec 19, 2023

13

https://bgiri-gcloud.medium.com/when-migrating-an-oracle-database-to-google-cloud-you-have-several-options-and-migration-2a365036745b 7/11
1/5/24, 10:19 AM When migrating an Oracle database to Google Cloud, you have several options and migration strategies to choose | by Biswa…

Prayag Sangode

Create a GCP Data Fusion Instance


A fully managed, cloud-native business data integration solution for developing and managing
data pipelines fast is called Cloud Data…

2 min read · Jul 29, 2023

Lists

Staff Picks
549 stories · 602 saves

Stories to Help You Level-Up at Work


19 stories · 401 saves

Self-Improvement 101
20 stories · 1151 saves

Productivity 101
20 stories · 1052 saves

https://bgiri-gcloud.medium.com/when-migrating-an-oracle-database-to-google-cloud-you-have-several-options-and-migration-2a365036745b 8/11
1/5/24, 10:19 AM When migrating an Oracle database to Google Cloud, you have several options and migration strategies to choose | by Biswa…

Alistair Grew in CTS Google Cloud Tech Blog

CloudSQL Editions
Following BigQuery’s lead, CloudSQL now gets the Editions treatment…

6 min read · Jul 14, 2023

Sumit K in Google Cloud - Community

Everything About Google Cloud Landing Zone

https://bgiri-gcloud.medium.com/when-migrating-an-oracle-database-to-google-cloud-you-have-several-options-and-migration-2a365036745b 9/11
1/5/24, 10:19 AM When migrating an Oracle database to Google Cloud, you have several options and migration strategies to choose | by Biswa…

What is a landing zone? It’s a modular and scalable configuration that enables organizations to
adopt Google Cloud for their business…

8 min read · Jul 9, 2023

105

Nour Mahamat Oumar

Google Cloud Platform (GCP): Data Ingestion Pipeline from Local


Machine to GCP Storage
Photo by Andreas Kind on Unsplash

· 9 min read · Oct 24, 2023

115

https://bgiri-gcloud.medium.com/when-migrating-an-oracle-database-to-google-cloud-you-have-several-options-and-migration-2a365036745b 10/11
1/5/24, 10:19 AM When migrating an Oracle database to Google Cloud, you have several options and migration strategies to choose | by Biswa…

Amandeep Saluja

GCS to BigQuery via Workflows


Czesc 👋
· 5 min read · Nov 27, 2023

18 1

See more recommendations

https://bgiri-gcloud.medium.com/when-migrating-an-oracle-database-to-google-cloud-you-have-several-options-and-migration-2a365036745b 11/11

You might also like