SlideShare a Scribd company logo
1 of 48
Download to read offline
Road to Freedom:

                                     Avoiding the Pitfalls 

                                              of

                                   Oracle Migration Projects "
           Presented by "
           Craig Silveira"
           Director, WW Sales Engineering"
           EnterpriseDB Corporation"
           info@enterprisedb.com "




EnterpriseDB, Postgres Plus and Dynatune are trademarks of
EnterpriseDB Corporation. Other names may be trademarks of their   1
respective owners. © 2010. All rights reserved.
Common Pitfalls of Oracle Migration"




                   1.       Inadequate or inaccurate migration assessment
                   2.       Incomplete migration plan
                   3.       Lack of migration expertise to handle unforeseen problems
                   4.       Lack of available time & trained resources



© 2013 EnterpriseDB. Privileged and Confidential. All rights reserved.   2
Who is EnterpriseDB?"




EnterpriseDB, Postgres Plus and Dynatune are trademarks of
EnterpriseDB Corporation. Other names may be trademarks of their   3
respective owners. © 2010. All rights reserved.
u    We enable the benefits of Postgres along with the commercial
         dependability, resources and support needed for enterprise-class
         applications"
   u    Because we are a database product development company, we also
         offer:"
          u     Full product roadmap strategy!
          u     Indemnification !
          u     Deep Postgres engineering talent & resources!

   u    We are a major supporter of the PostgreSQL community"
   u    We provide a wide array of Postgres products, services, training
         and support to meet all your Postgres needs!

   © 2013 EnterpriseDB. Privileged and Confidential.
                                                       4
   "
© 2013 EnterpriseDB. All rights reserved.
   All rights reserved.
5
© 2013 EnterpriseDB. All rights reserved.       5
Common Pitfalls of Oracle Migration"




                   1.       Inadequate or inaccurate migration assessment
                   2.       Incomplete migration plan
                   3.       Lack of migration expertise to handle unforeseen problems
                   4.       Lack of available time & trained resources



© 2013 EnterpriseDB. Privileged and Confidential. All rights reserved.   6
Assessment Factors to Consider
    u    Technical:
          •  Compatibility
          •  Feature sets
    u    Human:
          •  Training
          •  Change management
    u    Operational:
          •    Testing
          •    Monitoring
          •    Management
          •    Back-up
          •    Replication
          •    Security


                                            7


© 2013 EnterpriseDB. All rights reserved.
Oracle Migration Assessment"
       1    Analyze Oracle Schema Layout:


                                            Static Analysis of Oracle Schema
                                            and database layout




       2     Review features used in Oracle client application:


                                            Static Analysis of Source Code


                                               Developer Interviews




© 2013 EnterpriseDB. All rights reserved.              8
Oracle Migration Assessment"
    3     Evaluate results along 5 axis using proven algorithms:




    4    Migration report developed:
          u  Score
                  of 1 – 10 assigned based on
            analysis of steps 1 and 2
               –  1 difficult – 10 minimal effort!
          u  Work  arounds for identified missing
              features
          u  Time estimates given in man weeks


© 2013 EnterpriseDB. All rights reserved.            9
What Does

                                             Oracle Compatibility

                                                   Mean?"




EnterpriseDB, Postgres Plus and Dynatune are trademarks of
EnterpriseDB Corporation. Other names may be trademarks of their   10
respective owners. © 2010. All rights reserved.
Oracle Compatibility Reduces Risk"




           u    Run applications written for Oracle virtually unchanged
           u    No need to re-train Oracle DBAs and developers
           u    Support for PL/SQL language and OCI interoperability
           u    Replication for easy sharing of data


© 2013 EnterpriseDB. All rights reserved.   11
What Is Postgres Plus Advanced Server?"


                                                     u    Built on the world’s most advanced
                                                           database—PostgreSQL
                                                     u    9th generation Oracle compatibility
                                                     u    World-class security add-ons
                                                     u    Performance that rivals any other
                                                           proprietary RDBMS
                                                     u    Enterprise-class developer and
                                                           DBA tools
                                   PostgreSQL        u    Installation, performance tuning,
                                                           and maintenance services
                                                     u    Software indemnification




CONFIDENTIAL
© 2012 EnterpriseDB. All rights reserved.       12
Compatibility Means:"
          u     SQL extension support
                   •  Decode, NVL, Substr, NVL2"
                   •  Date/time functions: add_months, extract, next_day "
          u     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!
          u     Tools
                   •  EDB*Plus – SQL*Plus look-a-like"
                   •  EDB*Loader – SQL*Loader equivalent"
                   •  EDB*Wrap – similar to the PL/SQL wrapper"

© 2011 EnterpriseDB. All rights reserved.
Compatibility means: (cont.)"
u    Features
      •    Packages"
      •    Stored procedures"
      •    Functions"
      •    Triggers"
      •    Hints"
      •    Database Links"
      •    Hierarchical Queries"
      •    Synonyms – Public and Private"
      •    Sequences"
      •    Rownum"
      •    Object types "
            –    Create type … as object!
            –    Create type … as table!
            –    Create type …as varray!
            –    Constructor and collection methods!
      •  Users/Roles"
      •  Dynamic SQL"
      "
Compatibility (cont.)"
u    Data Types
       •  Integer, number, char, double precision, float, varchar2, blob, clob, xmltype,
          rowid"
