SlideShare una empresa de Scribd logo
1 de 51
Descargar para leer sin conexión
The Real Scoop on Migrating from
Oracle Databases

Kevin.Martyn@EnterpriseDB.com
2013-10-30
© 2013 EnterpriseDB Corporation. All rights reserved.

1
Agenda
•  Company Overview
•  What is Postgres Plus Advanced Server?
•  What do we mean by ‘Oracle Compatibility’?
•  What does this mean to you?
•  Migration Methodology
•  How to Migrate
•  Handling migration issues
•  How EnterpriseDB can help
•  Summary
•  Some common questions answered
•  Q&A
© 2013 EnterpriseDB Corporation. All rights reserved.

2
Providing enterprises with the cost-performance benefits of
Postgres by offering the products, resources, support and
dependability required for high-level commercial applications.!
• 140+ employees
• 2,500+ customers across all market segments
• Global presence with offices in North America, Europe, Asia
• Fast growing: 60%+ YOY sales growth in 2012, 80%+ YOY 2013
• Strong financial banking:

© 2013 EnterpriseDB. All rights reserved.
© 2013 EnterpriseDB Corporation. All rights reserved.

3
New Gartner ODBMS Magic Quadrant
Gartner Comments:
•  Community leadership — EnterpriseDB
is the primary contributor to the
PostgreSQL community and is responsible
for many new features of PostgreSQL,
including JSON.
•  Functionality — The functionality of
EnterpriseDB's Postgres Plus has
increased greatly, and with the Oracle
Compatibility Feature is now more than
sufficient to run both mission-critical and
non-mission-critical applications.
•  Stability and compatibility —
References specifically call out
compatibility with Oracle, the stability of the
DBMS and product support as strengths.

© 2013 EnterpriseDB Corporation. All rights reserved.

4
Agenda
•  Company Overview
•  What is Postgres Plus Advanced Server?
•  What do we mean by ‘Oracle Compatibility’?
•  What does this mean to you?
•  Migration Methodology
•  How to Migrate
•  Handling migration issues
•  How EnterpriseDB can help
•  Summary
•  Some common questions answered
•  Q&A
© 2013 EnterpriseDB Corporation. All rights reserved.

5
Postgres Plus: A Super-Set of Features
Synchronized with and contributing to the PostgreSQL community

© 2013 EnterpriseDB Corporation. All rights reserved.

6
What Is Postgres Plus Advanced Server?

u 
u 
u 
u 
u 
u 
u 

© 2013 EnterpriseDB Corporation. All rights reserved.

7

Superset of community
PostgreSQL
10th generation of Oracle
compatibility, since 2005
World-class security add-ons
Performance that rivals any other
proprietary RDBMS
Enterprise-class developer and
DBA tools
Installation, performance tuning,
and maintenance services
Software indemnification
Agenda
•  Company Overview
•  What is Postgres Plus Advanced Server?
•  What do we mean by ‘Oracle Compatibility’?
•  What does this mean to you?
•  Migration Methodology
•  How to Migrate
•  Handling migration issues
•  How EnterpriseDB can help
•  Summary
•  Some common questions answered
•  Q&A
© 2013 EnterpriseDB Corporation. All rights reserved.

8
Oracle Compatibility - Goals
•  Run applications written for Oracle virtually unchanged
•  No need to re-train Oracle DBAs and developers
•  Support for SQL, PL/SQL, OCI and Pro*C
•  Replication for easy sharing of data
•  Dramatic Cost Savings
•  No Vendor Lock-in

© 2013 EnterpriseDB Corporation. All rights reserved.

9
Compatibility means:
•  SQL extension support
−  Decode, NVL, Substr, NVL2
−  Date/time functions: add_months, extract, next_day

•  PL/SQL support
− 
− 
− 
− 
− 
− 
− 

REF Cursors, Implicit and explicit cursors
Looping, variable declarations, conditional statements
Collections: Associative Arrays, Varrays, Nested tables
Bulk binding
Named parameters
User Defined Exceptions
Explicit Transaction Control
−  within a stored procedure
−  (not supported by PostgreSQL)

© 2013 EnterpriseDB Corporation. All rights reserved.

10
Compatibility means: (cont.)
•  Features
− 
− 
− 
− 
− 
− 
− 
− 
− 
− 
− 
− 

Packages
Stored procedures
Functions
Triggers
Hints
Database Links
Hierarchical Queries
Materialized view (foundation) (*1)
Synonyms – Public and Private
Sequences
Rownum
Object types
−  Create type … as object, … as table, …as varray
−  Constructor and collection methods

−  Users/Roles
−  Dynamic SQL

© 2013 EnterpriseDB Corporation. All rights reserved.

*1 – PPAS 9.3

11
Compatibility means: (cont.)
•  Data Types
Integer, number, char, double precision,
float, varchar2, blob, clob, xmltype, rowid

•  Built-in Packages
DBMS_:
SQL, RLS, LOB, JOB, PIPE, ALERT, OUTPUT, UTILITY, PROFILER
RANDOM, LOCK, CRYPTO, SCHEDULER, MVIEW (*1)

UTL_:
FILE, MAIL, SMTP, ENCODE, TCP
HTTP, URL (*1)

REGEXP_:
INSTR, SUBSTR, COUNT (*1)

•  Oracle-like Data Dictionary
−  ALL_, DBA_, USER_ views
−  Most commonly accessed views
*1 – PPAS 9.3

© 2013 EnterpriseDB Corporation. All rights reserved.

12
Compatibility means: (cont.)
•  Diagnostics - DRITA
−  System and session waits
−  Not exposed in PostgreSQL
−  Part of Advanced Server

−  Statspack like reporting

•  Tools
−  EDB*Plus
−  EDB*Loader
−  EDB*Wrap

(SQL*Plus look-a-like)
(SQL*Loader equivalent)
(similar to the PL/SQL wrapper)

*1 – PPAS 9.3

© 2013 EnterpriseDB Corporation. All rights reserved.

13
Partitioning in PPAS v9.3
Partitioning Performance: PPAS 9.3 v. PostgreSQL 9.3 v. PPAS 9.2
PPAS 9.2

80

PostgreSQL 9.3

Improvement Factor

70

PPAS 9.3

60
50
40

76 times Faster!

30
20
10
0
250

500

1000

Number of Table Partitions

•  Oracle syntax for partitioning (create, add, exchange, split, …)
•  Postgres Plus Advanced Server is up to 76 times faster for data
retrieval than PostgreSQL 9.3 or PPAS 9.2 (Partition pruning, and inserts)
•  The greater the number partitions, the greater the performance benefits

© 2013 EnterpriseDB Corporation. All rights reserved.

14
Agenda
•  Company Overview
•  What is Postgres Plus Advanced Server?
•  What do we mean by ‘Oracle Compatibility’?
•  What does this mean to you?
•  Migration Methodology
•  How to Migrate
•  Handling migration issues
•  How EnterpriseDB can help
•  Summary
•  Some common questions answered
•  Q&A
© 2013 EnterpriseDB Corporation. All rights reserved.

15
Migration Example

© 2013 EnterpriseDB Corporation. All rights reserved.

16
Database Migration Toolkit
•  Online Migration Toolkit enables point and click migration from
Oracle
•  Automatically Migrates:
u 
u 
u 
u 
u 

Data
Schemas
Stored Procedures
Triggers
Functions

© 2013 EnterpriseDB Corporation. All rights reserved.

u 
u 
u 
u 
u 

17

Sequences
Packages
Views
Database Links
Synonyms
Oracle Compatibility & Migration Strategies
Strategy

Benefits

