Migre sus bases de
datos Oracle a la nube
Sergio Romera | Senior Sales Engineer
You’ve got Oracle workloads and you
want to move to cloud.
What do you need to consider?
2021 Copyright © EnterpriseDB Corporation All Rights Reserved
Oracle in the Cloud
3
What’s available today for Oracle in the cloud?
Fully managed database services
available on OCI, including RAC
and Exadata
Multiple fully managed
services available, Amazon
RDS for Oracle and Amazon
RDS Custom for Oracle
Connect to Oracle database
workloads from Microsoft
Azure via Interconnect
1) AWS
2) Microsoft Azure
3) Google
4) Private Cloud
Pregunta:
¿Qué proveedores en la nube
utiliza actualmente?
Not many options exist for Oracle.
What about other cloud database
options?
2021 Copyright © EnterpriseDB Corporation All Rights Reserved
Another DB option to consider
6
• PostgreSQL is the Most Loved
RDBMS all five years it's been
asked
• PostgreSQL increased in
popularity from ~36% in 2020 to
~44% in 2021
• Highly extensible
• Truly open source and has a strong
community
• PostgreSQL is a popular and
strategic amongst cloud platforms,
e.g. AWS Babelfish
Source: Stack Overflow Survey 2021
2021 Copyright © EnterpriseDB Corporation All Rights Reserved
PostgreSQL in the Cloud
7
A wide variety of services available
With abundance of PostgreSQL fully
managed cloud databases, why not
migrate directly to PostgreSQL?
Migrating database workloads is hard.
Choosing the database is the easy part.
2021 Copyright © EnterpriseDB Corporation All Rights Reserved
Migration is complicated
10
• Objects and code
• Mapping data types
• Handling syntax differences
• Raising incompatibilities
Schemas
• Methodology: Bulk, ongoing, fallback
• Tools: ETL, validation
Data
• Hosting environment
• Deployment type
• DBMS optimization
• Proprietary utilization
Infrastructure
• Code
• Languages
• Connectors
• Syntax
Application
• Performance
• Optimization
• Indexing
1) DB2
2) MySQL
3) Oracle
4) PostgreSQL
5) SQL Server
6) Otra
Pregunta:
¿Cuál es la base de datos que más
utiliza actualmente en su compañía?
How can EDB help?
2021 Copyright © EnterpriseDB Corporation All Rights Reserved
13
EDB compatibility with Oracle database
Part of the way
SCHEMA AND DATA ONLY
Most of the way
SCHEMA, DATA AND CODE
Almost there
SCHEMA, DATA, CODE AND INTERFACE
All the way
SCHEMA, DATA, CODE, INTERFACE AND OPERATIONAL TOOLS
SCHEMA DATA CODE API TOOLS
2021 Copyright © EnterpriseDB Corporation All Rights Reserved
Compatibility, Tooling, and Expertise
14
Over 15 years of expertise in
helping customers migrate
their Oracle workloads
EDB Postgres Advanced Server
Compatibility with Oracle
database data types, PL/SQL
support, packages, data
dictionary views and drivers.
Migration Tooling
Run schema assessments,
migrate and validate data.
Expertise
Reduce the time and effort required to migrate from Oracle and ease the transition for your Oracle DBAs and
developers.
2021 Copyright © EnterpriseDB Corporation All Rights Reserved
Migration Portal
15
2021 Copyright © EnterpriseDB Corporation All Rights Reserved
Migration Portal
16
2021 Copyright © EnterpriseDB Corporation All Rights Reserved
Migration Toolkit
17
[root@postgresedb1:/usr/edb/migrationtoolkit/bin ] $ sh runMTK.sh -dropSchema true -fastcopy -fetchsize 20000 HR
Running EnterpriseDB Migration Toolkit (Build 55.0.0) ...
Source database connectivity info...
conn =jdbc:oracle:thin:@192.168.56.202:1521/pdb1
user =system
password=******
Target database connectivity info...
conn =jdbc:edb://localhost:5444/edb
user =sergio
password=******
Connecting with source Oracle database server...
Connected to Oracle, version 'Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production'
Connecting with target EDB Postgres database server...
Connected to EnterpriseDB, version '13.4.8'
Importing redwood schema HR...
Dropping Schema: hr
Creating Schema...hr
...
Initializing Data Loader 1...
Loading Table Data in 8 MB batches...
Creating Table: hr.countries
Loading Table: hr.countries ...
[COUNTRIES] Migrated 25 rows.
[COUNTRIES] Table Data Load Summary: Total Time(s): 0.017 Total Rows: 25 Total Size(KB): 0.341
...
Creating Objects........
...
Schema HR imported successfully.
Migration process completed successfully.
Total Elapsed Migration Time (sec): 13.928
Is all of this available from EDB on the
cloud?
BigAnimal
Postgres
Expertise
EDB’s expertise goes above the
infrastructure; we steer the
database roadmap and patch its
bugs
EDB’s fully managed cloud offering on Microsoft Azure
Oracle
Compatibility
Leave Oracle and further
your cloud journey with a
fully managed Postgres
service
Continuous
Availability
High availability of your
PostgreSQL clusters so
you’re always on, always
available
19
2021 Copyright © EnterpriseDB Corporation All Rights Reserved
DEMO
20
2021 Copyright © EnterpriseDB Corporation All Rights Reserved
Demo
21
• BigAnimal
• Create a EDB Postgres Advanced Server (in BigAnimal)
• Verify database connection
• Oracle
• Connect to Oracle HR schema
• Select data
• Execute stored procedure SP_POSTGRES
• Migration
• Migrate HR schema to EDB Postgres Advanced Server (EPAS)
• Verify migration
• Select data
• Execute stored procedure SP_POSTGRES
• Other EPAS features….
Find out more at biganimal.com
Thank you!
Restez en contact
23
Sergio Romera
EDB – Senior Sales Engineer
Oracle Cloud Infrastructure Architect
Oracle Autonomous Database Cloud Specialist
Database Administrator
Microsoft Azure Fundamentals
Microsoft Data Azure Fundamentals
AWS Cloud Practitioner
EDB Certified Associate - Postgres Advanced
Server 12
EDB Certified Professional – Postgres
Advanced Server 13