u    Built-in Packages
       •  DBMS_:"
            –  SQL, LOB, JOB, PIPE, ALERT, OUTPUT, UTILITY, PROFILER!
       •  UTL_:"
            –  FILE, MAIL, SMTP, ENCODE, TCP!
u    Oracle-like Data Dictionary
       •  ALL_, DBA_, USER_ views"
       •  Most commonly accessed views"
u    Diagnostics - DRITA
       •  System and session waits"
            –  Not exposed in PostgreSQL !
            –  Part of Advanced Server!
       •  Statspack-like reporting"
Database Migration Toolkit                                  ""
          u     Online Migration Toolkit enables point and click migration from
                 Oracle
          u     Automatically Migrates:

                         u      Data                     u    Sequences
                         u      Schemas                  u    Packages
                         u      Stored Procedures        u    Views
                         u      Triggers                 u    Database Links
                         u      Functions                u    Synonyms




© 2011 EnterpriseDB. All rights reserved.            16
Ease of Migration"




© 2013 EnterpriseDB. All rights reserved.   17
What Does

                                                            This 

                                                         Mean to You?"




EnterpriseDB, Postgres Plus and Dynatune are trademarks of
EnterpriseDB Corporation. Other names may be trademarks of their   18
respective owners. © 2010. All rights reserved.
Oracle Compatibility & Migration Strategies"
                       Strategy                           Benefits
                                       § Significant cost savings for non mission critical
               Develop/Deploy             systems
             New LOB Applications      § Leverages all existing Oracle skills
                                       § Very low risk
                                       § Significant cost savings
             Deploy Postgres Plus
                                       § Leverages Postgres Plus Replication Server
                  as Oracle            § Leverages all existing Oracle skills
              Replication Server
                                       § Improves transaction and query performance

              Migrate non Mission      § Significant cost savings
             Critical Oracle Apps to   § Leverages all existing Oracle skills
                  Postgres Plus        § Very low risk

            Migrate Mission Critical   § Biggest cost savings
                Oracle Apps to         § Leverages all existing Oracle skills
                Postgres Plus          § Greatest deployment flexibility


© 2009 EnterpriseDB Corporation
Applications built on PostgreSQL"




© 2013 EnterpriseDB. All rights reserved.   20
Migration Example"




© 2011 EnterpriseDB. All rights reserved.   21
Common Pitfalls of Oracle Migration"




                   1.       Inadequate or inaccurate migration assessment
                   2.       Incomplete migration plan
                   3.       Lack of migration expertise to handle unforeseen problems
                   4.       Lack of available time & trained resources



© 2013 EnterpriseDB. Privileged and Confidential. All rights reserved.   22
Migration Methodology"




EnterpriseDB, Postgres Plus and Dynatune are trademarks of
EnterpriseDB Corporation. Other names may be trademarks of their   23
respective owners. © 2010. All rights reserved.
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"




© 2011 EnterpriseDB. All rights reserved.
Multi-phase Migration Process"
          u     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!
          u     Phase III – Migrate Schema
                   •  Use Migration Toolkit in schema only mode"
                   •  Resolve issues here before going to next phase"
          u     Phase IV – Migrate Data
                   •  Use Parallel streams in Migration Studio"
                   •  OR Use command line MTK"
                            –  Use –copyViaDBLinkOra!
                            –  Uses OCI to connect to Oracle!
                   •  Use dblink_ora_copy function directly to bypass logging"
                   •  Export Oracle data to flat files, load using EDB*Loader"




© 2011 EnterpriseDB. All rights reserved.                       25
Multi-phase Migration Process"
          u     Phase V – Port Application
                   •  Change connection information"
                   •  Recompile /Link application (OCI or Pro*C)"
          u     Phase VI – Test
                   •     Verify application functionality"
                   •     Address issues"
                   •     Test performance "
                   •     Tune"
          u     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 "
          u     Phase VIII – Rollout
                   •  System becomes production "



© 2011 EnterpriseDB. All rights reserved.                    26
How to Migrate:

                                          A Step by Step Guide"




EnterpriseDB, Postgres Plus and Dynatune are trademarks of
EnterpriseDB Corporation. Other names may be trademarks of their   27
respective owners. © 2010. All rights reserved.
Phase I Oracle Migration Assessment"
          u     *** Checking for Migration Issues ***
          u                   Object Type                Type                         Count
          u      ----------------------------------------------------------------------------------
          u                 TRIGGER                      Count                       0
          u                  SOURCE                      Package                        0
          u                   SOURCE                      Syntax - Exception                 0
          u                   SOURCE                      Function                      789
          u                   SOURCE                      Syntax - Object                  0
          u                   SOURCE                      Syntax - Other                   792
          u                   SOURCE                      Syntax - Hints                  282
          u                   SOURCE                      Syntax - Exp Trans Ctl               730
          u                   SOURCE                      Total Count                     2623
          u                   COLLECTION                     Count                        1
          u                   VARRAY                      Count                        0
          u                   DIMENSION                     Count                        0
          u                   JOB                     Count                        0
          u                   MATERIALIZED VIEW                    Count                       0
          u                   RESOURCE MGR                       Count                        0
          u                   POLICY                    Count                        9
          u                   PROFILE                    Count                        6
          u                   SUMMARY                       Possible Migration Issues 2775




