SlideShare une entreprise Scribd logo
1  sur  104
MIGRATING
ORACLE DATABASES
FROM AWS TO OCI
Alex
Zaballa
2
ALEX ZABALLA
CHRISTIAN, HUSBAND, FATHER, DBA, ACE DIRECTOR, WRITER AT OTN, SPEAKER AND BLOGGER.
330 – Including OPN
Born
Double
Citizenship Living
http://alexzaballa.blogspot.com/ @alexzaballa
https://www.linkedin.com/in/alexzaballa
Copyright © 2018 Accenture. All rights reserved. 3
• Based in Dallas-TX (June, 2019 - Now)
• Worked for 3 years in Brazil as a Clipper/Delphi Developer
(15 years old) 1997-1999
• Worked for 7 years in Brazil as an Oracle Developer 2000 –
2007
• Worked for 8 years in Angola - Africa as an Oracle DBA
for the Ministry of Finance. 2007 – 2015
• Worked for 4 years in Brazil as an Oracle DBA
for Accenture Enkitec Group. 2015 – 2019 (June,2019)
Copyright © 2018 Accenture. All rights reserved. 4
ACCENTURE ENKITEC GROUP
CAPABILITIES OVERVIEW
• Global systems integrator focused on the Oracle platform
• Consultants average 15+ years of Oracle experience
• Worldwide specialist in Engineered Systems implementations
• 14 Oracle ACE members, specialist recognized by Oracle for their technical expertiseELITE
Our consultants have been published in multiple subject areas and additional
online resources that demonstrate Accenture’s experience and expertise with
the OES platformTHOUGHT
LEADERSHIP
SUCCESS
EXPERTISE
ORACLE SPECIALIZATIONS*
• Oracle Exadata
• Oracle Exalogic
ORACLE ENGINEERED SYSTEMS NUMBERS
• 700+ Oracle Engineered Systems which AEG have configured, patched or supported.
• 100+ AEG resources which have an average 15+ years of Oracle experience
• AEG Support across 9 countries
• 200 Oracle Engineered Systems (Exadata/Exalogic etc) currently under management directly by AEG
• 200+ customers in either the AEG Managed Services program or remote DBA program
• 50,000 Accenture Oracle IDC resources that can be leveraged for Level 1 & Level 2 support
• Oracle Database
• Oracle GoldenGate
• Oracle Data Integrator
• Oracle Database
• Oracle Data Warehouse
• Oracle Real Application Cluster
• Oracle Performance Tuning
• Oracle Database Security
3 MEMBERSHIP TIERS
• Oracle ACE Director
• Oracle ACE
• Oracle ACE Associate
bit.ly/OracleACEProgram
oracle-ace_ww@oracle.com
Facebook.com/oracleaces
@oracleace
500+ TECHNICAL EXPERTS
HELPING PEERS GLOBALLY
CONNECT:
Copyright © 2018 Accenture. All rights reserved. 5
Nominate yourself or someone you know: acenomination.oracle.com
WHY ORACLE CLOUD?
Copyright © 2018 Accenture. All rights reserved. 6
ON PREMISES
SAME ARCHITECTURE
SAME SOFTWARE
SAME SKILLS
ORACLE CLOUD
WHY MOVE MY DATABASE TO OCI?
Copyright © 2018 Accenture. All rights reserved. 7
Licensing Oracle Software in the Cloud Computing Environment
https://www.oracle.com/assets/cloud-licensing-070579.pdf
https://www.oracle.com/cloud/economics/
CPU and Network
WHY MOVE MY DATABASE TO OCI?
Copyright © 2018 Accenture. All rights reserved. 8
https://www.oracle.com/cloud/economics/
WHY MOVE MY DATABASE TO OCI?
Copyright © 2018 Accenture. All rights reserved. 9
https://www.oracle.com/cloud/economics/
Copyright © 2018 Accenture. All rights reserved. 10
WHY MOVE MY DATABASE TO OCI?
ORACLE RAC: “THE ORACLE CLOUD IS CURRENTLY THE ONLY CLOUD OFFERING CERTIFIED
AND SUPPORTED TO RUN ORACLE REAL APPLICATION CLUSTERS (RAC) DATABASES.”
EXADATA: “ORACLE EXADATA IS THE BEST-PERFORMING, MOST AVAILABLE, AND MOST
SECURE ARCHITECTURE FOR RUNNING ORACLE DATABASE.”
BEFORE START
Copyright © 2018 Accenture. All rights reserved. 11
Copyright © 2018 Accenture. All rights reserved. 12
Will I lose my job?
Copyright © 2018 Accenture. All rights reserved. 13
No!
But you have to learn new capabilities:
• Application (Design and Development)
• Architecture
• Infrastructure (Network, Security and IaC)
Copyright © 2018 Accenture. All rights reserved. 14
SOME TOOLS FOR INFRASTRUCTURE
AUTOMATION INFRASTRUCTURE AS
CODE
• OCI CLI
• Terraform
• Ansible
LET’S START
Copyright © 2018 Accenture. All rights reserved. 15
https://cloud.oracle.com/database
Copyright © 2018 Accenture. All rights reserved. 16
ORACLE DATABASE CLOUD
• Oracle Database Cloud Service - Virtual Machines / Bare Metal
• Oracle Database Exadata Cloud Service
• Oracle Database Exadata Cloud at Customer
• Autonomous Transaction Processing
• Autonomous Data Warehouse
• Oracle Database Exadata Express Cloud Service – Managed
• Oracle Database Schema Cloud Service - Managed
https://cloud.oracle.com/database
Copyright © 2018 Accenture. All rights reserved. 17
ORACLE DATABASE CLOUD
AUTOMATED VS AUTONOMOUS
Copyright © 2018 Accenture. All rights reserved. 18
ORACLE DATABASE CLOUD SERVICE
DETERMINE THE COMPUTE SHAPE TO
MOVE TO ORACLE CLOUD
Copyright © 2018 Accenture. All rights reserved. 20
I will use the same amount of CPUs
and memory that I have on AWS!
ORACLE DATABASE CLOUD SERVICE
DETERMINE COMPUTE SHAPE
Copyright © 2018 Accenture. All rights reserved. 21
ORACLE DATABASE CLOUD SERVICE
DETERMINE COMPUTE SHAPE
Copyright © 2018 Accenture. All rights reserved. 22
ORACLE DATABASE CLOUD SERVICE
DETERMINE COMPUTE SHAPE
Use Database Consolidation Workbench
**Database Consolidation Workbench requires the Database Diagnostics pack license.
Copyright © 2018 Accenture. All rights reserved. 23
ORACLE DATABASE CLOUD SERVICE
DETERMINE COMPUTE SHAPE
How to standardize ASH data for sizing
https://jorgebarbablog.wordpress.com/2016/12/21/how-to-standardize-ash-data-
for-sizing/
REGIONS, AVAILABILITY DOMAINS AND
FAULT DOMAINS
Copyright © 2018 Accenture. All rights reserved. 24
• Regions - serve different geographies – provide Disaster Recovery capability
• Availability Domains – provide a High Availability foundation within a region
• Fault Domains - a grouping of hardware and infrastructure within an availability domain a
grouping of hardware and infrastructure within an availability domain
Copyright © 2018 Accenture. All rights reserved. 25Slide created by Christoph Rüpprich
Copyright © 2018 Accenture. All rights reserved. 26Slide created by Christoph Rüpprich
Copyright © 2018 Accenture. All rights reserved. 27Slide created by Christoph Rüpprich
Copyright © 2018 Accenture. All rights reserved. 28Slide created by Christoph Rüpprich
CONNECTIVITY OPTIONS
Copyright © 2018 Accenture. All rights reserved. 29
Max (Mb/s) Cost Secure
Public internet < 10,000 Variable No
IPSec VPN < 250 Variable Yes
FastConnect < 100,000 Predictable Yes
ORACLE CLOUD
Copyright © 2018 Accenture. All rights reserved. 30
Copyright © 2018 Accenture. All rights reserved. 31
IAAS
Copyright © 2018 Accenture. All rights reserved. 32
DBAAS
Copyright © 2018 Accenture. All rights reserved. 33
MARKET PLACE
CLOUD MIGRATION ADVISOR
Copyright © 2018 Accenture. All rights reserved. 34
https://www.oracle.com/goto/move
AMAZON RDS
Copyright © 2018 Accenture. All rights reserved. 35https://oracle-base.com/articles/vm/aws-rds-for-oracle
• You do not get access to the SYS user. You only have access to a DBA user.
• Some of the operations you would typically expect to do as a DBA are restricted. Instead, you have to use
the RDSADMIN.RDSADMIN_UTIL package, which provides an API to perform these tasks.
• With a few exceptions, you do not have direct access to the file system, so if you have processes that
sFTP/SCP data to the server to be loaded, you may have to think again.
Restrictions
AMAZON EC2
Copyright © 2018 Accenture. All rights reserved. 36
“Amazon EC2 supports a self-managed Oracle database—that is, it gives you full control over the setup of the
infrastructure and the database environment. Running the database on Amazon EC2 is very similar to running
the database on your own server. You have full control of the database and operating system-level access, so
you can use your choice of tools to manage the operating system, database software, patches, data replication,
backup, and restoration. This migration option requires you to set up, configure, manage, and tune all the
components, including Amazon EC2 instances, storage volumes, scalability, networking, and security, based on
AWS architecture best practices.”
https://docs.aws.amazon.com/prescriptive-guidance/latest/migration-oracle-database/ec2-oracle.html
Copyright © 2018 Accenture. All rights reserved. 37
• SQL Developer Data Pump Export/Import
• SQL Developer Copy
• SQL Developer SQL*Loader
• SQL Developer Materialized Views
• AWS DMS
MIGRATION OPTIONS
RDS
Copyright © 2018 Accenture. All rights reserved. 38
https://docs.cloud.oracle.com/iaas/Content/Database/Tasks/migrating.htm
MIGRATION OPTIONS
EC2
Copyright © 2018 Accenture. All rights reserved. 39https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
MIGRATION OPTIONS
RDS / EC2
Copyright © 2018 Accenture. All rights reserved. 40https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
MIGRATION OPTIONS
EC2
Copyright © 2018 Accenture. All rights reserved. 41https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
MIGRATION OPTIONS
EC2
Copyright © 2018 Accenture. All rights reserved. 42https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
MIGRATION OPTIONS
EC2
MIGRATION OPTIONS
EC2
Copyright © 2018 Accenture. All rights reserved. 43https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
TRANSFERRING DATA TO OBJECT STORAGE FROM
OTHER CLOUD PROVIDERS
AMAZON S3 AND MICROSOFT AZURE BLOB STORAGE
Copyright © 2018 Accenture. All rights reserved. 44https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/transfer-data-to-object-storage.pdf
Rclone is an open-source command-line utility that synchronizes files and directories between a
local file system and a variety of cloud backends.
TRANSFERRING DATA TO OBJECT STORAGE FROM
OTHER CLOUD PROVIDERS
AMAZON S3
Copyright © 2018 Accenture. All rights reserved. 45https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/transfer-data-to-object-storage.pdf
SQL> exec rdsadmin.rdsadmin_util.create_directory(p_directory_name => 'BACKUP');
SQL> exec rdsadmin.rdsadmin_util.set_configuration( name => 'archivelog retention
hours', value => '48’);
SQL> exec rdsadmin.rdsadmin_rman_util.backup_database_full ( p_owner =>
'SYS', p_directory_name => 'BACKUP', p_include_archive_logs => TRUE, p_parallel =>
4, p_section_size_mb => 100, p_rman_to_dbms_output => FALSE );
SQL> rdsadmin.rdsadmin_s3_tasks.upload_to_s3
RDS MIGRATION
Copyright © 2018 Accenture. All rights reserved. 47https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
SQL DEVELOPER DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 48https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
SQL DEVELOPER DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 49https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
SQL DEVELOPER DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 50https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
SQL DEVELOPER DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 51https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
SQL DEVELOPER DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 52https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
SQL DEVELOPER DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 53https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS_FILE_UTIL.LISTDIR
RDS MIGRATION
SQL DEVELOPER DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 54https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
SQL DEVELOPER DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 55https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
SQL DEVELOPER DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 56https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
Options to consider:
• Command Line
• Database Link – NETWORK_LINK (EXPDP/IMPDP)
• Object Storage
RDS MIGRATION
SQL DEVELOPER DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 57
RDS MIGRATION
SQL DEVELOPER COPY
Copyright © 2018 Accenture. All rights reserved. 58https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
SQL DEVELOPER COPY
RDS MIGRATION
SQL DEVELOPER COPY
Copyright © 2018 Accenture. All rights reserved. 59https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
Copyright © 2018 Accenture. All rights reserved. 60
RDS MIGRATION
SQL DEVELOPER SQL*LOADER
Copyright © 2018 Accenture. All rights reserved. 61https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
SQL DEVELOPER SQL*LOADER
RDS MIGRATION
SQL DEVELOPER SQL*LOADER
Copyright © 2018 Accenture. All rights reserved. 62https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
Copyright © 2018 Accenture. All rights reserved. 63
RDS MIGRATION
MIGRATE USING MATERIALIZED VIEWS
Copyright © 2018 Accenture. All rights reserved. 64https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
MIGRATE USING MATERIALIZED VIEWS
Copyright © 2018 Accenture. All rights reserved. 65https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
MIGRATE USING MATERIALIZED VIEWS
Copyright © 2018 Accenture. All rights reserved. 66https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
RDS MIGRATION
MIGRATE USING MATERIALIZED VIEWS
RDS MIGRATION
SQL DEVELOPER MATERIALIZED VIEWS
Copyright © 2018 Accenture. All rights reserved. 67https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
• Use this feature to create copies of source
database tables in a target database,
which are updated periodically
• This allows for zero-downtime cutovers to
the target database
RDS MIGRATION
MIGRATE USING AWS DMS
Copyright © 2018 Accenture. All rights reserved. 68
RDS MIGRATION
MIGRATE USING AWS DMS
Copyright © 2018 Accenture. All rights reserved. 69https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
• Provided by AWS
• This method can be performed online. It enables
zero-downtime migrations
• Use for databases up to 5 TB in size.
EC2 MIGRATION
EC2 MIGRATION
DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 71
• Source version 10g and later
• Migrate from non-CDB to PDB
• Changes to database structure possible
• Upgrade to new version possible
AWS host:
mkdir /u01/app/oracle/admin/orcl/dpdump/for_cloud
sqlplus user/password
CREATE DIRECTORY dp_for_cloud AS
'/u01/app/oracle/admin/orcl/dpdump/for_cloud’;
expdp user/password SCHEMAS=fsowner DIRECTORY=dp_for_cloud
Copyright © 2018 Accenture. All rights reserved. 72
EC2 MIGRATION
DATA PUMP EXPORT/IMPORT
Database Cloud Service compute node:
mkdir /u01/app/oracle/admin/ORCL/dpdump/from_onprem
AWS host:
scp –i private_key_file 
/u01/app/oracle/admin/orcl/dpdump/for_cloud/expdat.dmp
oracle@IP_address_DBaaS_VM:/u01/app/oracle/admin/ORCL/dpdump/from_onprem
Database Cloud Service compute node:
sqlplus user/password
CREATE DIRECTORY dp_from_onprem AS '/u01/app/oracle/admin/ORCL/dpdump/from_onprem’;
impdp user/password SCHEMAS=fsowner DIRECTORY=dp_from_onprem
Copyright © 2018 Accenture. All rights reserved. 73
EC2 MIGRATION
DATA PUMP EXPORT/IMPORT
Options to consider:
• Database Link
• Object Storage
impdp admin/password@ADWC1_high 
directory=data_pump_dir 
credential=def_cred_name 
dumpfile= https://swiftobjectstorage.us-phoenix-1.oraclecloud.com/v1/adwc/adwc_user/export%u.dmp
Copyright © 2018 Accenture. All rights reserved. 74
https://docs.oracle.com/en/cloud/paas/autonomous-data-warehouse-cloud/user/load-data.html#GUID-297FE3E6-A823-4F98-AD50-959ED96E6969
EC2 MIGRATION
DATA PUMP EXPORT/IMPORT
Copyright © 2018 Accenture. All rights reserved. 75
EC2 MIGRATION
DATA PUMP TRANSPORTABLE TABLESPACE
• Source version 8i and later (sameOS) or 10g and later cross-endian
• Migrate from non-CDB to PDB
• Upgrade to new version possible
Copyright © 2018 Accenture. All rights reserved. 76
EC2 MIGRATION
DATA PUMP TRANSPORTABLE TABLESPACE
AWS host:
mkdir /u01/app/oracle/admin/orcl/dpdump/for_cloud
sqlplus user/password
CREATE DIRECTORY dp_for_cloud AS '/u01/app/oracle/admin/orcl/dpdump/for_cloud';
ALTER TABLESPACE fsindex READ ONLY;
ALTER TABLESPACE fsdata READ ONLY;
expdp user/password TRANSPORT_TABLESPACES=fsdata,fsindex
TRANSPORT_FULL_CHECK=YES DIRECTORY=dp_for_cloud
Copyright © 2018 Accenture. All rights reserved. 77
EC2 MIGRATION
DATA PUMP TRANSPORTABLE TABLESPACE
Database Cloud Service compute node:
mkdir /u01/app/oracle/admin/ORCL/dpdump/from_onprem
AWS host:
$ scp -i private_key_file  /u01/app/oracle/admin/orcl/dpdump/for_cloud/expdat.dmp 
oracle@IP_address_DBaaS_VM:/u01/app/oracle/admin/ORCL/dpdump/from_onprem
$ scp -i private_key_file  /u01/app/oracle/oradata/orcl/fsdata01.dbf 
oracle@IP_address_DBaaS_VM:/u02/app/oracle/oradata/ORCL
$ scp -i private_key_file  /u01/app/oracle/oradata/orcl/fsindex01.dbf 
oracle@IP_address_DBaaS_VM:/u02/app/oracle/oradata/ORCL
ALTER TABLESPACE fsdata READ WRITE;
ALTER TABLESPACE fsindexREAD WRITE;
Copyright © 2018 Accenture. All rights reserved. 78
EC2 MIGRATION
DATA PUMP TRANSPORTABLE TABLESPACE
Database Cloud Service compute node:
CREATE DIRECTORY dp_from_onprem AS '/u01/app/oracle/admin/ORCL/dpdump/from_onprem';
SQL> CREATE USER fsowner PROFILE default IDENTIFIED BY fspass TEMPORARY
TABLESPACE temp ACCOUNT UNLOCK;
impdp user/password DIRECTORY=dp_from_onprem 
TRANSPORT_DATAFILES='/u02/app/oracle/oradata/ORCL/fsdata01.dbf', 
'/u02/app/oracle/oradata/ORCL/fsindex01.dbf’
ALTER TABLESPACE fsdata READ WRITE;
ALTER TABLESPACE fsindex READ WRITE;
Copyright © 2018 Accenture. All rights reserved. 79
EC2 MIGRATION
DATA PUMP TRANSPORTABLE TABLESPACE
EC2 MIGRATION
REMOTE CLONE A PDB
Copyright © 2018 Accenture. All rights reserved. 80
EC2 MIGRATION
REMOTE CLONE A PDB
Copyright © 2018 Accenture. All rights reserved. 81https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
EC2 MIGRATION
REMOTE CLONE A NON-CDB
Copyright © 2018 Accenture. All rights reserved. 82
EC2 MIGRATION
REMOTE CLONE A NON-CDB
Copyright © 2018 Accenture. All rights reserved. 83https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
EC2 MIGRATION
MIGRATE BY USING DATA GUARD
• No upgrade to new version
• Minimal downtime migration
• Source version 11.2.0.4, 12.1.0.2, 12.2.0.1, 18, 19
Copyright © 2018 Accenture. All rights reserved. 85
EC2 MIGRATION
MIGRATE BY USING DATA GUARD
This migration can be done in two different ways:
• Using Oracle Database Cloud Services (DBaaS)
• Using Oracle Compute (IaaS).
Copyright © 2018 Accenture. All rights reserved. 86
EC2 MIGRATION
MIGRATE BY USING DATA GUARD
1. Create Physical Standby
2. Prepare Client Connections (Ex: tnsnames.ora)
3. Switchover to Physical Standby
Disaster Recovery to the Oracle Cloud
http://www.oracle.com/technetwork/database/availability/dr-to-oracle-cloud-2615770.pdf
Copyright © 2018 Accenture. All rights reserved. 87
EC2 MIGRATION
MIGRATE BY USING DATA GUARD
Copyright © 2018 Accenture. All rights reserved. 88
EC2 MIGRATION
MIGRATE BY USING DATA GUARD
AWS host:
SELECT log_mode FROM v$database;
LOG_MODE
------------
NOARCHIVELOG
SHUTDOWN IMMEDIATE;
STARTUP MOUNT;
ALTER DATABASE ARCHIVELOG;
ALTER DATABASE OPEN;
ALTER DATABASE FORCE LOGGING;
Copyright © 2018 Accenture. All rights reserved. 89
EC2 MIGRATION
MIGRATE BY USING DATA GUARD
AWS host:
• Create standby redo logs on the primary database initially (recommended).
• Create standby redo logs using the same file size as the primary database online redo logs.
• Create one additional group more than the number of online redo log groups.
ALTER DATABASE ADD STANDBY LOGFILE (‘+REDO') SIZE XXM;
ALTER DATABASE ADD STANDBY LOGFILE (‘+REDO') SIZE XXM;
ALTER DATABASE ADD STANDBY LOGFILE (‘+REDO') SIZE XXM;
ALTER DATABASE ADD STANDBY LOGFILE (‘+REDO') SIZE XXM;
Copyright © 2018 Accenture. All rights reserved. 90
EC2 MIGRATION
MIGRATE BY USING DATA GUARD
Database Cloud Service compute node:
Init.ora:
*.db_name='cdb1’
mkdir -p /u01/app/oracle/admin/cdb1/adump
orapwd file=/u01/app/oracle/product/12.1.0.2/db_1/dbs/orapwcdb1 password=mypass entries=10
Copyright © 2018 Accenture. All rights reserved. 91
EC2 MIGRATION
MIGRATE BY USING DATA GUARD
Database Cloud Service compute node:
export ORACLE_SID=cdb1 sqlplus / as sysdba
STARTUP NOMOUNT PFILE='/tmp/init.ora';
rman TARGET sys/password@cdb1 AUXILIARY sys/password@cdb1_stby
DUPLICATE TARGET DATABASE FOR STANDBY
FROM ACTIVE DATABASE
DORECOVER
NOFILENAMECHECK;
Copyright © 2018 Accenture. All rights reserved. 92
EC2 MIGRATION
MIGRATE BY USING DATA GUARD
Prepare Client Connections (Ex: tnsnames.ora) +
Firewall ports Database Cloud Service compute node:
ALTER SYSTEM SET dg_broker_start=true;
dgmgrl sys/password@cdb1
CREATE CONFIGURATION my_config AS PRIMARY DATABASE IS cdb1 CONNECT IDENTIFIER IS cdb1;
ADD DATABASE cdb1_stby AS CONNECT IDENTIFIER IS cdb1_stby MAINTAINED AS PHYSICAL;
ENABLE CONFIGURATION;
SWITCHOVER TO cdb1_stby;
Copyright © 2018 Accenture. All rights reserved. 93
EC2 MIGRATION
MIGRATE BY USING DATA GUARD
EC2 MIGRATION
UNPLUG AND PLUG A PDB
Copyright © 2018 Accenture. All rights reserved. 94
EC2 MIGRATION
UNPLUG AND PLUG A PDB
Copyright © 2018 Accenture. All rights reserved. 95https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
EC2 MIGRATION
UNPLUG AND PLUG A NON-CDB
Copyright © 2018 Accenture. All rights reserved. 96
EC2 MIGRATION
UNPLUG AND PLUG A NON-CDB
Copyright © 2018 Accenture. All rights reserved. 97https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
EC2 MIGRATION
MIGRATE BY USING GOLDENGATE
Copyright © 2018 Accenture. All rights reserved. 98
EC2 MIGRATION
MIGRATE BY USING GOLDENGATE
Copyright © 2018 Accenture. All rights reserved. 99
• Source version 8i and later
• Migrate from non-CDB to PDB
• Changes to database structure possible
• Minimal downtime migration
• Upgrade to new version possible
EC2 MIGRATION
RMAN – RESTORE / RECOVER
Copyright © 2018 Accenture. All rights reserved. 100
EC2 MIGRATION
MORE OPTIONS
Copyright © 2018 Accenture. All rights reserved. 101
Copyright © 2018 Accenture. All rights reserved. 102
MIG360
https://github.com/alexzaballa/migration360
QUESTIONS?
THANK YOU
Slides will be available at www.slideshare.net

Contenu connexe

Tendances

Presto At Treasure Data
Presto At Treasure DataPresto At Treasure Data
Presto At Treasure DataTaro L. Saito
 
1 Million Writes per second on 60 nodes with Cassandra and EBS
1 Million Writes per second on 60 nodes with Cassandra and EBS1 Million Writes per second on 60 nodes with Cassandra and EBS
1 Million Writes per second on 60 nodes with Cassandra and EBSJim Plush
 
Performance Tuning RocksDB for Kafka Streams’ State Stores
Performance Tuning RocksDB for Kafka Streams’ State StoresPerformance Tuning RocksDB for Kafka Streams’ State Stores
Performance Tuning RocksDB for Kafka Streams’ State Storesconfluent
 
Supporting Apache HBase : Troubleshooting and Supportability Improvements
Supporting Apache HBase : Troubleshooting and Supportability ImprovementsSupporting Apache HBase : Troubleshooting and Supportability Improvements
Supporting Apache HBase : Troubleshooting and Supportability ImprovementsDataWorks Summit
 
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Databricks
 
Dive into ROP - a quick introduction to Return Oriented Programming
Dive into ROP - a quick introduction to Return Oriented ProgrammingDive into ROP - a quick introduction to Return Oriented Programming
Dive into ROP - a quick introduction to Return Oriented ProgrammingSaumil Shah
 
Zookeeper vs Raft: Stateful distributed coordination with HA and Fault Tolerance
Zookeeper vs Raft: Stateful distributed coordination with HA and Fault ToleranceZookeeper vs Raft: Stateful distributed coordination with HA and Fault Tolerance
Zookeeper vs Raft: Stateful distributed coordination with HA and Fault ToleranceAlluxio, Inc.
 
Dokumen.tips edb postgres-failover-manager-guide-get-failover-manager-require...
Dokumen.tips edb postgres-failover-manager-guide-get-failover-manager-require...Dokumen.tips edb postgres-failover-manager-guide-get-failover-manager-require...
Dokumen.tips edb postgres-failover-manager-guide-get-failover-manager-require...DaniloLemosdeArruda
 
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...Amazon Web Services
 
Apache Con 2021 : Apache Bookkeeper Key Value Store and use cases
Apache Con 2021 : Apache Bookkeeper Key Value Store and use casesApache Con 2021 : Apache Bookkeeper Key Value Store and use cases
Apache Con 2021 : Apache Bookkeeper Key Value Store and use casesShivji Kumar Jha
 
Reactive Stream Processing with Akka Streams
Reactive Stream Processing with Akka StreamsReactive Stream Processing with Akka Streams
Reactive Stream Processing with Akka StreamsKonrad Malawski
 
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Analysis of Database Issues using AHF and Machine Learning v2 -  SOUGAnalysis of Database Issues using AHF and Machine Learning v2 -  SOUG
Analysis of Database Issues using AHF and Machine Learning v2 - SOUGSandesh Rao
 
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Ludovico Caldara
 
[KubeConEU] Building images efficiently and securely on Kubernetes with BuildKit
[KubeConEU] Building images efficiently and securely on Kubernetes with BuildKit[KubeConEU] Building images efficiently and securely on Kubernetes with BuildKit
[KubeConEU] Building images efficiently and securely on Kubernetes with BuildKitAkihiro Suda
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratopSandesh Rao
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACSandesh Rao
 

Tendances (20)

Presto At Treasure Data
Presto At Treasure DataPresto At Treasure Data
Presto At Treasure Data
 
1 Million Writes per second on 60 nodes with Cassandra and EBS
1 Million Writes per second on 60 nodes with Cassandra and EBS1 Million Writes per second on 60 nodes with Cassandra and EBS
1 Million Writes per second on 60 nodes with Cassandra and EBS
 
Performance Tuning RocksDB for Kafka Streams’ State Stores
Performance Tuning RocksDB for Kafka Streams’ State StoresPerformance Tuning RocksDB for Kafka Streams’ State Stores
Performance Tuning RocksDB for Kafka Streams’ State Stores
 
Supporting Apache HBase : Troubleshooting and Supportability Improvements
Supporting Apache HBase : Troubleshooting and Supportability ImprovementsSupporting Apache HBase : Troubleshooting and Supportability Improvements
Supporting Apache HBase : Troubleshooting and Supportability Improvements
 
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
 
Dive into ROP - a quick introduction to Return Oriented Programming
Dive into ROP - a quick introduction to Return Oriented ProgrammingDive into ROP - a quick introduction to Return Oriented Programming
Dive into ROP - a quick introduction to Return Oriented Programming
 
Zookeeper vs Raft: Stateful distributed coordination with HA and Fault Tolerance
Zookeeper vs Raft: Stateful distributed coordination with HA and Fault ToleranceZookeeper vs Raft: Stateful distributed coordination with HA and Fault Tolerance
Zookeeper vs Raft: Stateful distributed coordination with HA and Fault Tolerance
 
Dokumen.tips edb postgres-failover-manager-guide-get-failover-manager-require...
Dokumen.tips edb postgres-failover-manager-guide-get-failover-manager-require...Dokumen.tips edb postgres-failover-manager-guide-get-failover-manager-require...
Dokumen.tips edb postgres-failover-manager-guide-get-failover-manager-require...
 
Spark on yarn
Spark on yarnSpark on yarn
Spark on yarn
 
Running Spark in Production
Running Spark in ProductionRunning Spark in Production
Running Spark in Production
 
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
 
Apache Con 2021 : Apache Bookkeeper Key Value Store and use cases
Apache Con 2021 : Apache Bookkeeper Key Value Store and use casesApache Con 2021 : Apache Bookkeeper Key Value Store and use cases
Apache Con 2021 : Apache Bookkeeper Key Value Store and use cases
 
Reactive Stream Processing with Akka Streams
Reactive Stream Processing with Akka StreamsReactive Stream Processing with Akka Streams
Reactive Stream Processing with Akka Streams
 
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Analysis of Database Issues using AHF and Machine Learning v2 -  SOUGAnalysis of Database Issues using AHF and Machine Learning v2 -  SOUG
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
 
Mainframe interview
Mainframe interviewMainframe interview
Mainframe interview
 
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
 
[KubeConEU] Building images efficiently and securely on Kubernetes with BuildKit
[KubeConEU] Building images efficiently and securely on Kubernetes with BuildKit[KubeConEU] Building images efficiently and securely on Kubernetes with BuildKit
[KubeConEU] Building images efficiently and securely on Kubernetes with BuildKit
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
Apache Hadoop 3
Apache Hadoop 3Apache Hadoop 3
Apache Hadoop 3
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
 

Similaire à Migrating Oracle Databases from AWS to OCI

Exploring All options to move your Oracle Databases to the Oracle Cloud
Exploring All options to move your Oracle Databases to the Oracle CloudExploring All options to move your Oracle Databases to the Oracle Cloud
Exploring All options to move your Oracle Databases to the Oracle CloudAlex Zaballa
 
Moving Your Oracle Databases To The Oracle Cloud
Moving Your Oracle Databases To The Oracle CloudMoving Your Oracle Databases To The Oracle Cloud
Moving Your Oracle Databases To The Oracle CloudAlex Zaballa
 
Moving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle CloudMoving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle CloudAlex Zaballa
 
Moving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle CloudMoving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle CloudAlex Zaballa
 
MySQL day Dublin - OCI & Application Development
MySQL day Dublin - OCI & Application DevelopmentMySQL day Dublin - OCI & Application Development
MySQL day Dublin - OCI & Application DevelopmentHenry J. Kröger
 
LET’S GET STARTED WITH ORACLE DATABASE CLOUD
LET’S GET STARTED WITH ORACLE DATABASE CLOUDLET’S GET STARTED WITH ORACLE DATABASE CLOUD
LET’S GET STARTED WITH ORACLE DATABASE CLOUDAlex Zaballa
 
#PCMVision: Oracle Hybrid Cloud Solutions
#PCMVision: Oracle Hybrid Cloud Solutions#PCMVision: Oracle Hybrid Cloud Solutions
#PCMVision: Oracle Hybrid Cloud SolutionsPCM
 
MySQL in oracle_public_cloud
MySQL in oracle_public_cloudMySQL in oracle_public_cloud
MySQL in oracle_public_cloudOracleMySQL
 
MySQL in oracle public cloud
MySQL in oracle public cloudMySQL in oracle public cloud
MySQL in oracle public cloudMandy Ang
 
Proposte ORACLE per la modernizzazione del Datacenter e delle infrastrutture IT
Proposte ORACLE per la modernizzazione del Datacenter e delle infrastrutture ITProposte ORACLE per la modernizzazione del Datacenter e delle infrastrutture IT
Proposte ORACLE per la modernizzazione del Datacenter e delle infrastrutture ITJürgen Ambrosi
 
Oracle Cloud Café hybrid Cloud 19 mai 2016
Oracle Cloud Café hybrid Cloud 19 mai 2016Oracle Cloud Café hybrid Cloud 19 mai 2016
Oracle Cloud Café hybrid Cloud 19 mai 2016Sorathaya Sirimanotham
 
Oracle Management Cloud - HybridCloud Café - May 2016
Oracle Management Cloud - HybridCloud Café - May 2016Oracle Management Cloud - HybridCloud Café - May 2016
Oracle Management Cloud - HybridCloud Café - May 2016Bastien Leblanc
 
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...vasuballa
 
Proposte ORACLE per la gestione dei contenuti digitali e per la ricerca scien...
Proposte ORACLE per la gestione dei contenuti digitali e per la ricerca scien...Proposte ORACLE per la gestione dei contenuti digitali e per la ricerca scien...
Proposte ORACLE per la gestione dei contenuti digitali e per la ricerca scien...Jürgen Ambrosi
 
Serverless patterns
Serverless patternsServerless patterns
Serverless patternsJesse Butler
 
MySQL Cloud Service
MySQL Cloud ServiceMySQL Cloud Service
MySQL Cloud ServiceMario Beck
 
Adobe Spark Meetup - 9/19/2018 - San Jose, CA
Adobe Spark Meetup - 9/19/2018 - San Jose, CAAdobe Spark Meetup - 9/19/2018 - San Jose, CA
Adobe Spark Meetup - 9/19/2018 - San Jose, CAJaemi Bremner
 
Software Defined IT @ Evento SOIEL Roma 6 Aprile 2017
Software Defined IT @ Evento SOIEL Roma 6 Aprile 2017Software Defined IT @ Evento SOIEL Roma 6 Aprile 2017
Software Defined IT @ Evento SOIEL Roma 6 Aprile 2017Riccardo Romani
 
APEX Boston Meetup - October 1st, 2019
APEX Boston Meetup - October 1st, 2019APEX Boston Meetup - October 1st, 2019
APEX Boston Meetup - October 1st, 2019msewtz
 

Similaire à Migrating Oracle Databases from AWS to OCI (20)

Exploring All options to move your Oracle Databases to the Oracle Cloud
Exploring All options to move your Oracle Databases to the Oracle CloudExploring All options to move your Oracle Databases to the Oracle Cloud
Exploring All options to move your Oracle Databases to the Oracle Cloud
 
Moving Your Oracle Databases To The Oracle Cloud
Moving Your Oracle Databases To The Oracle CloudMoving Your Oracle Databases To The Oracle Cloud
Moving Your Oracle Databases To The Oracle Cloud
 
Moving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle CloudMoving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle Cloud
 
Moving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle CloudMoving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle Cloud
 
MySQL day Dublin - OCI & Application Development
MySQL day Dublin - OCI & Application DevelopmentMySQL day Dublin - OCI & Application Development
MySQL day Dublin - OCI & Application Development
 
LET’S GET STARTED WITH ORACLE DATABASE CLOUD
LET’S GET STARTED WITH ORACLE DATABASE CLOUDLET’S GET STARTED WITH ORACLE DATABASE CLOUD
LET’S GET STARTED WITH ORACLE DATABASE CLOUD
 
#PCMVision: Oracle Hybrid Cloud Solutions
#PCMVision: Oracle Hybrid Cloud Solutions#PCMVision: Oracle Hybrid Cloud Solutions
#PCMVision: Oracle Hybrid Cloud Solutions
 
MySQL in oracle_public_cloud
MySQL in oracle_public_cloudMySQL in oracle_public_cloud
MySQL in oracle_public_cloud
 
MySQL in oracle public cloud
MySQL in oracle public cloudMySQL in oracle public cloud
MySQL in oracle public cloud
 
Proposte ORACLE per la modernizzazione del Datacenter e delle infrastrutture IT
Proposte ORACLE per la modernizzazione del Datacenter e delle infrastrutture ITProposte ORACLE per la modernizzazione del Datacenter e delle infrastrutture IT
Proposte ORACLE per la modernizzazione del Datacenter e delle infrastrutture IT
 
Oracle Cloud Café hybrid Cloud 19 mai 2016
Oracle Cloud Café hybrid Cloud 19 mai 2016Oracle Cloud Café hybrid Cloud 19 mai 2016
Oracle Cloud Café hybrid Cloud 19 mai 2016
 
Oracle Management Cloud - HybridCloud Café - May 2016
Oracle Management Cloud - HybridCloud Café - May 2016Oracle Management Cloud - HybridCloud Café - May 2016
Oracle Management Cloud - HybridCloud Café - May 2016
 
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
 
Proposte ORACLE per la gestione dei contenuti digitali e per la ricerca scien...
Proposte ORACLE per la gestione dei contenuti digitali e per la ricerca scien...Proposte ORACLE per la gestione dei contenuti digitali e per la ricerca scien...
Proposte ORACLE per la gestione dei contenuti digitali e per la ricerca scien...
 
Serverless patterns
Serverless patternsServerless patterns
Serverless patterns
 
MySQL Cloud Service
MySQL Cloud ServiceMySQL Cloud Service
MySQL Cloud Service
 
Adobe Spark Meetup - 9/19/2018 - San Jose, CA
Adobe Spark Meetup - 9/19/2018 - San Jose, CAAdobe Spark Meetup - 9/19/2018 - San Jose, CA
Adobe Spark Meetup - 9/19/2018 - San Jose, CA
 
Software Defined IT @ Evento SOIEL Roma 6 Aprile 2017
Software Defined IT @ Evento SOIEL Roma 6 Aprile 2017Software Defined IT @ Evento SOIEL Roma 6 Aprile 2017
Software Defined IT @ Evento SOIEL Roma 6 Aprile 2017
 
APEX Boston Meetup - October 1st, 2019
APEX Boston Meetup - October 1st, 2019APEX Boston Meetup - October 1st, 2019
APEX Boston Meetup - October 1st, 2019
 
02 오라클
02 오라클02 오라클
02 오라클
 

Plus de Alex Zaballa

DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2Alex Zaballa
 
DBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should KnowDBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
 
DBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should KnowDBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
 
Oracle Database 12c - New Features for Developers and DBAs
Oracle Database 12c - New Features for Developers and DBAsOracle Database 12c - New Features for Developers and DBAs
Oracle Database 12c - New Features for Developers and DBAsAlex Zaballa
 
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should Know
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowDBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should Know
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
 
Os melhores recursos novos do Oracle Database 12c para desenvolvedores e DBAs...
Os melhores recursos novos do Oracle Database 12c para desenvolvedores e DBAs...Os melhores recursos novos do Oracle Database 12c para desenvolvedores e DBAs...
Os melhores recursos novos do Oracle Database 12c para desenvolvedores e DBAs...Alex Zaballa
 
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowOTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
 
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...Alex Zaballa
 
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...Alex Zaballa
 
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...Alex Zaballa
 
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expre...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expre...Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expre...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expre...Alex Zaballa
 
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should Know
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowDBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should Know
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
 
Oracle Database 12c - The Best Oracle Database 12c Tuning Features for Develo...
Oracle Database 12c - The Best Oracle Database 12c Tuning Features for Develo...Oracle Database 12c - The Best Oracle Database 12c Tuning Features for Develo...
Oracle Database 12c - The Best Oracle Database 12c Tuning Features for Develo...Alex Zaballa
 
DBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should KnowDBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
 
Oracle Data Redaction
Oracle Data RedactionOracle Data Redaction
Oracle Data RedactionAlex Zaballa
 
Oracle Database 12c - Novas Características para DBAs e Desenvolvedores
Oracle Database 12c - Novas Características para DBAs e DesenvolvedoresOracle Database 12c - Novas Características para DBAs e Desenvolvedores
Oracle Database 12c - Novas Características para DBAs e DesenvolvedoresAlex Zaballa
 
Oracle Data Redaction - EOUC
Oracle Data Redaction - EOUCOracle Data Redaction - EOUC
Oracle Data Redaction - EOUCAlex Zaballa
 

Plus de Alex Zaballa (20)

SQL TUNING 101
SQL TUNING 101SQL TUNING 101
SQL TUNING 101
 
SQL TUNING 101
SQL TUNING 101SQL TUNING 101
SQL TUNING 101
 
DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2
 
DBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should KnowDBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should Know
 
DBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should KnowDBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should Know
 
Oracle Database 12c - New Features for Developers and DBAs
Oracle Database 12c - New Features for Developers and DBAsOracle Database 12c - New Features for Developers and DBAs
Oracle Database 12c - New Features for Developers and DBAs
 
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should Know
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowDBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should Know
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should Know
 
Os melhores recursos novos do Oracle Database 12c para desenvolvedores e DBAs...
Os melhores recursos novos do Oracle Database 12c para desenvolvedores e DBAs...Os melhores recursos novos do Oracle Database 12c para desenvolvedores e DBAs...
Os melhores recursos novos do Oracle Database 12c para desenvolvedores e DBAs...
 
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowOTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
 
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c Tuning Fea...
 
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
 
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
 
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expre...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expre...Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expre...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expre...
 
Oracle SQL Tuning
Oracle SQL TuningOracle SQL Tuning
Oracle SQL Tuning
 
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should Know
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowDBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should Know
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should Know
 
Oracle Database 12c - The Best Oracle Database 12c Tuning Features for Develo...
Oracle Database 12c - The Best Oracle Database 12c Tuning Features for Develo...Oracle Database 12c - The Best Oracle Database 12c Tuning Features for Develo...
Oracle Database 12c - The Best Oracle Database 12c Tuning Features for Develo...
 
DBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should KnowDBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should Know
 
Oracle Data Redaction
Oracle Data RedactionOracle Data Redaction
Oracle Data Redaction
 
Oracle Database 12c - Novas Características para DBAs e Desenvolvedores
Oracle Database 12c - Novas Características para DBAs e DesenvolvedoresOracle Database 12c - Novas Características para DBAs e Desenvolvedores
Oracle Database 12c - Novas Características para DBAs e Desenvolvedores
 
Oracle Data Redaction - EOUC
Oracle Data Redaction - EOUCOracle Data Redaction - EOUC
Oracle Data Redaction - EOUC
 

Dernier

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Dernier (20)

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 

Migrating Oracle Databases from AWS to OCI

  • 2. 2 ALEX ZABALLA CHRISTIAN, HUSBAND, FATHER, DBA, ACE DIRECTOR, WRITER AT OTN, SPEAKER AND BLOGGER. 330 – Including OPN Born Double Citizenship Living http://alexzaballa.blogspot.com/ @alexzaballa https://www.linkedin.com/in/alexzaballa
  • 3. Copyright © 2018 Accenture. All rights reserved. 3 • Based in Dallas-TX (June, 2019 - Now) • Worked for 3 years in Brazil as a Clipper/Delphi Developer (15 years old) 1997-1999 • Worked for 7 years in Brazil as an Oracle Developer 2000 – 2007 • Worked for 8 years in Angola - Africa as an Oracle DBA for the Ministry of Finance. 2007 – 2015 • Worked for 4 years in Brazil as an Oracle DBA for Accenture Enkitec Group. 2015 – 2019 (June,2019)
  • 4. Copyright © 2018 Accenture. All rights reserved. 4 ACCENTURE ENKITEC GROUP CAPABILITIES OVERVIEW • Global systems integrator focused on the Oracle platform • Consultants average 15+ years of Oracle experience • Worldwide specialist in Engineered Systems implementations • 14 Oracle ACE members, specialist recognized by Oracle for their technical expertiseELITE Our consultants have been published in multiple subject areas and additional online resources that demonstrate Accenture’s experience and expertise with the OES platformTHOUGHT LEADERSHIP SUCCESS EXPERTISE ORACLE SPECIALIZATIONS* • Oracle Exadata • Oracle Exalogic ORACLE ENGINEERED SYSTEMS NUMBERS • 700+ Oracle Engineered Systems which AEG have configured, patched or supported. • 100+ AEG resources which have an average 15+ years of Oracle experience • AEG Support across 9 countries • 200 Oracle Engineered Systems (Exadata/Exalogic etc) currently under management directly by AEG • 200+ customers in either the AEG Managed Services program or remote DBA program • 50,000 Accenture Oracle IDC resources that can be leveraged for Level 1 & Level 2 support • Oracle Database • Oracle GoldenGate • Oracle Data Integrator • Oracle Database • Oracle Data Warehouse • Oracle Real Application Cluster • Oracle Performance Tuning • Oracle Database Security
  • 5. 3 MEMBERSHIP TIERS • Oracle ACE Director • Oracle ACE • Oracle ACE Associate bit.ly/OracleACEProgram oracle-ace_ww@oracle.com Facebook.com/oracleaces @oracleace 500+ TECHNICAL EXPERTS HELPING PEERS GLOBALLY CONNECT: Copyright © 2018 Accenture. All rights reserved. 5 Nominate yourself or someone you know: acenomination.oracle.com
  • 6. WHY ORACLE CLOUD? Copyright © 2018 Accenture. All rights reserved. 6 ON PREMISES SAME ARCHITECTURE SAME SOFTWARE SAME SKILLS ORACLE CLOUD
  • 7. WHY MOVE MY DATABASE TO OCI? Copyright © 2018 Accenture. All rights reserved. 7 Licensing Oracle Software in the Cloud Computing Environment https://www.oracle.com/assets/cloud-licensing-070579.pdf https://www.oracle.com/cloud/economics/ CPU and Network
  • 8. WHY MOVE MY DATABASE TO OCI? Copyright © 2018 Accenture. All rights reserved. 8 https://www.oracle.com/cloud/economics/
  • 9. WHY MOVE MY DATABASE TO OCI? Copyright © 2018 Accenture. All rights reserved. 9 https://www.oracle.com/cloud/economics/
  • 10. Copyright © 2018 Accenture. All rights reserved. 10 WHY MOVE MY DATABASE TO OCI? ORACLE RAC: “THE ORACLE CLOUD IS CURRENTLY THE ONLY CLOUD OFFERING CERTIFIED AND SUPPORTED TO RUN ORACLE REAL APPLICATION CLUSTERS (RAC) DATABASES.” EXADATA: “ORACLE EXADATA IS THE BEST-PERFORMING, MOST AVAILABLE, AND MOST SECURE ARCHITECTURE FOR RUNNING ORACLE DATABASE.”
  • 11. BEFORE START Copyright © 2018 Accenture. All rights reserved. 11
  • 12. Copyright © 2018 Accenture. All rights reserved. 12 Will I lose my job?
  • 13. Copyright © 2018 Accenture. All rights reserved. 13 No! But you have to learn new capabilities: • Application (Design and Development) • Architecture • Infrastructure (Network, Security and IaC)
  • 14. Copyright © 2018 Accenture. All rights reserved. 14 SOME TOOLS FOR INFRASTRUCTURE AUTOMATION INFRASTRUCTURE AS CODE • OCI CLI • Terraform • Ansible
  • 15. LET’S START Copyright © 2018 Accenture. All rights reserved. 15
  • 16. https://cloud.oracle.com/database Copyright © 2018 Accenture. All rights reserved. 16 ORACLE DATABASE CLOUD • Oracle Database Cloud Service - Virtual Machines / Bare Metal • Oracle Database Exadata Cloud Service • Oracle Database Exadata Cloud at Customer • Autonomous Transaction Processing • Autonomous Data Warehouse • Oracle Database Exadata Express Cloud Service – Managed • Oracle Database Schema Cloud Service - Managed
  • 17. https://cloud.oracle.com/database Copyright © 2018 Accenture. All rights reserved. 17 ORACLE DATABASE CLOUD
  • 18. AUTOMATED VS AUTONOMOUS Copyright © 2018 Accenture. All rights reserved. 18
  • 19. ORACLE DATABASE CLOUD SERVICE DETERMINE THE COMPUTE SHAPE TO MOVE TO ORACLE CLOUD
  • 20. Copyright © 2018 Accenture. All rights reserved. 20 I will use the same amount of CPUs and memory that I have on AWS! ORACLE DATABASE CLOUD SERVICE DETERMINE COMPUTE SHAPE
  • 21. Copyright © 2018 Accenture. All rights reserved. 21 ORACLE DATABASE CLOUD SERVICE DETERMINE COMPUTE SHAPE
  • 22. Copyright © 2018 Accenture. All rights reserved. 22 ORACLE DATABASE CLOUD SERVICE DETERMINE COMPUTE SHAPE Use Database Consolidation Workbench **Database Consolidation Workbench requires the Database Diagnostics pack license.
  • 23. Copyright © 2018 Accenture. All rights reserved. 23 ORACLE DATABASE CLOUD SERVICE DETERMINE COMPUTE SHAPE How to standardize ASH data for sizing https://jorgebarbablog.wordpress.com/2016/12/21/how-to-standardize-ash-data- for-sizing/
  • 24. REGIONS, AVAILABILITY DOMAINS AND FAULT DOMAINS Copyright © 2018 Accenture. All rights reserved. 24 • Regions - serve different geographies – provide Disaster Recovery capability • Availability Domains – provide a High Availability foundation within a region • Fault Domains - a grouping of hardware and infrastructure within an availability domain a grouping of hardware and infrastructure within an availability domain
  • 25. Copyright © 2018 Accenture. All rights reserved. 25Slide created by Christoph Rüpprich
  • 26. Copyright © 2018 Accenture. All rights reserved. 26Slide created by Christoph Rüpprich
  • 27. Copyright © 2018 Accenture. All rights reserved. 27Slide created by Christoph Rüpprich
  • 28. Copyright © 2018 Accenture. All rights reserved. 28Slide created by Christoph Rüpprich
  • 29. CONNECTIVITY OPTIONS Copyright © 2018 Accenture. All rights reserved. 29 Max (Mb/s) Cost Secure Public internet < 10,000 Variable No IPSec VPN < 250 Variable Yes FastConnect < 100,000 Predictable Yes
  • 30. ORACLE CLOUD Copyright © 2018 Accenture. All rights reserved. 30
  • 31. Copyright © 2018 Accenture. All rights reserved. 31 IAAS
  • 32. Copyright © 2018 Accenture. All rights reserved. 32 DBAAS
  • 33. Copyright © 2018 Accenture. All rights reserved. 33 MARKET PLACE
  • 34. CLOUD MIGRATION ADVISOR Copyright © 2018 Accenture. All rights reserved. 34 https://www.oracle.com/goto/move
  • 35. AMAZON RDS Copyright © 2018 Accenture. All rights reserved. 35https://oracle-base.com/articles/vm/aws-rds-for-oracle • You do not get access to the SYS user. You only have access to a DBA user. • Some of the operations you would typically expect to do as a DBA are restricted. Instead, you have to use the RDSADMIN.RDSADMIN_UTIL package, which provides an API to perform these tasks. • With a few exceptions, you do not have direct access to the file system, so if you have processes that sFTP/SCP data to the server to be loaded, you may have to think again. Restrictions
  • 36. AMAZON EC2 Copyright © 2018 Accenture. All rights reserved. 36 “Amazon EC2 supports a self-managed Oracle database—that is, it gives you full control over the setup of the infrastructure and the database environment. Running the database on Amazon EC2 is very similar to running the database on your own server. You have full control of the database and operating system-level access, so you can use your choice of tools to manage the operating system, database software, patches, data replication, backup, and restoration. This migration option requires you to set up, configure, manage, and tune all the components, including Amazon EC2 instances, storage volumes, scalability, networking, and security, based on AWS architecture best practices.” https://docs.aws.amazon.com/prescriptive-guidance/latest/migration-oracle-database/ec2-oracle.html
  • 37. Copyright © 2018 Accenture. All rights reserved. 37 • SQL Developer Data Pump Export/Import • SQL Developer Copy • SQL Developer SQL*Loader • SQL Developer Materialized Views • AWS DMS MIGRATION OPTIONS RDS
  • 38. Copyright © 2018 Accenture. All rights reserved. 38 https://docs.cloud.oracle.com/iaas/Content/Database/Tasks/migrating.htm MIGRATION OPTIONS EC2
  • 39. Copyright © 2018 Accenture. All rights reserved. 39https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf MIGRATION OPTIONS RDS / EC2
  • 40. Copyright © 2018 Accenture. All rights reserved. 40https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf MIGRATION OPTIONS EC2
  • 41. Copyright © 2018 Accenture. All rights reserved. 41https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf MIGRATION OPTIONS EC2
  • 42. Copyright © 2018 Accenture. All rights reserved. 42https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf MIGRATION OPTIONS EC2
  • 43. MIGRATION OPTIONS EC2 Copyright © 2018 Accenture. All rights reserved. 43https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
  • 44. TRANSFERRING DATA TO OBJECT STORAGE FROM OTHER CLOUD PROVIDERS AMAZON S3 AND MICROSOFT AZURE BLOB STORAGE Copyright © 2018 Accenture. All rights reserved. 44https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/transfer-data-to-object-storage.pdf Rclone is an open-source command-line utility that synchronizes files and directories between a local file system and a variety of cloud backends.
  • 45. TRANSFERRING DATA TO OBJECT STORAGE FROM OTHER CLOUD PROVIDERS AMAZON S3 Copyright © 2018 Accenture. All rights reserved. 45https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/transfer-data-to-object-storage.pdf SQL> exec rdsadmin.rdsadmin_util.create_directory(p_directory_name => 'BACKUP'); SQL> exec rdsadmin.rdsadmin_util.set_configuration( name => 'archivelog retention hours', value => '48’); SQL> exec rdsadmin.rdsadmin_rman_util.backup_database_full ( p_owner => 'SYS', p_directory_name => 'BACKUP', p_include_archive_logs => TRUE, p_parallel => 4, p_section_size_mb => 100, p_rman_to_dbms_output => FALSE ); SQL> rdsadmin.rdsadmin_s3_tasks.upload_to_s3
  • 47. Copyright © 2018 Accenture. All rights reserved. 47https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION SQL DEVELOPER DATA PUMP EXPORT/IMPORT
  • 48. Copyright © 2018 Accenture. All rights reserved. 48https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION SQL DEVELOPER DATA PUMP EXPORT/IMPORT
  • 49. Copyright © 2018 Accenture. All rights reserved. 49https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION SQL DEVELOPER DATA PUMP EXPORT/IMPORT
  • 50. Copyright © 2018 Accenture. All rights reserved. 50https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION SQL DEVELOPER DATA PUMP EXPORT/IMPORT
  • 51. Copyright © 2018 Accenture. All rights reserved. 51https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION SQL DEVELOPER DATA PUMP EXPORT/IMPORT
  • 52. Copyright © 2018 Accenture. All rights reserved. 52https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION SQL DEVELOPER DATA PUMP EXPORT/IMPORT
  • 53. Copyright © 2018 Accenture. All rights reserved. 53https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS_FILE_UTIL.LISTDIR RDS MIGRATION SQL DEVELOPER DATA PUMP EXPORT/IMPORT
  • 54. Copyright © 2018 Accenture. All rights reserved. 54https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION SQL DEVELOPER DATA PUMP EXPORT/IMPORT
  • 55. Copyright © 2018 Accenture. All rights reserved. 55https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION SQL DEVELOPER DATA PUMP EXPORT/IMPORT
  • 56. Copyright © 2018 Accenture. All rights reserved. 56https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf Options to consider: • Command Line • Database Link – NETWORK_LINK (EXPDP/IMPDP) • Object Storage RDS MIGRATION SQL DEVELOPER DATA PUMP EXPORT/IMPORT
  • 57. Copyright © 2018 Accenture. All rights reserved. 57 RDS MIGRATION SQL DEVELOPER COPY
  • 58. Copyright © 2018 Accenture. All rights reserved. 58https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION SQL DEVELOPER COPY
  • 59. RDS MIGRATION SQL DEVELOPER COPY Copyright © 2018 Accenture. All rights reserved. 59https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
  • 60. Copyright © 2018 Accenture. All rights reserved. 60 RDS MIGRATION SQL DEVELOPER SQL*LOADER
  • 61. Copyright © 2018 Accenture. All rights reserved. 61https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION SQL DEVELOPER SQL*LOADER
  • 62. RDS MIGRATION SQL DEVELOPER SQL*LOADER Copyright © 2018 Accenture. All rights reserved. 62https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
  • 63. Copyright © 2018 Accenture. All rights reserved. 63 RDS MIGRATION MIGRATE USING MATERIALIZED VIEWS
  • 64. Copyright © 2018 Accenture. All rights reserved. 64https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION MIGRATE USING MATERIALIZED VIEWS
  • 65. Copyright © 2018 Accenture. All rights reserved. 65https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION MIGRATE USING MATERIALIZED VIEWS
  • 66. Copyright © 2018 Accenture. All rights reserved. 66https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf RDS MIGRATION MIGRATE USING MATERIALIZED VIEWS
  • 67. RDS MIGRATION SQL DEVELOPER MATERIALIZED VIEWS Copyright © 2018 Accenture. All rights reserved. 67https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf • Use this feature to create copies of source database tables in a target database, which are updated periodically • This allows for zero-downtime cutovers to the target database
  • 68. RDS MIGRATION MIGRATE USING AWS DMS Copyright © 2018 Accenture. All rights reserved. 68
  • 69. RDS MIGRATION MIGRATE USING AWS DMS Copyright © 2018 Accenture. All rights reserved. 69https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf • Provided by AWS • This method can be performed online. It enables zero-downtime migrations • Use for databases up to 5 TB in size.
  • 71. EC2 MIGRATION DATA PUMP EXPORT/IMPORT Copyright © 2018 Accenture. All rights reserved. 71 • Source version 10g and later • Migrate from non-CDB to PDB • Changes to database structure possible • Upgrade to new version possible
  • 72. AWS host: mkdir /u01/app/oracle/admin/orcl/dpdump/for_cloud sqlplus user/password CREATE DIRECTORY dp_for_cloud AS '/u01/app/oracle/admin/orcl/dpdump/for_cloud’; expdp user/password SCHEMAS=fsowner DIRECTORY=dp_for_cloud Copyright © 2018 Accenture. All rights reserved. 72 EC2 MIGRATION DATA PUMP EXPORT/IMPORT
  • 73. Database Cloud Service compute node: mkdir /u01/app/oracle/admin/ORCL/dpdump/from_onprem AWS host: scp –i private_key_file /u01/app/oracle/admin/orcl/dpdump/for_cloud/expdat.dmp oracle@IP_address_DBaaS_VM:/u01/app/oracle/admin/ORCL/dpdump/from_onprem Database Cloud Service compute node: sqlplus user/password CREATE DIRECTORY dp_from_onprem AS '/u01/app/oracle/admin/ORCL/dpdump/from_onprem’; impdp user/password SCHEMAS=fsowner DIRECTORY=dp_from_onprem Copyright © 2018 Accenture. All rights reserved. 73 EC2 MIGRATION DATA PUMP EXPORT/IMPORT
  • 74. Options to consider: • Database Link • Object Storage impdp admin/password@ADWC1_high directory=data_pump_dir credential=def_cred_name dumpfile= https://swiftobjectstorage.us-phoenix-1.oraclecloud.com/v1/adwc/adwc_user/export%u.dmp Copyright © 2018 Accenture. All rights reserved. 74 https://docs.oracle.com/en/cloud/paas/autonomous-data-warehouse-cloud/user/load-data.html#GUID-297FE3E6-A823-4F98-AD50-959ED96E6969 EC2 MIGRATION DATA PUMP EXPORT/IMPORT
  • 75. Copyright © 2018 Accenture. All rights reserved. 75 EC2 MIGRATION DATA PUMP TRANSPORTABLE TABLESPACE
  • 76. • Source version 8i and later (sameOS) or 10g and later cross-endian • Migrate from non-CDB to PDB • Upgrade to new version possible Copyright © 2018 Accenture. All rights reserved. 76 EC2 MIGRATION DATA PUMP TRANSPORTABLE TABLESPACE
  • 77. AWS host: mkdir /u01/app/oracle/admin/orcl/dpdump/for_cloud sqlplus user/password CREATE DIRECTORY dp_for_cloud AS '/u01/app/oracle/admin/orcl/dpdump/for_cloud'; ALTER TABLESPACE fsindex READ ONLY; ALTER TABLESPACE fsdata READ ONLY; expdp user/password TRANSPORT_TABLESPACES=fsdata,fsindex TRANSPORT_FULL_CHECK=YES DIRECTORY=dp_for_cloud Copyright © 2018 Accenture. All rights reserved. 77 EC2 MIGRATION DATA PUMP TRANSPORTABLE TABLESPACE
  • 78. Database Cloud Service compute node: mkdir /u01/app/oracle/admin/ORCL/dpdump/from_onprem AWS host: $ scp -i private_key_file /u01/app/oracle/admin/orcl/dpdump/for_cloud/expdat.dmp oracle@IP_address_DBaaS_VM:/u01/app/oracle/admin/ORCL/dpdump/from_onprem $ scp -i private_key_file /u01/app/oracle/oradata/orcl/fsdata01.dbf oracle@IP_address_DBaaS_VM:/u02/app/oracle/oradata/ORCL $ scp -i private_key_file /u01/app/oracle/oradata/orcl/fsindex01.dbf oracle@IP_address_DBaaS_VM:/u02/app/oracle/oradata/ORCL ALTER TABLESPACE fsdata READ WRITE; ALTER TABLESPACE fsindexREAD WRITE; Copyright © 2018 Accenture. All rights reserved. 78 EC2 MIGRATION DATA PUMP TRANSPORTABLE TABLESPACE
  • 79. Database Cloud Service compute node: CREATE DIRECTORY dp_from_onprem AS '/u01/app/oracle/admin/ORCL/dpdump/from_onprem'; SQL> CREATE USER fsowner PROFILE default IDENTIFIED BY fspass TEMPORARY TABLESPACE temp ACCOUNT UNLOCK; impdp user/password DIRECTORY=dp_from_onprem TRANSPORT_DATAFILES='/u02/app/oracle/oradata/ORCL/fsdata01.dbf', '/u02/app/oracle/oradata/ORCL/fsindex01.dbf’ ALTER TABLESPACE fsdata READ WRITE; ALTER TABLESPACE fsindex READ WRITE; Copyright © 2018 Accenture. All rights reserved. 79 EC2 MIGRATION DATA PUMP TRANSPORTABLE TABLESPACE
  • 80. EC2 MIGRATION REMOTE CLONE A PDB Copyright © 2018 Accenture. All rights reserved. 80
  • 81. EC2 MIGRATION REMOTE CLONE A PDB Copyright © 2018 Accenture. All rights reserved. 81https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
  • 82. EC2 MIGRATION REMOTE CLONE A NON-CDB Copyright © 2018 Accenture. All rights reserved. 82
  • 83. EC2 MIGRATION REMOTE CLONE A NON-CDB Copyright © 2018 Accenture. All rights reserved. 83https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
  • 84. EC2 MIGRATION MIGRATE BY USING DATA GUARD
  • 85. • No upgrade to new version • Minimal downtime migration • Source version 11.2.0.4, 12.1.0.2, 12.2.0.1, 18, 19 Copyright © 2018 Accenture. All rights reserved. 85 EC2 MIGRATION MIGRATE BY USING DATA GUARD
  • 86. This migration can be done in two different ways: • Using Oracle Database Cloud Services (DBaaS) • Using Oracle Compute (IaaS). Copyright © 2018 Accenture. All rights reserved. 86 EC2 MIGRATION MIGRATE BY USING DATA GUARD
  • 87. 1. Create Physical Standby 2. Prepare Client Connections (Ex: tnsnames.ora) 3. Switchover to Physical Standby Disaster Recovery to the Oracle Cloud http://www.oracle.com/technetwork/database/availability/dr-to-oracle-cloud-2615770.pdf Copyright © 2018 Accenture. All rights reserved. 87 EC2 MIGRATION MIGRATE BY USING DATA GUARD
  • 88. Copyright © 2018 Accenture. All rights reserved. 88 EC2 MIGRATION MIGRATE BY USING DATA GUARD
  • 89. AWS host: SELECT log_mode FROM v$database; LOG_MODE ------------ NOARCHIVELOG SHUTDOWN IMMEDIATE; STARTUP MOUNT; ALTER DATABASE ARCHIVELOG; ALTER DATABASE OPEN; ALTER DATABASE FORCE LOGGING; Copyright © 2018 Accenture. All rights reserved. 89 EC2 MIGRATION MIGRATE BY USING DATA GUARD
  • 90. AWS host: • Create standby redo logs on the primary database initially (recommended). • Create standby redo logs using the same file size as the primary database online redo logs. • Create one additional group more than the number of online redo log groups. ALTER DATABASE ADD STANDBY LOGFILE (‘+REDO') SIZE XXM; ALTER DATABASE ADD STANDBY LOGFILE (‘+REDO') SIZE XXM; ALTER DATABASE ADD STANDBY LOGFILE (‘+REDO') SIZE XXM; ALTER DATABASE ADD STANDBY LOGFILE (‘+REDO') SIZE XXM; Copyright © 2018 Accenture. All rights reserved. 90 EC2 MIGRATION MIGRATE BY USING DATA GUARD
  • 91. Database Cloud Service compute node: Init.ora: *.db_name='cdb1’ mkdir -p /u01/app/oracle/admin/cdb1/adump orapwd file=/u01/app/oracle/product/12.1.0.2/db_1/dbs/orapwcdb1 password=mypass entries=10 Copyright © 2018 Accenture. All rights reserved. 91 EC2 MIGRATION MIGRATE BY USING DATA GUARD
  • 92. Database Cloud Service compute node: export ORACLE_SID=cdb1 sqlplus / as sysdba STARTUP NOMOUNT PFILE='/tmp/init.ora'; rman TARGET sys/password@cdb1 AUXILIARY sys/password@cdb1_stby DUPLICATE TARGET DATABASE FOR STANDBY FROM ACTIVE DATABASE DORECOVER NOFILENAMECHECK; Copyright © 2018 Accenture. All rights reserved. 92 EC2 MIGRATION MIGRATE BY USING DATA GUARD
  • 93. Prepare Client Connections (Ex: tnsnames.ora) + Firewall ports Database Cloud Service compute node: ALTER SYSTEM SET dg_broker_start=true; dgmgrl sys/password@cdb1 CREATE CONFIGURATION my_config AS PRIMARY DATABASE IS cdb1 CONNECT IDENTIFIER IS cdb1; ADD DATABASE cdb1_stby AS CONNECT IDENTIFIER IS cdb1_stby MAINTAINED AS PHYSICAL; ENABLE CONFIGURATION; SWITCHOVER TO cdb1_stby; Copyright © 2018 Accenture. All rights reserved. 93 EC2 MIGRATION MIGRATE BY USING DATA GUARD
  • 94. EC2 MIGRATION UNPLUG AND PLUG A PDB Copyright © 2018 Accenture. All rights reserved. 94
  • 95. EC2 MIGRATION UNPLUG AND PLUG A PDB Copyright © 2018 Accenture. All rights reserved. 95https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
  • 96. EC2 MIGRATION UNPLUG AND PLUG A NON-CDB Copyright © 2018 Accenture. All rights reserved. 96
  • 97. EC2 MIGRATION UNPLUG AND PLUG A NON-CDB Copyright © 2018 Accenture. All rights reserved. 97https://docs.cloud.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/database-migration-aws-to-oci-database.pdf
  • 98. EC2 MIGRATION MIGRATE BY USING GOLDENGATE Copyright © 2018 Accenture. All rights reserved. 98
  • 99. EC2 MIGRATION MIGRATE BY USING GOLDENGATE Copyright © 2018 Accenture. All rights reserved. 99 • Source version 8i and later • Migrate from non-CDB to PDB • Changes to database structure possible • Minimal downtime migration • Upgrade to new version possible
  • 100. EC2 MIGRATION RMAN – RESTORE / RECOVER Copyright © 2018 Accenture. All rights reserved. 100
  • 101. EC2 MIGRATION MORE OPTIONS Copyright © 2018 Accenture. All rights reserved. 101
  • 102. Copyright © 2018 Accenture. All rights reserved. 102 MIG360 https://github.com/alexzaballa/migration360
  • 104. THANK YOU Slides will be available at www.slideshare.net