Develop/Deploy
New LOB Applications

§ Significant cost savings for non mission critical
systems
§ Leverages all existing Oracle skills
§ Very low risk

Deploy Postgres Plus
as Oracle
Replication Server

§ Significant cost savings
§ Leverages Postgres Plus Replication Server
§ Leverages all existing Oracle skills
§ Improves transaction and query performance

Migrate non Mission
Critical Oracle Apps to
Postgres Plus

§ Significant cost savings
§ Leverages all existing Oracle skills
§ Very low risk

Migrate Mission Critical
Oracle Apps to
Postgres Plus

§ Biggest cost savings
§ Leverages all existing Oracle skills
§ Greatest deployment flexibility

© 2013 EnterpriseDB Corporation. All rights reserved.

18
Agenda
•  Company Overview
•  What is Postgres Plus Advanced Server?
•  What do we mean by ‘Oracle Compatibility’?
•  What does this mean to you?
•  Migration Methodology
•  How to Migrate
•  Handling migration issues
•  How EnterpriseDB can help
•  Summary
•  Some common questions answered
•  Q&A
© 2013 EnterpriseDB Corporation. All rights reserved.

19
Multi-phase Migration Process
u 

Phase I – Planning
• 

Determine what application to migrate"
– 
– 
– 
– 

• 
• 

Home grown applications!
Java, C!
Packaged applications that support multiple databases!
Support JDBC, ODBC"

Once candidate applications are chosen, sign up for OMA"
Oracle Migration Assessment (OMA) Identifies:"
–  Possible migration issues!
–  Gives time estimate to migrate system"

• 

Establish migration team:"
–  Need source system knowledgeable resource!
–  Need target system knowledgeable resource"

• 

Establish project plan with milestones

© 2013 EnterpriseDB Corporation. All rights reserved.

20
Multi-phase Migration Process
•  Phase II – Prepare Environment
−  Obtain and install necessary software
−  Establish connectivity between systems
−  Copy the Oracle JDBC jar file to jre/lib/ext directory in Postgres Plus Advanced
Server Installation

•  Phase III – Migrate Schema
−  Use Migration Toolkit in schema only mode
−  Resolve issues here before going to next phase

•  Phase IV – Migrate Data
−  Use command line MTK
−  Use –copyViaDBLinkOra
− 

Uses OCI to connect to Oracle

−  Use parallel threads

−  Use dblink_ora_copy function directly to bypass logging
−  Export Oracle data to flat files, load using EDB*Loader

© 2013 EnterpriseDB Corporation. All rights reserved.

21
Multi-phase Migration Process
•  Phase V – Port Application
−  Change connection information
−  Recompile /Link application (OCI or Pro*C)

•  Phase VI – Test
− 
− 
− 
− 

Verify application functionality
Address issues
Test performance
Tune

•  Phase VII Integration
−  Establish co-existence strategy
−  Setup database links to other databases
−  Setup replication between Oracle or SQL Server and Postgres
Plus Advanced Server

•  Phase VIII – Rollout
−  System becomes production
22
© 2013 EnterpriseDB Corporation. All rights reserved.

22
Agenda
•  Company Overview
•  What is Postgres Plus Advanced Server?
•  What do we mean by ‘Oracle Compatibility’?
•  What does this mean to you?
•  Migration Methodology
•  How to Migrate
•  Handling migration issues
•  How EnterpriseDB can help
•  Summary
•  Some common questions answered
•  Q&A
© 2013 EnterpriseDB Corporation. All rights reserved.

23
Phase I Oracle Migration Assessment
Work Products
•  Detailed OMA Analysis Report

•  List of known workarounds
•  Technology risks
•  Compatibility Score
•  Proposed migration approach including skills requirements,
training, architecture support, developer subscription, and
development resources
© 2013 EnterpriseDB Corporation. All rights reserved.

24
Phase I Setup MTK Environment
•  Establish connectivity
−  Copy Oracle JDBC jar file to Postgres Plus Advanced Server install
cp /usr/lib/oracle/xe/app/oracle/product/11.2.0/server/jdbc/lib/ojdbc14.jar /opt/
PostgresPlus/9.2AS/jre/lib/ext
−  Edit the toolkit.properties file to contain Oracle and Postgres Plus Advanced
Server connection information:
SRC_DB_URL=jdbc:oracle:thin:@localhost:1521:xe
SRC_DB_USER=system
SRC_DB_PASSWORD=manager
TARGET_DB_URL=jdbc:edb://localhost:5999/demo
TARGET_DB_USER=demo
TARGET_DB_PASSWORD=manager

© 2013 EnterpriseDB Corporation. All rights reserved.

25
Phase II Oracle Migration Toolkit
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 

*** Checking for Migration Issues ***
Object Type
Type
Count
------------------------------------------------------------------------------TRIGGER
Count
0
SOURCE
Package
0
SOURCE
Syntax - Exception
0
SOURCE
Function
789
SOURCE
Syntax - Object
0
SOURCE
Syntax - Other
792
SOURCE
Syntax - Hints
282
SOURCE
Syntax - Exp Trans Ctl
730
SOURCE
Total Count
2623
COLLECTION
Count
1
VARRAY
Count
0
DIMENSION
Count
0
JOB
Count
0
MATERIALIZED VIEW
Count
0
RESOURCE MGR
Count
0
POLICY
Count
9
PROFILE
Count
6
SUMMARY
Possible Migration Issues
2775

© 2013 EnterpriseDB Corporation. All rights reserved.

26
Phase III Migrate Schema
Use MTK in schema only mode:
[enterprisedb@localhost bin]$ ./runMTK.sh -schemaOnly hr
Source database connectivity info...
conn =jdbc:oracle:thin:@localhost:1521:xe
user =system
password=******
Target database connectivity info...
conn =jdbc:edb://localhost:5999/demo
user =demo
password=******
Connecting with source Oracle database server...
Connecting with target EnterpriseDB database server...
Importing redwood schema hr...
Creating Schema...hr
Creating Object Type: NUMLIST
Creating Sequence: EMPLOYEES_SEQ
Creating Tables...
Creating Table: EMPLOYEES

© 2013 EnterpriseDB Corporation. All rights reserved.

27
Phase III Migrate Schema con’t
******************** Migration Summary ********************
Object Types: 9 out of 9
Sequences: 3 out of 3
Tables: 49 out of 53
Constraints: 39 out of 40
Procedures: 7 out of 7
Functions: 3 out of 3
Packages: 3 out of 3
Total objects: 139
Successful count: 134
Failure count: 5
List of failed objects
======================
Tables
-------------------1. HR.BFTEST
2. HR.TESTBD
3. HR.TESTBF
4. HR.TESTCNTXT

© 2013 EnterpriseDB Corporation. All rights reserved.

28
Phase III Migrate Schema con’t
•  Migration logs stored in user’s home directory :
/home/enterprisedb/.enterprisedb/migration-toolkit/logs

•  Resolve issues:
Error Creating Table TESTCNTXT:ERROR: function sys_context(unknown,
unknown) does not exist
Hint: No function matches the given name and argument types. You might need to
add explicit type casts.

CAUSE: this table used SYS_CONTEXT(‘USERENV’,’CURRENT_USER’) as a
DEFAULT value
RESOLUTION: use CURRENT_USER function instead

© 2013 EnterpriseDB Corporation. All rights reserved.

29
Phase III Migrate Schema con’t
•  Migration logs stored in user’s home directory :
•  Resolve issues:
XMLELEMENT : 35
There is a similar function in Postgres with the same name but the syntax is slightly
different.
SELECT xmlelement(name foo, xmlattributes(current_date as bar), 'cont', 'ent');
xmlelement
------------------------------------<foo bar="2007-01-26">content</foo>