© 2011 EnterpriseDB. All rights reserved.                                      28
Phase II Setup Environment"
          u     Establish connectivity
                   •  Copy Oracle JDBC jar file to Postgres Plus Advanced Server install"

                   cp /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/jdbc/lib/ojdbc14.jar /opt/
                      PostgresPlus/9.0AS/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=mgr"
                   "
                   TARGET_DB_URL=jdbc:edb://localhost:5999/demo"
                   TARGET_DB_USER=demo"
                   TARGET_DB_PASSWORD=mgr"
                   "

© 2011 EnterpriseDB. All rights reserved.               29
Phase III Migrate Schema"
          u     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



© 2011 EnterpriseDB. All rights reserved.         30
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


© 2011 EnterpriseDB. All rights reserved.                  31
Phase III Migrate Schema con’t"
          u     Migration logs stored in user’s home directory :
                   /home/enterprisedb/.enterprisedb/migration-toolkit/logs"
          u  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




© 2011 EnterpriseDB. All rights reserved.              32
Phase IV Migrate Data"
          u     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 ...



© 2011 EnterpriseDB. All rights reserved.            33
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”,”scott”,”tiger”);

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

© 2011 EnterpriseDB. All rights reserved.
Common Pitfalls of Oracle Migration"




                   1.       Inadequate or inaccurate migration assessment
                   2.       Incomplete migration plan
                   3.       Lack of migration expertise to handle unforeseen problems
                   4.       Lack of available time & trained resources



© 2013 EnterpriseDB. Privileged and Confidential. All rights reserved.   35
Handling Issues"




EnterpriseDB, Postgres Plus and Dynatune are trademarks of
EnterpriseDB Corporation. Other names may be trademarks of their   36
respective owners. © 2010. All rights reserved.
Handling Issues"
          u     Not all migrations are error free
                   •  Migration log will contain all errors"
          u     Some common issues:
                   •  Column delimiter chosen is in column data"
                            –  Causes ‘Extra data found’ error!
                            –  Resolve by using different delimiter!
          u     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_RANDOM – use random function instead!
                            –    DBMS_LOCK.sleep – use pg_sleep function instead!
          u     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!


© 2011 EnterpriseDB. All rights reserved.                       37
Handling Issues (continued)"
     u  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

     u  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, the load using edbldr"

              "
              "


© 2011 EnterpriseDB. All rights reserved.
Tuning Recommendations"
          u     Use DynaTune
                   •  Dynamically adjusts database configuration based on available resources"
                   •  Set via edb_dynatune parameter"
                            –  Values 0 – 100 corresponding to % of machines to use!


          u     Remember to analyze database
                   •  Use Analyze command"


          u     Oracle Hints supported
                   •  No need to remove from embedded SQL"




© 2011 EnterpriseDB. All rights reserved.                     39
Common Pitfalls of Oracle Migration"




                   1.       Inadequate or inaccurate migration assessment
                   2.       Incomplete migration plan
                   3.       Lack of migration expertise to handle unforeseen problems
                   4.       Lack of available time & trained resources



© 2013 EnterpriseDB. Privileged and Confidential. All rights reserved.   40
How EnterpriseDB Can Help"




EnterpriseDB, Postgres Plus and Dynatune are trademarks of
EnterpriseDB Corporation. Other names may be trademarks of their   41
respective owners. © 2010. All rights reserved.
EnterpriseDB Resources & Assistance"

              RESOURCES
               EFFORT/                                                                                                    ROI




                                                                                                                            TIME


                                 INVESTIGATION                 VALIDATION          MIGRATION/                 PRODUCTION
                                                                                 DEVELOPMENT

                                                                                •  Best-Practices?      •    Support?
                          •    PGSQL capabilities?
                                                          •    Performance?     •  Risk mitigation?     •    Staff augmentation?
                          •    Feature mapping?
 Customer                                                 •    Compatibility?   •  Migration            •    Training?
                          •    TCO/ROI?
 Challenges                                               •    Security?           assistance?          •    Replication?
                          •    EDB capabilities?
                                                          •    Cost?            •  Tech resources?      •    Monitoring?
                          •    Product Road-map?
                                                                                •  DBA Skills?          •    Indemnification?

                          •  Opportunity Analysis         •  Migration                                  •    Product Support
                                                                                •  Enterprise
                             Workshop                        Assessment Test                            •    Remote DBA
                                                                                   Enablement
 EnterpriseDB             •  Architectural health check   •  Performance                                •    Training
                                                                                •  Oracle
 Resources                •  White papers                    benchmarking                               •    Enterprise Manager
                                                                                   compatibility
                          •  Analyst reports              •  References                                 •    xDB Single/Multi-
                                                                                •  Migration planning
                          •  Webinars                     •  Case Studies                                    master replication

© 2013 EnterpriseDB. All rights reserved.                               42
Enterprise Enablement Services"
     Goals
     •     Reduce time to value
     •     Reduce risk
     •     Contain cost
     •     Enable self-sufficiency
                                                                                           Knowledge
     •     Ensure success                                                                   Transfer

                                                                              On-demand
                                               Training                        Access to
                                                                                Experts

                                                             Configuration
                                                             Best Practices


                                             Architecture                                              Remote DBA
                                            Best Practices                                               Services

                                                              Developer
                                                              Support &
                                                              Break Fix




© 2013 EnterpriseDB. All rights reserved.                       43
Oracle Migration Assessment"
          u     Paid for service from EnterpriseDB
          u     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 with possible workarounds in final report"
                   •  Post analysis discussions to review findings"
          u     Migration feasibility score assigned (1 – 10)




                           http:www.enterprisedb.com/solutions/oramig.do