Migre sus bases de datos Oracle a la nube

  • 1.
    Migre sus basesde datos Oracle a la nube Sergio Romera | Senior Sales Engineer
  • 2.
    You’ve got Oracleworkloads and you want to move to cloud. What do you need to consider?
  • 3.
    2021 Copyright ©EnterpriseDB Corporation All Rights Reserved Oracle in the Cloud 3 What’s available today for Oracle in the cloud? Fully managed database services available on OCI, including RAC and Exadata Multiple fully managed services available, Amazon RDS for Oracle and Amazon RDS Custom for Oracle Connect to Oracle database workloads from Microsoft Azure via Interconnect
  • 4.
    1) AWS 2) MicrosoftAzure 3) Google 4) Private Cloud Pregunta: ¿Qué proveedores en la nube utiliza actualmente?
  • 5.
    Not many optionsexist for Oracle. What about other cloud database options?
  • 6.
    2021 Copyright ©EnterpriseDB Corporation All Rights Reserved Another DB option to consider 6 • PostgreSQL is the Most Loved RDBMS all five years it's been asked • PostgreSQL increased in popularity from ~36% in 2020 to ~44% in 2021 • Highly extensible • Truly open source and has a strong community • PostgreSQL is a popular and strategic amongst cloud platforms, e.g. AWS Babelfish Source: Stack Overflow Survey 2021
  • 7.
    2021 Copyright ©EnterpriseDB Corporation All Rights Reserved PostgreSQL in the Cloud 7 A wide variety of services available
  • 8.
    With abundance ofPostgreSQL fully managed cloud databases, why not migrate directly to PostgreSQL?
  • 9.
    Migrating database workloadsis hard. Choosing the database is the easy part.
  • 10.
    2021 Copyright ©EnterpriseDB Corporation All Rights Reserved Migration is complicated 10 • Objects and code • Mapping data types • Handling syntax differences • Raising incompatibilities Schemas • Methodology: Bulk, ongoing, fallback • Tools: ETL, validation Data • Hosting environment • Deployment type • DBMS optimization • Proprietary utilization Infrastructure • Code • Languages • Connectors • Syntax Application • Performance • Optimization • Indexing
  • 11.
    1) DB2 2) MySQL 3)Oracle 4) PostgreSQL 5) SQL Server 6) Otra Pregunta: ¿Cuál es la base de datos que más utiliza actualmente en su compañía?
  • 12.
  • 13.
    2021 Copyright ©EnterpriseDB Corporation All Rights Reserved 13 EDB compatibility with Oracle database Part of the way SCHEMA AND DATA ONLY Most of the way SCHEMA, DATA AND CODE Almost there SCHEMA, DATA, CODE AND INTERFACE All the way SCHEMA, DATA, CODE, INTERFACE AND OPERATIONAL TOOLS SCHEMA DATA CODE API TOOLS
  • 14.
    2021 Copyright ©EnterpriseDB Corporation All Rights Reserved Compatibility, Tooling, and Expertise 14 Over 15 years of expertise in helping customers migrate their Oracle workloads EDB Postgres Advanced Server Compatibility with Oracle database data types, PL/SQL support, packages, data dictionary views and drivers. Migration Tooling Run schema assessments, migrate and validate data. Expertise Reduce the time and effort required to migrate from Oracle and ease the transition for your Oracle DBAs and developers.
  • 15.
    2021 Copyright ©EnterpriseDB Corporation All Rights Reserved Migration Portal 15
  • 16.
    2021 Copyright ©EnterpriseDB Corporation All Rights Reserved Migration Portal 16
  • 17.
    2021 Copyright ©EnterpriseDB Corporation All Rights Reserved Migration Toolkit 17 [root@postgresedb1:/usr/edb/migrationtoolkit/bin ] $ sh runMTK.sh -dropSchema true -fastcopy -fetchsize 20000 HR Running EnterpriseDB Migration Toolkit (Build 55.0.0) ... Source database connectivity info... conn =jdbc:oracle:thin:@192.168.56.202:1521/pdb1 user =system password=****** Target database connectivity info... conn =jdbc:edb://localhost:5444/edb user =sergio password=****** Connecting with source Oracle database server... Connected to Oracle, version 'Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production' Connecting with target EDB Postgres database server... Connected to EnterpriseDB, version '13.4.8' Importing redwood schema HR... Dropping Schema: hr Creating Schema...hr ... Initializing Data Loader 1... Loading Table Data in 8 MB batches... Creating Table: hr.countries Loading Table: hr.countries ... [COUNTRIES] Migrated 25 rows. [COUNTRIES] Table Data Load Summary: Total Time(s): 0.017 Total Rows: 25 Total Size(KB): 0.341 ... Creating Objects........ ... Schema HR imported successfully. Migration process completed successfully. Total Elapsed Migration Time (sec): 13.928
  • 18.
    Is all ofthis available from EDB on the cloud?
  • 19.
    BigAnimal Postgres Expertise EDB’s expertise goesabove the infrastructure; we steer the database roadmap and patch its bugs EDB’s fully managed cloud offering on Microsoft Azure Oracle Compatibility Leave Oracle and further your cloud journey with a fully managed Postgres service Continuous Availability High availability of your PostgreSQL clusters so you’re always on, always available 19 2021 Copyright © EnterpriseDB Corporation All Rights Reserved
  • 20.
  • 21.
    2021 Copyright ©EnterpriseDB Corporation All Rights Reserved Demo 21 • BigAnimal • Create a EDB Postgres Advanced Server (in BigAnimal) • Verify database connection • Oracle • Connect to Oracle HR schema • Select data • Execute stored procedure SP_POSTGRES • Migration • Migrate HR schema to EDB Postgres Advanced Server (EPAS) • Verify migration • Select data • Execute stored procedure SP_POSTGRES • Other EPAS features….
  • 22.
    Find out moreat biganimal.com Thank you!
  • 23.
    Restez en contact 23 SergioRomera EDB – Senior Sales Engineer Oracle Cloud Infrastructure Architect Oracle Autonomous Database Cloud Specialist Database Administrator Microsoft Azure Fundamentals Microsoft Data Azure Fundamentals AWS Cloud Practitioner EDB Certified Associate - Postgres Advanced Server 12 EDB Certified Professional – Postgres Advanced Server 13