© 2013 EnterpriseDB Corporation. All rights reserved.

30
Phase IV Migrate Data
•  Use MTK in data only mode:
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 

[enterprisedb@localhost bin]$ ./runMTK.sh -dataOnly hr
Source database connectivity info...
conn =jdbc:oracle:thin:@localhost:1521:xe
user =system
password=******
Target database connectivity info...
conn =jdbc:edb://localhost:5999/demo
user =demo
password=******
Connecting with source Oracle database server...
Connecting with target EnterpriseDB database server...
Importing redwood schema hr...
Loading Table Data in 8 MB batches...
Loading Table: AGES ...
[AGES] Migrated 1 rows.
[AGES] Table Data Load Summary: Total Time(s): 0.467 Total Rows: 1
Loading Table: DEPARTMENTS ...

© 2013 EnterpriseDB Corporation. All rights reserved.

31
Phase V Port the Application
§  Change Application Connection method
§  Java application =
§  Old connection syntax:
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:
1521:xe”,”hrapp”,”manager”);

§  New connection syntax:
Class.forName("com.edb.Driver");
Connection con = DriverManager.getConnection("jdbc:edb://localhost:5444/edb",
“hrapp",“manager");

© 2013 EnterpriseDB Corporation. All rights reserved.

32
Agenda
•  Company Overview
•  What is Postgres Plus Advanced Server?
•  What do we mean by ‘Oracle Compatibility’?
•  What does this mean to you?
•  Migration Methodology
•  How to Migrate
•  Handling migration issues
•  How EnterpriseDB can help
•  Summary
•  Some common questions answered
•  Q&A
© 2013 EnterpriseDB Corporation. All rights reserved.

33
Handling Issues
•  Not all migrations are error free
−  Migration log will contain all errors

•  Some common issues:
−  Column delimiter chosen is in column data
−  Causes ‘Extra data found’ error
−  Resolve by using different delimiter

•  Oracle built-in package does not exist
−  DBMS_AQ – we use solutions like ActiveMQ, MQSeries or Tibco
−  Or own code. Enqueue and dequeue procedures are fairly easy to code
−  xDB Replication Server can also be used since based on pub/sub architecture
−  DBMS_LOCK.sleep – use pg_sleep function instead

•  Oracle feature not supported
−  MERGE command not supported
−  Can be rewritten to use INSERT and UPDATE with checks

−  Index Organized Tables
−  Cluster a table using CLUSTER command for same read performance gain

© 2013 EnterpriseDB Corporation. All rights reserved.

34
Handling Issues (continued)
•  Database Links
−  Migrated over by tool but password is invalid
−  This is because Oracle hides the password
−  Resolve by dropping and recreating
−  Or by specifying a password to use when running the MTK
−  runMTK -allDBLinks LINK_NAME1=abc,LINK_NAME2=xyz HR

•  Data Movement – performance
−  Migration toolkit connects via jdbc
−  Large datasets are slow to move
−  Use database link functionality instead
−  Dblink_ora_copy – EnterpriseDB method to copy data from Oracle over OCI
−  Much faster

−  OR extract data from Oracle to csv files, load using edbldr

© 2013 EnterpriseDB Corporation. All rights reserved.

35
Tuning Recommendations
•  Use DynaTune
−  Dynamically adjusts database configuration based on available resources
−  Set via edb_dynatune parameter
−  Values 0 – 100 corresponding to % of machines to use

•  Remember to analyze database
−  Use Analyze command

•  Oracle Hints supported
−  No need to remove from embedded SQL

© 2013 EnterpriseDB Corporation. All rights reserved.

36
Agenda
•  Company Overview
•  What is Postgres Plus Advanced Server?
•  What do we mean by ‘Oracle Compatibility’?
•  What does this mean to you?
•  Migration Methodology
•  How to Migrate
•  Handling migration issues
•  How EnterpriseDB can help
•  Summary
•  Some common questions answered
•  Q&A
© 2013 EnterpriseDB Corporation. All rights reserved.

37
How EnterpriseDB Can Help

38
© 2013 EnterpriseDB Corporation. All rights reserved.

38
Oracle Migration Assessment
•  Paid for service from EnterpriseDB
•  What is it?
−  Pre-analysis interview
−  Analysis of Oracle schemas to be migrated
−  Finds possible migration issues
−  Unsupported Features
−  Unsupported Syntax
−  Implementation Differences

−  Findings documented in final report
−  Post analysis discussions to review findings

•  Migration feasibility score assigned (1 – 10)
http://www.enterprisedb.com/solutions/oracle-migration-assessment

© 2013 EnterpriseDB Corporation. All rights reserved.

39
Professional services for your migration
Assist after the OMA
•  Plan rollout
•  Migration the Schema and Stored procedures (OMF next)
•  Migrate the data (once, 2x,… minimal down time)
•  Training
•  Port and test application(s) (typically customer)
•  DBA and application coaching/support
•  Support contract
•  Remote DBA

© 2013 EnterpriseDB Corporation. All rights reserved.

40
Oracle Migration Factory Core Services
•  Customer provides data-less Oracle export of database
•  Migrate the database(s) to Postgres Plus Advanced Server
−  Resolve any issues
−  Implement workarounds for missing or different functionality
−  Perform sanity checking of unit functionality
−  Requires input/output from customer on same units in Oracle

•  Document the changes/workarounds
•  Educate Customer on changes/workarounds
−  Advise on application level changes needed

•  Return migrated databases to Customer
−  Via pg_dump

•  Customer can customize with add on options

© 2013 EnterpriseDB Corporation. All rights reserved.

41
Oracle Migration Factory Add-ons
•  Setup and Migrate test system
−  Installation of Postgres Plus Advanced Server on Customer server
−  Import of migrated database to Postgres Plus Advanced Server
−  Migration of test data from a test Oracle system

•  Application Functional Testing
−  Provide assistance in connecting application to database
−  Provide assistance in functional testing of application
−  Resolve functional testing issues

•  Performance Tuning of Migrated System
•  Production Migration Setup
−  Install Postgres Plus Advanced Server on target production server
−  Import migrated database from testing server
−  Setup of xDB Replication Server
−  Snapshot process will migrate production Oracle data
−  Deltas are captured by xDB triggers
−  Once snapshot is done, synchronization is performed

© 2013 EnterpriseDB Corporation. All rights reserved.

42
Agenda
•  Company Overview
•  What is Postgres Plus Advanced Server?
•  What do we mean by ‘Oracle Compatibility’?
•  What does this mean to you?
•  Migration Methodology
•  How to Migrate
•  Handling migration issues
•  How EnterpriseDB can help
•  Summary
•  Some common questions answered
•  Q&A
© 2013 EnterpriseDB Corporation. All rights reserved.

43
Summary
•  Migrations are no longer impossible
•  Compatibility provides
−  Lower cost of migrations
−  Shorter migration timelines
−  Lower risk (you can always go back)

•  EnterpriseDB provides
−  Oracle compatibility
−  Automated tools to migrate from Oracle
−  And others: MySQL, Sybase, SQL Server (data & schema)

•  Migration Expertise for:
− 
− 
− 
− 

Planning
Performing migration
Testing
Rollout

http://www.enterprisedb.com/solutions/oracle-compatibility

© 2013 EnterpriseDB Corporation. All rights reserved.

44
EDB Serves ALL Your Postgres Needs

PostgreSQL

© 2013 EnterpriseDB Corporation. All rights reserved.