© 2011 EnterpriseDB. All rights reserved.                    44
Oracle Migration Factory Core Services"
          u     Customer provides data-less Oracle export of database
          u     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!

          u     Document the changes/workarounds
          u     Educate Customer on changes/workarounds
                   •  Advise on application level changes needed"
          u     Return migrated databases to Customer
                   •  Via pg_dump"


          u     Customer can customize with add on options




© 2011 EnterpriseDB. All rights reserved.                     45
Oracle Migration Factory Add-ons"
          u     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"
          u     Application Functional Testing
                   •  Provide assistance in connecting application to database"
                   •  Provide assistance in functional testing of application"
                   •  Resolve functional testing issues"
          u     Performance Tuning of Migrated System
          u     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!


© 2011 EnterpriseDB. All rights reserved.                      46
Summary"
          u     Migrations are no longer impossible
          u     Compatibility provides
                   •  Lower cost of migrations"
                   •  Shorter migration timelines"
                   •  Lower risk (you can always go back)"
          u     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!
                            !



                            !
                            !
© 2011 EnterpriseDB. All rights reserved.                   47
EnterpriseDB Resources"
                "
        u    EnterpriseDB on-demand training
                •  http://www.enterprisedb.com/store/products/dba-training "


        u    Resources & Community
                •  Whitepapers, datasheets, podcasts, videos, community!
                •  http://www.enterprisedb.com/resources-community "


        u    Questions about Postgres products, support and services
                •  sales@enterprisedb.com or info@enterprisedb.com "


        u    Follow us on Twitter, Facebook & LinkedIn for daily updates
                •  Twitter: @EnterpriseDB "
                •  Facebook: https://www.facebook.com/EnterpriseDB"
                •  LinkedIn: EnterpriseDB: The Enterprise Postgres Company "
                "


@2013 EnterpriseDB. All Rights Reserved.

More Related Content

What's hot

Json and Jsonpath in Postgres 12
Json and Jsonpath in Postgres 12Json and Jsonpath in Postgres 12
Json and Jsonpath in Postgres 12EDB
 
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)Gabriele Bartolini
 
Active/Active Database Solutions with Log Based Replication in xDB 6.0
Active/Active Database Solutions with Log Based Replication in xDB 6.0Active/Active Database Solutions with Log Based Replication in xDB 6.0
Active/Active Database Solutions with Log Based Replication in xDB 6.0EDB
 
[EPPG] Oracle to PostgreSQL, Challenges to Opportunity
[EPPG] Oracle to PostgreSQL, Challenges to Opportunity[EPPG] Oracle to PostgreSQL, Challenges to Opportunity
[EPPG] Oracle to PostgreSQL, Challenges to OpportunityEqunix Business Solutions
 
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...EDB
 
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database ServicePostgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database ServiceEDB
 
Hello World with EDB Postgres
Hello World with EDB PostgresHello World with EDB Postgres
Hello World with EDB PostgresEDB
 
Which Postgres is Right for You?
Which Postgres is Right for You? Which Postgres is Right for You?
Which Postgres is Right for You? EDB
 
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
 
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 DatabaseeProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 DatabaseMarco Gralike
 
Oracle Migration to Postgres in the Cloud
Oracle Migration to Postgres in the CloudOracle Migration to Postgres in the Cloud
Oracle Migration to Postgres in the CloudEDB
 
Which Postgres is Right for You? - Part 2
Which Postgres is Right for You? - Part 2Which Postgres is Right for You? - Part 2
Which Postgres is Right for You? - Part 2EDB
 
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 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
 
Migration from Oracle to PostgreSQL: NEED vs REALITY
Migration from Oracle to PostgreSQL: NEED vs REALITYMigration from Oracle to PostgreSQL: NEED vs REALITY
Migration from Oracle to PostgreSQL: NEED vs REALITYAshnikbiz
 
PayPal Big Data and MySQL Cluster
PayPal Big Data and MySQL ClusterPayPal Big Data and MySQL Cluster
PayPal Big Data and MySQL ClusterMat Keep
 
Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014EDB
 
Minimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres DeploymentMinimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres DeploymentEDB
 
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
 
DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSEDB
 

What's hot (20)

Json and Jsonpath in Postgres 12
Json and Jsonpath in Postgres 12Json and Jsonpath in Postgres 12
Json and Jsonpath in Postgres 12
 
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
 
Active/Active Database Solutions with Log Based Replication in xDB 6.0
Active/Active Database Solutions with Log Based Replication in xDB 6.0Active/Active Database Solutions with Log Based Replication in xDB 6.0
Active/Active Database Solutions with Log Based Replication in xDB 6.0
 
[EPPG] Oracle to PostgreSQL, Challenges to Opportunity
[EPPG] Oracle to PostgreSQL, Challenges to Opportunity[EPPG] Oracle to PostgreSQL, Challenges to Opportunity
[EPPG] Oracle to PostgreSQL, Challenges to Opportunity
 
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
 
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database ServicePostgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
 
Hello World with EDB Postgres
Hello World with EDB PostgresHello World with EDB Postgres
Hello World with EDB Postgres
 
Which Postgres is Right for You?
Which Postgres is Right for You? Which Postgres is Right for You?
Which Postgres is Right for You?
 
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
 
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 DatabaseeProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
 
Oracle Migration to Postgres in the Cloud
Oracle Migration to Postgres in the CloudOracle Migration to Postgres in the Cloud
Oracle Migration to Postgres in the Cloud
 
Which Postgres is Right for You? - Part 2
Which Postgres is Right for You? - Part 2Which Postgres is Right for You? - Part 2
Which Postgres is Right for You? - Part 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 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
 
Migration from Oracle to PostgreSQL: NEED vs REALITY
Migration from Oracle to PostgreSQL: NEED vs REALITYMigration from Oracle to PostgreSQL: NEED vs REALITY
Migration from Oracle to PostgreSQL: NEED vs REALITY
 
PayPal Big Data and MySQL Cluster
PayPal Big Data and MySQL ClusterPayPal Big Data and MySQL Cluster
PayPal Big Data and MySQL Cluster
 
Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014
 
Minimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres DeploymentMinimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres Deployment
 
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
 
DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWS
 

Similar to Avoiding.the.pitfallsof.oracle.migration.2013

Reducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresReducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresEDB
 
Which postgres is_right_for_me_20130517
Which postgres is_right_for_me_20130517Which postgres is_right_for_me_20130517
Which postgres is_right_for_me_20130517EDB
 
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA -   UKOUGEmbracing Database Diversity: The New Oracle / MySQL DBA -   UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUGKeith Hollman
 
Java EE microservices architecture - evolving the monolith
Java EE microservices architecture - evolving the monolithJava EE microservices architecture - evolving the monolith
Java EE microservices architecture - evolving the monolithMarkus Eisele
 
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...MySQL JSON Document Store - A Document Store with all the benefits of a Trans...
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...Olivier DASINI
 
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
 
RDF Graph Data Management in Oracle Database and NoSQL Platforms
RDF Graph Data Management in Oracle Database and NoSQL PlatformsRDF Graph Data Management in Oracle Database and NoSQL Platforms
RDF Graph Data Management in Oracle Database and NoSQL PlatformsGraph-TA
 
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
 
Reducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresReducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresEDB
 
Oracle RAD stack REST, APEX, Database
Oracle RAD stack REST, APEX, DatabaseOracle RAD stack REST, APEX, Database
Oracle RAD stack REST, APEX, DatabaseMichael Hichwa
 
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...Lucas Jellema
 
Oracle Advanced Analytics
Oracle Advanced AnalyticsOracle Advanced Analytics
Oracle Advanced Analyticsaghosh_us
 
Whats new in_postgres_enterprise_db_20130124
Whats new in_postgres_enterprise_db_20130124Whats new in_postgres_enterprise_db_20130124
Whats new in_postgres_enterprise_db_20130124EDB
 
Optimize with Open Source
Optimize with Open SourceOptimize with Open Source
Optimize with Open SourceEDB
 
Инструменты программиста
Инструменты программистаИнструменты программиста
Инструменты программистаAndrew Fadeev
 
Oracle 10g sql fundamentals i
Oracle 10g sql fundamentals iOracle 10g sql fundamentals i
Oracle 10g sql fundamentals iManaswi Sharma
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Fran Navarro
 
Extending The Value Of Oracle Crm On Demand Through Cloud Based Extensibility
Extending The Value Of Oracle Crm On Demand Through Cloud Based ExtensibilityExtending The Value Of Oracle Crm On Demand Through Cloud Based Extensibility
Extending The Value Of Oracle Crm On Demand Through Cloud Based ExtensibilityJerome Leonard
 

Similar to Avoiding.the.pitfallsof.oracle.migration.2013 (20)

Reducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresReducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with Postgres
 
Which postgres is_right_for_me_20130517
Which postgres is_right_for_me_20130517Which postgres is_right_for_me_20130517
Which postgres is_right_for_me_20130517
 
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA -   UKOUGEmbracing Database Diversity: The New Oracle / MySQL DBA -   UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
 
Java EE microservices architecture - evolving the monolith
Java EE microservices architecture - evolving the monolithJava EE microservices architecture - evolving the monolith
Java EE microservices architecture - evolving the monolith
 
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...MySQL JSON Document Store - A Document Store with all the benefits of a Trans...
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...
 
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
 
PostgreSQL and MySQL
PostgreSQL and MySQLPostgreSQL and MySQL
PostgreSQL and MySQL
 
RDF Graph Data Management in Oracle Database and NoSQL Platforms
RDF Graph Data Management in Oracle Database and NoSQL PlatformsRDF Graph Data Management in Oracle Database and NoSQL Platforms
RDF Graph Data Management in Oracle Database and NoSQL Platforms
 
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
 
Reducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresReducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with Postgres
 
Oracle RAD stack REST, APEX, Database
Oracle RAD stack REST, APEX, DatabaseOracle RAD stack REST, APEX, Database
Oracle RAD stack REST, APEX, Database
 
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
 
Oracle Advanced Analytics
Oracle Advanced AnalyticsOracle Advanced Analytics
Oracle Advanced Analytics
 
Whats new in_postgres_enterprise_db_20130124
Whats new in_postgres_enterprise_db_20130124Whats new in_postgres_enterprise_db_20130124
Whats new in_postgres_enterprise_db_20130124
 
Apex ace update
Apex ace updateApex ace update
Apex ace update
 
Optimize with Open Source
Optimize with Open SourceOptimize with Open Source
Optimize with Open Source
 