Postgres Plus
Advanced Server

45

Postgres Plus
Cloud
Agenda
•  Company Overview
•  What is Postgres Plus Advanced Server?
•  What do we mean by ‘Oracle Compatibility’?
•  What does this mean to you?
•  Migration Methodology
•  How to Migrate
•  Handling migration issues
•  How EnterpriseDB can help
•  Summary
•  Some common questions answered
•  Q&A
© 2013 EnterpriseDB Corporation. All rights reserved.

46
Some Common
Questions
Answered

47
© 2013 EnterpriseDB Corporation. All rights reserved.

47
How can I replace RAC for HA?

§  Active/Passive Clustering is
proven technology
§  Provides fast detection and
failover
§  No extra database cost

© 2013 EnterpriseDB Corporation. All rights reserved.

48
How can I replace DataGuard(Physical)?

Postgres Plus
Advanced Server

Postgres Plus
Advanced Server

Live
Server
Instance

pg_standby	
  

WAL
Disk
Storage

© 2013 EnterpriseDB Corporation. All rights reserved.

Standby
Server
(in recovery mode)

WAL

Archiver

49

Disk
Storage
How can I replace DataGuard(Logical)?
» Uses WAL for speed and
reliability
» Highly cost effective, uses
commodity servers
» Excellent HA solution when
clustering is not an option

© 2013 EnterpriseDB Corporation. All rights reserved.

50
© 2013 EnterpriseDB Corporation. All rights reserved.

51

Más contenido relacionado

La actualidad más candente

Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014EDB
 
Hello World with EDB Postgres
Hello World with EDB PostgresHello World with EDB Postgres
Hello World with EDB PostgresEDB
 
Minimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres DeploymentMinimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres DeploymentEDB
 
Reducing the Risks of Migrating Off Oracle
Reducing the Risks of Migrating Off OracleReducing the Risks of Migrating Off Oracle
Reducing the Risks of Migrating Off OracleEDB
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLEDB
 
DevOps Culture & Enablement with Postgres Plus Cloud Database
DevOps Culture & Enablement with Postgres Plus Cloud DatabaseDevOps Culture & Enablement with Postgres Plus Cloud Database
DevOps Culture & Enablement with Postgres Plus Cloud DatabaseEDB
 
DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSEDB
 
Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5EDB
 
Oracle to Postgres Schema Migration Hustle
Oracle to Postgres Schema Migration HustleOracle to Postgres Schema Migration Hustle
Oracle to Postgres Schema Migration HustleEDB
 
Top 10 Tips for an Effective Postgres Deployment
Top 10 Tips for an Effective Postgres DeploymentTop 10 Tips for an Effective Postgres Deployment
Top 10 Tips for an Effective Postgres DeploymentEDB
 
Postgres Point-in-Time Recovery
Postgres Point-in-Time RecoveryPostgres Point-in-Time Recovery
Postgres Point-in-Time RecoveryEDB
 
NoSQL on ACID: Meet Unstructured Postgres
NoSQL on ACID: Meet Unstructured PostgresNoSQL on ACID: Meet Unstructured Postgres
NoSQL on ACID: Meet Unstructured PostgresEDB
 
EDB Postgres Platform 11 Webinar
EDB Postgres Platform 11 WebinarEDB Postgres Platform 11 Webinar
EDB Postgres Platform 11 WebinarEDB
 
Postgres Foreign Data Wrappers
Postgres Foreign Data Wrappers  Postgres Foreign Data Wrappers
Postgres Foreign Data Wrappers EDB
 
5 Advantages of EDB's RemoteDBA Services
5 Advantages of EDB's RemoteDBA Services5 Advantages of EDB's RemoteDBA Services
5 Advantages of EDB's RemoteDBA ServicesEDB
 
An Expert Guide to Migrating Legacy Databases to PostgreSQL
An Expert Guide to Migrating Legacy Databases to PostgreSQLAn Expert Guide to Migrating Legacy Databases to PostgreSQL
An Expert Guide to Migrating Legacy Databases to PostgreSQLEDB
 
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to PostgresEDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to PostgresEDB
 
Un guide complet pour la migration de bases de données héritées vers PostgreSQL
Un guide complet pour la migration de bases de données héritées vers PostgreSQLUn guide complet pour la migration de bases de données héritées vers PostgreSQL
Un guide complet pour la migration de bases de données héritées vers PostgreSQLEDB
 
Ein Expertenleitfaden für die Migration von Legacy-Datenbanken zu PostgreSQL
Ein Expertenleitfaden für die Migration von Legacy-Datenbanken zu PostgreSQLEin Expertenleitfaden für die Migration von Legacy-Datenbanken zu PostgreSQL
Ein Expertenleitfaden für die Migration von Legacy-Datenbanken zu PostgreSQLEDB
 
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...Charlie Berger
 

La actualidad más candente (20)

Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014
 
Hello World with EDB Postgres
Hello World with EDB PostgresHello World with EDB Postgres
Hello World with EDB Postgres
 
Minimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres DeploymentMinimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres Deployment
 
Reducing the Risks of Migrating Off Oracle
Reducing the Risks of Migrating Off OracleReducing the Risks of Migrating Off Oracle
Reducing the Risks of Migrating Off Oracle
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQL
 
DevOps Culture & Enablement with Postgres Plus Cloud Database
DevOps Culture & Enablement with Postgres Plus Cloud DatabaseDevOps Culture & Enablement with Postgres Plus Cloud Database
DevOps Culture & Enablement with Postgres Plus Cloud Database
 
DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWS
 
Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5
 
Oracle to Postgres Schema Migration Hustle
Oracle to Postgres Schema Migration HustleOracle to Postgres Schema Migration Hustle
Oracle to Postgres Schema Migration Hustle
 
Top 10 Tips for an Effective Postgres Deployment
Top 10 Tips for an Effective Postgres DeploymentTop 10 Tips for an Effective Postgres Deployment
Top 10 Tips for an Effective Postgres Deployment
 
Postgres Point-in-Time Recovery
Postgres Point-in-Time RecoveryPostgres Point-in-Time Recovery
Postgres Point-in-Time Recovery
 
NoSQL on ACID: Meet Unstructured Postgres
NoSQL on ACID: Meet Unstructured PostgresNoSQL on ACID: Meet Unstructured Postgres
NoSQL on ACID: Meet Unstructured Postgres
 
EDB Postgres Platform 11 Webinar
EDB Postgres Platform 11 WebinarEDB Postgres Platform 11 Webinar
EDB Postgres Platform 11 Webinar
 
Postgres Foreign Data Wrappers
Postgres Foreign Data Wrappers  Postgres Foreign Data Wrappers
Postgres Foreign Data Wrappers
 
5 Advantages of EDB's RemoteDBA Services
5 Advantages of EDB's RemoteDBA Services5 Advantages of EDB's RemoteDBA Services
5 Advantages of EDB's RemoteDBA Services
 
An Expert Guide to Migrating Legacy Databases to PostgreSQL
An Expert Guide to Migrating Legacy Databases to PostgreSQLAn Expert Guide to Migrating Legacy Databases to PostgreSQL
An Expert Guide to Migrating Legacy Databases to PostgreSQL
 
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to PostgresEDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to Postgres
 
Un guide complet pour la migration de bases de données héritées vers PostgreSQL
Un guide complet pour la migration de bases de données héritées vers PostgreSQLUn guide complet pour la migration de bases de données héritées vers PostgreSQL
Un guide complet pour la migration de bases de données héritées vers PostgreSQL
 