Инструменты программиста
Инструменты программистаИнструменты программиста
Инструменты программиста
 
Oracle 10g sql fundamentals i
Oracle 10g sql fundamentals iOracle 10g sql fundamentals i
Oracle 10g sql fundamentals i
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster
 
Extending The Value Of Oracle Crm On Demand Through Cloud Based Extensibility
Extending The Value Of Oracle Crm On Demand Through Cloud Based ExtensibilityExtending The Value Of Oracle Crm On Demand Through Cloud Based Extensibility
Extending The Value Of Oracle Crm On Demand Through Cloud Based Extensibility
 

More from 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
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to 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
 
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
 

More from 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
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to 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
 
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
 

Recently uploaded

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
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
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
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
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
 
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
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 
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
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
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
 
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
 
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
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
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
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

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
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
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
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
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
 
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
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
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
 
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
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
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
 
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
 
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
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
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
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 

Avoiding.the.pitfallsof.oracle.migration.2013

  • 1. Road to Freedom:
 Avoiding the Pitfalls 
 of
 Oracle Migration Projects " Presented by " Craig Silveira" Director, WW Sales Engineering" EnterpriseDB Corporation" info@enterprisedb.com " EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their 1 respective owners. © 2010. All rights reserved.
  • 2. Common Pitfalls of Oracle Migration" 1.  Inadequate or inaccurate migration assessment 2.  Incomplete migration plan 3.  Lack of migration expertise to handle unforeseen problems 4.  Lack of available time & trained resources © 2013 EnterpriseDB. Privileged and Confidential. All rights reserved. 2
  • 3. Who is EnterpriseDB?" EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their 3 respective owners. © 2010. All rights reserved.
  • 4. u  We enable the benefits of Postgres along with the commercial dependability, resources and support needed for enterprise-class applications" u  Because we are a database product development company, we also offer:" u  Full product roadmap strategy! u  Indemnification ! u  Deep Postgres engineering talent & resources! u  We are a major supporter of the PostgreSQL community" u  We provide a wide array of Postgres products, services, training and support to meet all your Postgres needs! © 2013 EnterpriseDB. Privileged and Confidential. 4 " © 2013 EnterpriseDB. All rights reserved. All rights reserved.
  • 5. 5 © 2013 EnterpriseDB. All rights reserved. 5
  • 6. Common Pitfalls of Oracle Migration" 1.  Inadequate or inaccurate migration assessment 2.  Incomplete migration plan 3.  Lack of migration expertise to handle unforeseen problems 4.  Lack of available time & trained resources © 2013 EnterpriseDB. Privileged and Confidential. All rights reserved. 6
  • 7. Assessment Factors to Consider u  Technical: •  Compatibility •  Feature sets u  Human: •  Training •  Change management u  Operational: •  Testing •  Monitoring •  Management •  Back-up •  Replication •  Security 7 © 2013 EnterpriseDB. All rights reserved.
  • 8. Oracle Migration Assessment" 1 Analyze Oracle Schema Layout: Static Analysis of Oracle Schema and database layout 2 Review features used in Oracle client application: Static Analysis of Source Code Developer Interviews © 2013 EnterpriseDB. All rights reserved. 8
  • 9. Oracle Migration Assessment" 3 Evaluate results along 5 axis using proven algorithms: 4 Migration report developed: u  Score of 1 – 10 assigned based on analysis of steps 1 and 2 –  1 difficult – 10 minimal effort! u  Work arounds for identified missing features u  Time estimates given in man weeks © 2013 EnterpriseDB. All rights reserved. 9
  • 10. What Does
 Oracle Compatibility
 Mean?" EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their 10 respective owners. © 2010. All rights reserved.
  • 11. Oracle Compatibility Reduces Risk" u  Run applications written for Oracle virtually unchanged u  No need to re-train Oracle DBAs and developers u  Support for PL/SQL language and OCI interoperability u  Replication for easy sharing of data © 2013 EnterpriseDB. All rights reserved. 11
  • 12. What Is Postgres Plus Advanced Server?" u  Built on the world’s most advanced database—PostgreSQL u  9th generation Oracle compatibility u  World-class security add-ons u  Performance that rivals any other proprietary RDBMS u  Enterprise-class developer and DBA tools PostgreSQL u  Installation, performance tuning, and maintenance services u  Software indemnification CONFIDENTIAL © 2012 EnterpriseDB. All rights reserved. 12
  • 13. Compatibility Means:" u  SQL extension support •  Decode, NVL, Substr, NVL2" •  Date/time functions: add_months, extract, next_day " u  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! u  Tools •  EDB*Plus – SQL*Plus look-a-like" •  EDB*Loader – SQL*Loader equivalent" •  EDB*Wrap – similar to the PL/SQL wrapper" © 2011 EnterpriseDB. All rights reserved.
  • 14. Compatibility means: (cont.)" u  Features •  Packages" •  Stored procedures" •  Functions" •  Triggers" •  Hints" •  Database Links" •  Hierarchical Queries" •  Synonyms – Public and Private" •  Sequences" •  Rownum" •  Object types " –  Create type … as object! –  Create type … as table! –  Create type …as varray! –  Constructor and collection methods! •  Users/Roles" •  Dynamic SQL" "
  • 15. Compatibility (cont.)" u  Data Types •  Integer, number, char, double precision, float, varchar2, blob, clob, xmltype, rowid" u  Built-in Packages •  DBMS_:" –  SQL, LOB, JOB, PIPE, ALERT, OUTPUT, UTILITY, PROFILER! •  UTL_:" –  FILE, MAIL, SMTP, ENCODE, TCP! u  Oracle-like Data Dictionary •  ALL_, DBA_, USER_ views" •  Most commonly accessed views" u  Diagnostics - DRITA •  System and session waits" –  Not exposed in PostgreSQL ! –  Part of Advanced Server! •  Statspack-like reporting"
  • 16. Database Migration Toolkit "" u  Online Migration Toolkit enables point and click migration from Oracle u  Automatically Migrates: u  Data u  Sequences u  Schemas u  Packages u  Stored Procedures u  Views u  Triggers u  Database Links u  Functions u  Synonyms © 2011 EnterpriseDB. All rights reserved. 16
  • 17. Ease of Migration" © 2013 EnterpriseDB. All rights reserved. 17
  • 18. What Does
 This 
 Mean to You?" EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their 18 respective owners. © 2010. All rights reserved.
  • 19. Oracle Compatibility & Migration Strategies" Strategy Benefits § Significant cost savings for non mission critical Develop/Deploy systems New LOB Applications § Leverages all existing Oracle skills § Very low risk § Significant cost savings Deploy Postgres Plus § Leverages Postgres Plus Replication Server as Oracle § Leverages all existing Oracle skills Replication Server § Improves transaction and query performance Migrate non Mission § Significant cost savings Critical Oracle Apps to § Leverages all existing Oracle skills Postgres Plus § Very low risk Migrate Mission Critical § Biggest cost savings Oracle Apps to § Leverages all existing Oracle skills Postgres Plus § Greatest deployment flexibility © 2009 EnterpriseDB Corporation
  • 20. Applications built on PostgreSQL" © 2013 EnterpriseDB. All rights reserved. 20
  • 21. Migration Example" © 2011 EnterpriseDB. All rights reserved. 21
  • 22. Common Pitfalls of Oracle Migration" 1.  Inadequate or inaccurate migration assessment 2.  Incomplete migration plan 3.  Lack of migration expertise to handle unforeseen problems 4.  Lack of available time & trained resources © 2013 EnterpriseDB. Privileged and Confidential. All rights reserved. 22
  • 23. Migration Methodology" EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their 23 respective owners. © 2010. All rights reserved.
  • 24. 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" © 2011 EnterpriseDB. All rights reserved.
  • 25. Multi-phase Migration Process" u  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! u  Phase III – Migrate Schema •  Use Migration Toolkit in schema only mode" •  Resolve issues here before going to next phase" u  Phase IV – Migrate Data •  Use Parallel streams in Migration Studio" •  OR Use command line MTK" –  Use –copyViaDBLinkOra! –  Uses OCI to connect to Oracle! •  Use dblink_ora_copy function directly to bypass logging" •  Export Oracle data to flat files, load using EDB*Loader" © 2011 EnterpriseDB. All rights reserved. 25
  • 26. Multi-phase Migration Process" u  Phase V – Port Application •  Change connection information" •  Recompile /Link application (OCI or Pro*C)" u  Phase VI – Test •  Verify application functionality" •  Address issues" •  Test performance " •  Tune" u  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 " u  Phase VIII – Rollout •  System becomes production " © 2011 EnterpriseDB. All rights reserved. 26
  • 27. How to Migrate:
 A Step by Step Guide" EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their 27 respective owners. © 2010. All rights reserved.
  • 28. Phase I Oracle Migration Assessment" u  *** Checking for Migration Issues *** u  Object Type Type Count u  ---------------------------------------------------------------------------------- u  TRIGGER Count 0 u  SOURCE Package 0 u  SOURCE Syntax - Exception 0 u  SOURCE Function 789 u  SOURCE Syntax - Object 0 u  SOURCE Syntax - Other 792 u  SOURCE Syntax - Hints 282 u  SOURCE Syntax - Exp Trans Ctl 730 u  SOURCE Total Count 2623 u  COLLECTION Count 1 u  VARRAY Count 0 u  DIMENSION Count 0 u  JOB Count 0 u  MATERIALIZED VIEW Count 0 u  RESOURCE MGR Count 0 u  POLICY Count 9 u  PROFILE Count 6 u  SUMMARY Possible Migration Issues 2775 © 2011 EnterpriseDB. All rights reserved. 28
  • 29. Phase II Setup Environment" u  Establish connectivity •  Copy Oracle JDBC jar file to Postgres Plus Advanced Server install" cp /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/jdbc/lib/ojdbc14.jar /opt/ PostgresPlus/9.0AS/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=mgr" " TARGET_DB_URL=jdbc:edb://localhost:5999/demo" TARGET_DB_USER=demo" TARGET_DB_PASSWORD=mgr" " © 2011 EnterpriseDB. All rights reserved. 29
  • 30. Phase III Migrate Schema" u  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 © 2011 EnterpriseDB. All rights reserved. 30
  • 31. 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 © 2011 EnterpriseDB. All rights reserved. 31
  • 32. Phase III Migrate Schema con’t" u  Migration logs stored in user’s home directory : /home/enterprisedb/.enterprisedb/migration-toolkit/logs" u  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 © 2011 EnterpriseDB. All rights reserved. 32
  • 33. Phase IV Migrate Data" u  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 ... © 2011 EnterpriseDB. All rights reserved. 33
  • 34. 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”,”scott”,”tiger”); § New connection syntax: Class.forName("com.edb.Driver"); Connection con = DriverManager.getConnection("jdbc:edb://localhost: 5444/edb", "enterprisedb","enterprisedb"); © 2011 EnterpriseDB. All rights reserved.
  • 35. Common Pitfalls of Oracle Migration" 1.  Inadequate or inaccurate migration assessment 2.  Incomplete migration plan 3.  Lack of migration expertise to handle unforeseen problems 4.  Lack of available time & trained resources © 2013 EnterpriseDB. Privileged and Confidential. All rights reserved. 35
  • 36. Handling Issues" EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their 36 respective owners. © 2010. All rights reserved.
  • 37. Handling Issues" u  Not all migrations are error free •  Migration log will contain all errors" u  Some common issues: •  Column delimiter chosen is in column data" –  Causes ‘Extra data found’ error! –  Resolve by using different delimiter! u  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_RANDOM – use random function instead! –  DBMS_LOCK.sleep – use pg_sleep function instead! u  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! © 2011 EnterpriseDB. All rights reserved. 37
  • 38. Handling Issues (continued)" u  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 u  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, the load using edbldr" " " © 2011 EnterpriseDB. All rights reserved.
  • 39. Tuning Recommendations" u  Use DynaTune •  Dynamically adjusts database configuration based on available resources" •  Set via edb_dynatune parameter" –  Values 0 – 100 corresponding to % of machines to use! u  Remember to analyze database •  Use Analyze command" u  Oracle Hints supported •  No need to remove from embedded SQL" © 2011 EnterpriseDB. All rights reserved. 39
  • 40. Common Pitfalls of Oracle Migration" 1.  Inadequate or inaccurate migration assessment 2.  Incomplete migration plan 3.  Lack of migration expertise to handle unforeseen problems 4.  Lack of available time & trained resources © 2013 EnterpriseDB. Privileged and Confidential. All rights reserved. 40
  • 41. How EnterpriseDB Can Help" EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their 41 respective owners. © 2010. All rights reserved.
  • 42. EnterpriseDB Resources & Assistance" RESOURCES EFFORT/ ROI TIME INVESTIGATION VALIDATION MIGRATION/ PRODUCTION DEVELOPMENT •  Best-Practices? •  Support? •  PGSQL capabilities? •  Performance? •  Risk mitigation? •  Staff augmentation? •  Feature mapping? Customer •  Compatibility? •  Migration •  Training? •  TCO/ROI? Challenges •  Security? assistance? •  Replication? •  EDB capabilities? •  Cost? •  Tech resources? •  Monitoring? •  Product Road-map? •  DBA Skills? •  Indemnification? •  Opportunity Analysis •  Migration •  Product Support •  Enterprise Workshop Assessment Test •  Remote DBA Enablement EnterpriseDB •  Architectural health check •  Performance •  Training •  Oracle Resources •  White papers benchmarking •  Enterprise Manager compatibility •  Analyst reports •  References •  xDB Single/Multi- •  Migration planning •  Webinars •  Case Studies master replication © 2013 EnterpriseDB. All rights reserved. 42
  • 43. Enterprise Enablement Services" Goals •  Reduce time to value •  Reduce risk •  Contain cost •  Enable self-sufficiency Knowledge •  Ensure success Transfer On-demand Training Access to Experts Configuration Best Practices Architecture Remote DBA Best Practices Services Developer Support & Break Fix © 2013 EnterpriseDB. All rights reserved. 43
  • 44. Oracle Migration Assessment" u  Paid for service from EnterpriseDB u  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 with possible workarounds in final report" •  Post analysis discussions to review findings" u  Migration feasibility score assigned (1 – 10) http:www.enterprisedb.com/solutions/oramig.do © 2011 EnterpriseDB. All rights reserved. 44
  • 45. Oracle Migration Factory Core Services" u  Customer provides data-less Oracle export of database u  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! u  Document the changes/workarounds u  Educate Customer on changes/workarounds •  Advise on application level changes needed" u  Return migrated databases to Customer •  Via pg_dump" u  Customer can customize with add on options © 2011 EnterpriseDB. All rights reserved. 45
  • 46. Oracle Migration Factory Add-ons" u  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" u  Application Functional Testing •  Provide assistance in connecting application to database" •  Provide assistance in functional testing of application" •  Resolve functional testing issues" u  Performance Tuning of Migrated System u  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! © 2011 EnterpriseDB. All rights reserved. 46
  • 47. Summary" u  Migrations are no longer impossible u  Compatibility provides •  Lower cost of migrations" •  Shorter migration timelines" •  Lower risk (you can always go back)" u  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! ! ! ! © 2011 EnterpriseDB. All rights reserved. 47
  • 48. EnterpriseDB Resources" " u  EnterpriseDB on-demand training •  http://www.enterprisedb.com/store/products/dba-training " u  Resources & Community •  Whitepapers, datasheets, podcasts, videos, community! •  http://www.enterprisedb.com/resources-community " u  Questions about Postgres products, support and services •  sales@enterprisedb.com or info@enterprisedb.com " u  Follow us on Twitter, Facebook & LinkedIn for daily updates •  Twitter: @EnterpriseDB " •  Facebook: https://www.facebook.com/EnterpriseDB" •  LinkedIn: EnterpriseDB: The Enterprise Postgres Company " " @2013 EnterpriseDB. All Rights Reserved.