Ein Expertenleitfaden für die Migration von Legacy-Datenbanken zu PostgreSQL
Ein Expertenleitfaden für die Migration von Legacy-Datenbanken zu PostgreSQLEin Expertenleitfaden für die Migration von Legacy-Datenbanken zu PostgreSQL
Ein Expertenleitfaden für die Migration von Legacy-Datenbanken zu PostgreSQL
 
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...
Oracle’s Advanced Analytics & Machine Learning 12.2c New Features & Road Map;...
 

Similar a The Real Scoop on Migrating from Oracle Databases

Optimize with Open Source
Optimize with Open SourceOptimize with Open Source
Optimize with Open SourceEDB
 
Optimizing Open Source for Greater Database Savings & Control
Optimizing Open Source for Greater Database Savings & ControlOptimizing Open Source for Greater Database Savings & Control
Optimizing Open Source for Greater Database Savings & ControlEDB
 
Save money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinuxSave money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinuxEDB
 
Postgres for the Future
Postgres for the FuturePostgres for the Future
Postgres for the FutureEDB
 
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroliOptymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroliEDB
 
EPAS + Cloud = Oracle Compatible Postgres in Minutes
EPAS + Cloud = Oracle Compatible Postgres in MinutesEPAS + Cloud = Oracle Compatible Postgres in Minutes
EPAS + Cloud = Oracle Compatible Postgres in MinutesEDB
 
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...EDB
 
From Database to Strategy - Sandor Klein
From Database to Strategy - Sandor KleinFrom Database to Strategy - Sandor Klein
From Database to Strategy - Sandor KleinKangaroot
 
Postgres Enterprise Manager 4.0 Overview
Postgres Enterprise Manager 4.0 Overview Postgres Enterprise Manager 4.0 Overview
Postgres Enterprise Manager 4.0 Overview EDB
 
Optimizing Open Source for Greater Database Savings and Control
Optimizing Open Source for Greater Database Savings and ControlOptimizing Open Source for Greater Database Savings and Control
Optimizing Open Source for Greater Database Savings and ControlEDB
 
New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019EDB
 
Doing More with Postgres - Yesterday's Vision Becomes Today's Reality
Doing More with Postgres - Yesterday's Vision Becomes Today's RealityDoing More with Postgres - Yesterday's Vision Becomes Today's Reality
Doing More with Postgres - Yesterday's Vision Becomes Today's RealityEDB
 
The Central View of your Data with Postgres
The Central View of your Data with PostgresThe Central View of your Data with Postgres
The Central View of your Data with PostgresEDB
 
Enterprise-class security with PostgreSQL - 2
Enterprise-class security with PostgreSQL - 2Enterprise-class security with PostgreSQL - 2
Enterprise-class security with PostgreSQL - 2Ashnikbiz
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13EDB
 
Reducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresReducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresEDB
 
Szabaduljon ki az Oracle szorításából
Szabaduljon ki az Oracle szorításábólSzabaduljon ki az Oracle szorításából
Szabaduljon ki az Oracle szorításábólEDB
 
Expert Guide to Migrating Legacy Databases to Postgres
Expert Guide to Migrating Legacy Databases to PostgresExpert Guide to Migrating Legacy Databases to Postgres
Expert Guide to Migrating Legacy Databases to PostgresEDB
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Connor McDonald
 
Powerplay: Postgres and Lenovo for the Best Performance & Savings
Powerplay: Postgres and Lenovo for the Best Performance & SavingsPowerplay: Postgres and Lenovo for the Best Performance & Savings
Powerplay: Postgres and Lenovo for the Best Performance & SavingsEDB
 

Similar a The Real Scoop on Migrating from Oracle Databases (20)

Optimize with Open Source
Optimize with Open SourceOptimize with Open Source
Optimize with Open Source
 
Optimizing Open Source for Greater Database Savings & Control
Optimizing Open Source for Greater Database Savings & ControlOptimizing Open Source for Greater Database Savings & Control
Optimizing Open Source for Greater Database Savings & Control
 
Save money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinuxSave money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinux
 
Postgres for the Future
Postgres for the FuturePostgres for the Future
Postgres for the Future
 
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroliOptymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
 
EPAS + Cloud = Oracle Compatible Postgres in Minutes
EPAS + Cloud = Oracle Compatible Postgres in MinutesEPAS + Cloud = Oracle Compatible Postgres in Minutes
EPAS + Cloud = Oracle Compatible Postgres in Minutes
 
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
 
From Database to Strategy - Sandor Klein
From Database to Strategy - Sandor KleinFrom Database to Strategy - Sandor Klein
From Database to Strategy - Sandor Klein
 
Postgres Enterprise Manager 4.0 Overview
Postgres Enterprise Manager 4.0 Overview Postgres Enterprise Manager 4.0 Overview
Postgres Enterprise Manager 4.0 Overview
 
Optimizing Open Source for Greater Database Savings and Control
Optimizing Open Source for Greater Database Savings and ControlOptimizing Open Source for Greater Database Savings and Control
Optimizing Open Source for Greater Database Savings and Control
 
New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019
 
Doing More with Postgres - Yesterday's Vision Becomes Today's Reality
Doing More with Postgres - Yesterday's Vision Becomes Today's RealityDoing More with Postgres - Yesterday's Vision Becomes Today's Reality
Doing More with Postgres - Yesterday's Vision Becomes Today's Reality
 
The Central View of your Data with Postgres
The Central View of your Data with PostgresThe Central View of your Data with Postgres
The Central View of your Data with Postgres
 
Enterprise-class security with PostgreSQL - 2
Enterprise-class security with PostgreSQL - 2Enterprise-class security with PostgreSQL - 2
Enterprise-class security with PostgreSQL - 2
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13
 
Reducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresReducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with Postgres
 
Szabaduljon ki az Oracle szorításából
Szabaduljon ki az Oracle szorításábólSzabaduljon ki az Oracle szorításából
Szabaduljon ki az Oracle szorításából
 
Expert Guide to Migrating Legacy Databases to Postgres
Expert Guide to Migrating Legacy Databases to PostgresExpert Guide to Migrating Legacy Databases to Postgres
Expert Guide to Migrating Legacy Databases to Postgres
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2
 
Powerplay: Postgres and Lenovo for the Best Performance & Savings
Powerplay: Postgres and Lenovo for the Best Performance & SavingsPowerplay: Postgres and Lenovo for the Best Performance & Savings
Powerplay: Postgres and Lenovo for the Best Performance & Savings
 

Más de EDB

Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSEDB
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenEDB
 
Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube EDB
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EDB
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLEDB
 
Las Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLLas Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLEDB
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLEDB
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?EDB
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLEDB
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresEDB
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINEDB
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQLEDB
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!EDB
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesEDB
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoEDB
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13EDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLEDB
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJEDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLEDB
 

Más de EDB (20)

Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
 
Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQL
 
Las Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLLas Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQL
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQL
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQL
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQL
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJ
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos données
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJ
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 

Último

Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
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
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
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
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
"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
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 

Último (20)

Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
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
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
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
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
"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
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
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
 

The Real Scoop on Migrating from Oracle Databases

  • 1. The Real Scoop on Migrating from Oracle Databases Kevin.Martyn@EnterpriseDB.com 2013-10-30 © 2013 EnterpriseDB Corporation. All rights reserved. 1
  • 2. Agenda •  Company Overview •  What is Postgres Plus Advanced Server? •  What do we mean by ‘Oracle Compatibility’? •  What does this mean to you? •  Migration Methodology •  How to Migrate •  Handling migration issues •  How EnterpriseDB can help •  Summary •  Some common questions answered •  Q&A © 2013 EnterpriseDB Corporation. All rights reserved. 2
  • 3. Providing enterprises with the cost-performance benefits of Postgres by offering the products, resources, support and dependability required for high-level commercial applications.! • 140+ employees • 2,500+ customers across all market segments • Global presence with offices in North America, Europe, Asia • Fast growing: 60%+ YOY sales growth in 2012, 80%+ YOY 2013 • Strong financial banking: © 2013 EnterpriseDB. All rights reserved. © 2013 EnterpriseDB Corporation. All rights reserved. 3
  • 4. New Gartner ODBMS Magic Quadrant Gartner Comments: •  Community leadership — EnterpriseDB is the primary contributor to the PostgreSQL community and is responsible for many new features of PostgreSQL, including JSON. •  Functionality — The functionality of EnterpriseDB's Postgres Plus has increased greatly, and with the Oracle Compatibility Feature is now more than sufficient to run both mission-critical and non-mission-critical applications. •  Stability and compatibility — References specifically call out compatibility with Oracle, the stability of the DBMS and product support as strengths. © 2013 EnterpriseDB Corporation. All rights reserved. 4
  • 5. Agenda •  Company Overview •  What is Postgres Plus Advanced Server? •  What do we mean by ‘Oracle Compatibility’? •  What does this mean to you? •  Migration Methodology •  How to Migrate •  Handling migration issues •  How EnterpriseDB can help •  Summary •  Some common questions answered •  Q&A © 2013 EnterpriseDB Corporation. All rights reserved. 5
  • 6. Postgres Plus: A Super-Set of Features Synchronized with and contributing to the PostgreSQL community © 2013 EnterpriseDB Corporation. All rights reserved. 6
  • 7. What Is Postgres Plus Advanced Server? u  u  u  u  u  u  u  © 2013 EnterpriseDB Corporation. All rights reserved. 7 Superset of community PostgreSQL 10th generation of Oracle compatibility, since 2005 World-class security add-ons Performance that rivals any other proprietary RDBMS Enterprise-class developer and DBA tools Installation, performance tuning, and maintenance services Software indemnification
  • 8. Agenda •  Company Overview •  What is Postgres Plus Advanced Server? •  What do we mean by ‘Oracle Compatibility’? •  What does this mean to you? •  Migration Methodology •  How to Migrate •  Handling migration issues •  How EnterpriseDB can help •  Summary •  Some common questions answered •  Q&A © 2013 EnterpriseDB Corporation. All rights reserved. 8
  • 9. Oracle Compatibility - Goals •  Run applications written for Oracle virtually unchanged •  No need to re-train Oracle DBAs and developers •  Support for SQL, PL/SQL, OCI and Pro*C •  Replication for easy sharing of data •  Dramatic Cost Savings •  No Vendor Lock-in © 2013 EnterpriseDB Corporation. All rights reserved. 9
  • 10. Compatibility means: •  SQL extension support −  Decode, NVL, Substr, NVL2 −  Date/time functions: add_months, extract, next_day •  PL/SQL support −  −  −  −  −  −  −  REF Cursors, Implicit and explicit cursors Looping, variable declarations, conditional statements Collections: Associative Arrays, Varrays, Nested tables Bulk binding Named parameters User Defined Exceptions Explicit Transaction Control −  within a stored procedure −  (not supported by PostgreSQL) © 2013 EnterpriseDB Corporation. All rights reserved. 10
  • 11. Compatibility means: (cont.) •  Features −  −  −  −  −  −  −  −  −  −  −  −  Packages Stored procedures Functions Triggers Hints Database Links Hierarchical Queries Materialized view (foundation) (*1) Synonyms – Public and Private Sequences Rownum Object types −  Create type … as object, … as table, …as varray −  Constructor and collection methods −  Users/Roles −  Dynamic SQL © 2013 EnterpriseDB Corporation. All rights reserved. *1 – PPAS 9.3 11
  • 12. Compatibility means: (cont.) •  Data Types Integer, number, char, double precision, float, varchar2, blob, clob, xmltype, rowid •  Built-in Packages DBMS_: SQL, RLS, LOB, JOB, PIPE, ALERT, OUTPUT, UTILITY, PROFILER RANDOM, LOCK, CRYPTO, SCHEDULER, MVIEW (*1) UTL_: FILE, MAIL, SMTP, ENCODE, TCP HTTP, URL (*1) REGEXP_: INSTR, SUBSTR, COUNT (*1) •  Oracle-like Data Dictionary −  ALL_, DBA_, USER_ views −  Most commonly accessed views *1 – PPAS 9.3 © 2013 EnterpriseDB Corporation. All rights reserved. 12
  • 13. Compatibility means: (cont.) •  Diagnostics - DRITA −  System and session waits −  Not exposed in PostgreSQL −  Part of Advanced Server −  Statspack like reporting •  Tools −  EDB*Plus −  EDB*Loader −  EDB*Wrap (SQL*Plus look-a-like) (SQL*Loader equivalent) (similar to the PL/SQL wrapper) *1 – PPAS 9.3 © 2013 EnterpriseDB Corporation. All rights reserved. 13
  • 14. Partitioning in PPAS v9.3 Partitioning Performance: PPAS 9.3 v. PostgreSQL 9.3 v. PPAS 9.2 PPAS 9.2 80 PostgreSQL 9.3 Improvement Factor 70 PPAS 9.3 60 50 40 76 times Faster! 30 20 10 0 250 500 1000 Number of Table Partitions •  Oracle syntax for partitioning (create, add, exchange, split, …) •  Postgres Plus Advanced Server is up to 76 times faster for data retrieval than PostgreSQL 9.3 or PPAS 9.2 (Partition pruning, and inserts) •  The greater the number partitions, the greater the performance benefits © 2013 EnterpriseDB Corporation. All rights reserved. 14
  • 15. Agenda •  Company Overview •  What is Postgres Plus Advanced Server? •  What do we mean by ‘Oracle Compatibility’? •  What does this mean to you? •  Migration Methodology •  How to Migrate •  Handling migration issues •  How EnterpriseDB can help •  Summary •  Some common questions answered •  Q&A © 2013 EnterpriseDB Corporation. All rights reserved. 15
  • 16. Migration Example © 2013 EnterpriseDB Corporation. All rights reserved. 16
  • 17. Database Migration Toolkit •  Online Migration Toolkit enables point and click migration from Oracle •  Automatically Migrates: u  u  u  u  u  Data Schemas Stored Procedures Triggers Functions © 2013 EnterpriseDB Corporation. All rights reserved. u  u  u  u  u  17 Sequences Packages Views Database Links Synonyms
  • 18. Oracle Compatibility & Migration Strategies Strategy Benefits Develop/Deploy New LOB Applications § Significant cost savings for non mission critical systems § Leverages all existing Oracle skills § Very low risk Deploy Postgres Plus as Oracle Replication Server § Significant cost savings § Leverages Postgres Plus Replication Server § Leverages all existing Oracle skills § Improves transaction and query performance Migrate non Mission Critical Oracle Apps to Postgres Plus § Significant cost savings § Leverages all existing Oracle skills § Very low risk Migrate Mission Critical Oracle Apps to Postgres Plus § Biggest cost savings § Leverages all existing Oracle skills § Greatest deployment flexibility © 2013 EnterpriseDB Corporation. All rights reserved. 18
  • 19. Agenda •  Company Overview •  What is Postgres Plus Advanced Server? •  What do we mean by ‘Oracle Compatibility’? •  What does this mean to you? •  Migration Methodology •  How to Migrate •  Handling migration issues •  How EnterpriseDB can help •  Summary •  Some common questions answered •  Q&A © 2013 EnterpriseDB Corporation. All rights reserved. 19
  • 20. Multi-phase Migration Process u  Phase I – Planning •  Determine what application to migrate" –  –  –  –  •  •  Home grown applications! Java, C! Packaged applications that support multiple databases! Support JDBC, ODBC" Once candidate applications are chosen, sign up for OMA" Oracle Migration Assessment (OMA) Identifies:" –  Possible migration issues! –  Gives time estimate to migrate system" •  Establish migration team:" –  Need source system knowledgeable resource! –  Need target system knowledgeable resource" •  Establish project plan with milestones © 2013 EnterpriseDB Corporation. All rights reserved. 20
  • 21. Multi-phase Migration Process •  Phase II – Prepare Environment −  Obtain and install necessary software −  Establish connectivity between systems −  Copy the Oracle JDBC jar file to jre/lib/ext directory in Postgres Plus Advanced Server Installation •  Phase III – Migrate Schema −  Use Migration Toolkit in schema only mode −  Resolve issues here before going to next phase •  Phase IV – Migrate Data −  Use command line MTK −  Use –copyViaDBLinkOra −  Uses OCI to connect to Oracle −  Use parallel threads −  Use dblink_ora_copy function directly to bypass logging −  Export Oracle data to flat files, load using EDB*Loader © 2013 EnterpriseDB Corporation. All rights reserved. 21
  • 22. Multi-phase Migration Process •  Phase V – Port Application −  Change connection information −  Recompile /Link application (OCI or Pro*C) •  Phase VI – Test −  −  −  −  Verify application functionality Address issues Test performance Tune •  Phase VII Integration −  Establish co-existence strategy −  Setup database links to other databases −  Setup replication between Oracle or SQL Server and Postgres Plus Advanced Server •  Phase VIII – Rollout −  System becomes production 22 © 2013 EnterpriseDB Corporation. All rights reserved. 22
  • 23. Agenda •  Company Overview •  What is Postgres Plus Advanced Server? •  What do we mean by ‘Oracle Compatibility’? •  What does this mean to you? •  Migration Methodology •  How to Migrate •  Handling migration issues •  How EnterpriseDB can help •  Summary •  Some common questions answered •  Q&A © 2013 EnterpriseDB Corporation. All rights reserved. 23
  • 24. Phase I Oracle Migration Assessment Work Products •  Detailed OMA Analysis Report •  List of known workarounds •  Technology risks •  Compatibility Score •  Proposed migration approach including skills requirements, training, architecture support, developer subscription, and development resources © 2013 EnterpriseDB Corporation. All rights reserved. 24
  • 25. Phase I Setup MTK Environment •  Establish connectivity −  Copy Oracle JDBC jar file to Postgres Plus Advanced Server install cp /usr/lib/oracle/xe/app/oracle/product/11.2.0/server/jdbc/lib/ojdbc14.jar /opt/ PostgresPlus/9.2AS/jre/lib/ext −  Edit the toolkit.properties file to contain Oracle and Postgres Plus Advanced Server connection information: SRC_DB_URL=jdbc:oracle:thin:@localhost:1521:xe SRC_DB_USER=system SRC_DB_PASSWORD=manager TARGET_DB_URL=jdbc:edb://localhost:5999/demo TARGET_DB_USER=demo TARGET_DB_PASSWORD=manager © 2013 EnterpriseDB Corporation. All rights reserved. 25
  • 26. Phase II Oracle Migration Toolkit •  •  •  •  •  •  •  •  •  •  •  •  •  •  •  •  •  •  •  •  •  *** Checking for Migration Issues *** Object Type Type Count ------------------------------------------------------------------------------TRIGGER Count 0 SOURCE Package 0 SOURCE Syntax - Exception 0 SOURCE Function 789 SOURCE Syntax - Object 0 SOURCE Syntax - Other 792 SOURCE Syntax - Hints 282 SOURCE Syntax - Exp Trans Ctl 730 SOURCE Total Count 2623 COLLECTION Count 1 VARRAY Count 0 DIMENSION Count 0 JOB Count 0 MATERIALIZED VIEW Count 0 RESOURCE MGR Count 0 POLICY Count 9 PROFILE Count 6 SUMMARY Possible Migration Issues 2775 © 2013 EnterpriseDB Corporation. All rights reserved. 26
  • 27. Phase III Migrate Schema Use MTK in schema only mode: [enterprisedb@localhost bin]$ ./runMTK.sh -schemaOnly hr Source database connectivity info... conn =jdbc:oracle:thin:@localhost:1521:xe user =system password=****** Target database connectivity info... conn =jdbc:edb://localhost:5999/demo user =demo password=****** Connecting with source Oracle database server... Connecting with target EnterpriseDB database server... Importing redwood schema hr... Creating Schema...hr Creating Object Type: NUMLIST Creating Sequence: EMPLOYEES_SEQ Creating Tables... Creating Table: EMPLOYEES © 2013 EnterpriseDB Corporation. All rights reserved. 27
  • 28. Phase III Migrate Schema con’t ******************** Migration Summary ******************** Object Types: 9 out of 9 Sequences: 3 out of 3 Tables: 49 out of 53 Constraints: 39 out of 40 Procedures: 7 out of 7 Functions: 3 out of 3 Packages: 3 out of 3 Total objects: 139 Successful count: 134 Failure count: 5 List of failed objects ====================== Tables -------------------1. HR.BFTEST 2. HR.TESTBD 3. HR.TESTBF 4. HR.TESTCNTXT © 2013 EnterpriseDB Corporation. All rights reserved. 28
  • 29. Phase III Migrate Schema con’t •  Migration logs stored in user’s home directory : /home/enterprisedb/.enterprisedb/migration-toolkit/logs •  Resolve issues: Error Creating Table TESTCNTXT:ERROR: function sys_context(unknown, unknown) does not exist Hint: No function matches the given name and argument types. You might need to add explicit type casts. CAUSE: this table used SYS_CONTEXT(‘USERENV’,’CURRENT_USER’) as a DEFAULT value RESOLUTION: use CURRENT_USER function instead © 2013 EnterpriseDB Corporation. All rights reserved. 29
  • 30. Phase III Migrate Schema con’t •  Migration logs stored in user’s home directory : •  Resolve issues: XMLELEMENT : 35 There is a similar function in Postgres with the same name but the syntax is slightly different. SELECT xmlelement(name foo, xmlattributes(current_date as bar), 'cont', 'ent'); xmlelement ------------------------------------<foo bar="2007-01-26">content</foo> © 2013 EnterpriseDB Corporation. All rights reserved. 30
  • 31. Phase IV Migrate Data •  Use MTK in data only mode: •  •  •  •  •  •  •  •  •  •  •  •  •  •  •  •  •  [enterprisedb@localhost bin]$ ./runMTK.sh -dataOnly hr Source database connectivity info... conn =jdbc:oracle:thin:@localhost:1521:xe user =system password=****** Target database connectivity info... conn =jdbc:edb://localhost:5999/demo user =demo password=****** Connecting with source Oracle database server... Connecting with target EnterpriseDB database server... Importing redwood schema hr... Loading Table Data in 8 MB batches... Loading Table: AGES ... [AGES] Migrated 1 rows. [AGES] Table Data Load Summary: Total Time(s): 0.467 Total Rows: 1 Loading Table: DEPARTMENTS ... © 2013 EnterpriseDB Corporation. All rights reserved. 31
  • 32. Phase V Port the Application §  Change Application Connection method §  Java application = §  Old connection syntax: Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost: 1521:xe”,”hrapp”,”manager”); §  New connection syntax: Class.forName("com.edb.Driver"); Connection con = DriverManager.getConnection("jdbc:edb://localhost:5444/edb", “hrapp",“manager"); © 2013 EnterpriseDB Corporation. All rights reserved. 32
  • 33. Agenda •  Company Overview •  What is Postgres Plus Advanced Server? •  What do we mean by ‘Oracle Compatibility’? •  What does this mean to you? •  Migration Methodology •  How to Migrate •  Handling migration issues •  How EnterpriseDB can help •  Summary •  Some common questions answered •  Q&A © 2013 EnterpriseDB Corporation. All rights reserved. 33
  • 34. Handling Issues •  Not all migrations are error free −  Migration log will contain all errors •  Some common issues: −  Column delimiter chosen is in column data −  Causes ‘Extra data found’ error −  Resolve by using different delimiter •  Oracle built-in package does not exist −  DBMS_AQ – we use solutions like ActiveMQ, MQSeries or Tibco −  Or own code. Enqueue and dequeue procedures are fairly easy to code −  xDB Replication Server can also be used since based on pub/sub architecture −  DBMS_LOCK.sleep – use pg_sleep function instead •  Oracle feature not supported −  MERGE command not supported −  Can be rewritten to use INSERT and UPDATE with checks −  Index Organized Tables −  Cluster a table using CLUSTER command for same read performance gain © 2013 EnterpriseDB Corporation. All rights reserved. 34
  • 35. Handling Issues (continued) •  Database Links −  Migrated over by tool but password is invalid −  This is because Oracle hides the password −  Resolve by dropping and recreating −  Or by specifying a password to use when running the MTK −  runMTK -allDBLinks LINK_NAME1=abc,LINK_NAME2=xyz HR •  Data Movement – performance −  Migration toolkit connects via jdbc −  Large datasets are slow to move −  Use database link functionality instead −  Dblink_ora_copy – EnterpriseDB method to copy data from Oracle over OCI −  Much faster −  OR extract data from Oracle to csv files, load using edbldr © 2013 EnterpriseDB Corporation. All rights reserved. 35
  • 36. Tuning Recommendations •  Use DynaTune −  Dynamically adjusts database configuration based on available resources −  Set via edb_dynatune parameter −  Values 0 – 100 corresponding to % of machines to use •  Remember to analyze database −  Use Analyze command •  Oracle Hints supported −  No need to remove from embedded SQL © 2013 EnterpriseDB Corporation. All rights reserved. 36
  • 37. Agenda •  Company Overview •  What is Postgres Plus Advanced Server? •  What do we mean by ‘Oracle Compatibility’? •  What does this mean to you? •  Migration Methodology •  How to Migrate •  Handling migration issues •  How EnterpriseDB can help •  Summary •  Some common questions answered •  Q&A © 2013 EnterpriseDB Corporation. All rights reserved. 37
  • 38. How EnterpriseDB Can Help 38 © 2013 EnterpriseDB Corporation. All rights reserved. 38
  • 39. Oracle Migration Assessment •  Paid for service from EnterpriseDB •  What is it? −  Pre-analysis interview −  Analysis of Oracle schemas to be migrated −  Finds possible migration issues −  Unsupported Features −  Unsupported Syntax −  Implementation Differences −  Findings documented in final report −  Post analysis discussions to review findings •  Migration feasibility score assigned (1 – 10) http://www.enterprisedb.com/solutions/oracle-migration-assessment © 2013 EnterpriseDB Corporation. All rights reserved. 39
  • 40. Professional services for your migration Assist after the OMA •  Plan rollout •  Migration the Schema and Stored procedures (OMF next) •  Migrate the data (once, 2x,… minimal down time) •  Training •  Port and test application(s) (typically customer) •  DBA and application coaching/support •  Support contract •  Remote DBA © 2013 EnterpriseDB Corporation. All rights reserved. 40
  • 41. Oracle Migration Factory Core Services •  Customer provides data-less Oracle export of database •  Migrate the database(s) to Postgres Plus Advanced Server −  Resolve any issues −  Implement workarounds for missing or different functionality −  Perform sanity checking of unit functionality −  Requires input/output from customer on same units in Oracle •  Document the changes/workarounds •  Educate Customer on changes/workarounds −  Advise on application level changes needed •  Return migrated databases to Customer −  Via pg_dump •  Customer can customize with add on options © 2013 EnterpriseDB Corporation. All rights reserved. 41
  • 42. Oracle Migration Factory Add-ons •  Setup and Migrate test system −  Installation of Postgres Plus Advanced Server on Customer server −  Import of migrated database to Postgres Plus Advanced Server −  Migration of test data from a test Oracle system •  Application Functional Testing −  Provide assistance in connecting application to database −  Provide assistance in functional testing of application −  Resolve functional testing issues •  Performance Tuning of Migrated System •  Production Migration Setup −  Install Postgres Plus Advanced Server on target production server −  Import migrated database from testing server −  Setup of xDB Replication Server −  Snapshot process will migrate production Oracle data −  Deltas are captured by xDB triggers −  Once snapshot is done, synchronization is performed © 2013 EnterpriseDB Corporation. All rights reserved. 42
  • 43. Agenda •  Company Overview •  What is Postgres Plus Advanced Server? •  What do we mean by ‘Oracle Compatibility’? •  What does this mean to you? •  Migration Methodology •  How to Migrate •  Handling migration issues •  How EnterpriseDB can help •  Summary •  Some common questions answered •  Q&A © 2013 EnterpriseDB Corporation. All rights reserved. 43
  • 44. Summary •  Migrations are no longer impossible •  Compatibility provides −  Lower cost of migrations −  Shorter migration timelines −  Lower risk (you can always go back) •  EnterpriseDB provides −  Oracle compatibility −  Automated tools to migrate from Oracle −  And others: MySQL, Sybase, SQL Server (data & schema) •  Migration Expertise for: −  −  −  −  Planning Performing migration Testing Rollout http://www.enterprisedb.com/solutions/oracle-compatibility © 2013 EnterpriseDB Corporation. All rights reserved. 44
  • 45. EDB Serves ALL Your Postgres Needs PostgreSQL © 2013 EnterpriseDB Corporation. All rights reserved. Postgres Plus Advanced Server 45 Postgres Plus Cloud
  • 46. Agenda •  Company Overview •  What is Postgres Plus Advanced Server? •  What do we mean by ‘Oracle Compatibility’? •  What does this mean to you? •  Migration Methodology •  How to Migrate •  Handling migration issues •  How EnterpriseDB can help •  Summary •  Some common questions answered •  Q&A © 2013 EnterpriseDB Corporation. All rights reserved. 46
  • 47. Some Common Questions Answered 47 © 2013 EnterpriseDB Corporation. All rights reserved. 47
  • 48. How can I replace RAC for HA? §  Active/Passive Clustering is proven technology §  Provides fast detection and failover §  No extra database cost © 2013 EnterpriseDB Corporation. All rights reserved. 48
  • 49. How can I replace DataGuard(Physical)? Postgres Plus Advanced Server Postgres Plus Advanced Server Live Server Instance pg_standby   WAL Disk Storage © 2013 EnterpriseDB Corporation. All rights reserved. Standby Server (in recovery mode) WAL Archiver 49 Disk Storage
  • 50. How can I replace DataGuard(Logical)? » Uses WAL for speed and reliability » Highly cost effective, uses commodity servers » Excellent HA solution when clustering is not an option © 2013 EnterpriseDB Corporation. All rights reserved. 50
  • 51. © 2013 EnterpriseDB Corporation. All rights reserved. 51