Migrating from Oracle . . . to IBM Informix Dynamic Server on Linux, UNIX, and Windows

Total Page:16

File Type:pdf, Size:1020Kb

Migrating from Oracle . . . to IBM Informix Dynamic Server on Linux, UNIX, and Windows Front cover Migrating from Oracle . to IBM Informix Dynamic Server on Linux, UNIX, and Windows Developing a Data and Applications Migration Methodology Understanding IDS and Oracle DBMS Functionality Using the IBM Migration Tool Kit as Your Guide Chuck Ballard Holger Kirstein Srinivasrao Madiraju Sreeni Paidi Nora Sokolof Renato Spironelli ibm.com/redbooks International Technical Support Organization Migrating from Oracle . to IBM Informix Dynamic Server on Linux, UNIX, and Windows June 2009 SG24-7730-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition (June 2009) This edition applies to Oracle 10g and IBM Informix Dynamic Server 11. © Copyright International Business Machines Corporation 2009. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . x Preface . xi The team that wrote this book . xii Become a published author . xiv Comments welcome. xiv Chapter 1. Introduction. 1 1.1 Migrating . 4 1.2 Positioning IDS . 5 1.3 Informix Dynamic Server editions . 6 1.4 IDS functionality . 9 Chapter 2. Architectural overview . 15 2.1 The basic architectures . 16 2.1.1 Memory architectures . 17 2.1.2 Process architectures . 23 2.1.3 Physical database structures . 28 2.1.4 Logical database structures . 32 2.1.5 Data dictionary and system catalog . 35 2.1.6 Database server communication. 38 2.2 IDS licensing . 40 2.3 Terminology. 41 Chapter 3. Migration methodology . 43 3.1 An IBM migration methodology . 44 3.2 Migration preparation . 45 3.2.1 Performing the migration assessment. 45 3.2.2 Understanding and selecting migration tools . 46 3.2.3 Estimating the effort required . 47 3.2.4 Environment preparation. 48 3.2.5 Getting educated on the Informix Dynamic Server . 49 3.3 Migration . 49 3.3.1 Database migration and design . 49 3.3.2 Calibration . 50 3.3.3 Application migration. 51 3.4 The Test Phase . 52 3.4.1 Migration refresh . 52 © Copyright IBM Corp. 2009. All rights reserved. iii 3.4.2 Data migration. 52 3.4.3 Testing . 53 3.5 Implementation and cutover phase . 56 3.6 Related information resources . 57 Chapter 4. IBM Migration Tool Kit: An introduction . 59 4.1 The MTK for Oracle migrations to IDS . 60 4.2 Overview of features and functionality . 61 4.2.1 The five step migration process . 61 4.3 Inside the Oracle converter component . 66 4.3.1 Translating tables, indexes, and views . 68 4.3.2 Translating built-in functions . 68 4.4 How to install, configure, and execute the MTK . 69 4.4.1 System requirements . 70 4.4.2 Installing MTK . 71 4.4.3 Starting MTK . 72 Chapter 5. An MTK tutorial . 73 5.1 Part 1: Core database object migration. 75 5.1.1 Create a project. 75 5.1.2 Work with the project. 77 5.1.3 Other useful features. 91 5.1.4 Additional MTK features . 99 5.1.5 Summary of best practices when using the MTK . 100 5.2 Part II: Database application object migration. 101 5.2.1 Migration of application objects: Lessons learned . 109 Chapter 6. SQL considerations . 111 6.1 DDL . 112 6.1.1 Database creation . 112 6.1.2 Tables . 113 6.1.3 Views. 129 6.1.4 Sequences . 130 6.1.5 Synonyms . 131 6.1.6 Triggers . 133 6.1.7 DBLinks. 133 6.2 DML. 135 6.2.1 SQL . 135 6.2.2 Selects . 135 6.2.3 Pseudo-columns . 138 6.2.4 Inserts . 142 6.2.5 Outer joins. 142 6.2.6 Sorts . 145 6.2.7 Aliases. 146 iv Migrating from Oracle . to IBM Informix Dynamic Server on Linux, Unix and Windows 6.2.8 Truncate . 146 6.2.9 Hierarchical queries . 147 6.3 SPL and PL/SQL . 147 6.4 Concurrency and transaction . 154 6.4.1 Read concurrency . 154 6.4.2 Update concurrency . 158 6.5 Security . ..
Recommended publications
  • Oracle Nosql Database
    An Oracle White Paper November 2012 Oracle NoSQL Database Oracle NoSQL Database Table of Contents Introduction ........................................................................................ 2 Technical Overview ............................................................................ 4 Data Model ..................................................................................... 4 API ................................................................................................. 5 Create, Remove, Update, and Delete..................................................... 5 Iteration ................................................................................................... 6 Bulk Operation API ................................................................................. 7 Administration .................................................................................... 7 Architecture ........................................................................................ 8 Implementation ................................................................................... 9 Storage Nodes ............................................................................... 9 Client Driver ................................................................................. 10 Performance ..................................................................................... 11 Conclusion ....................................................................................... 12 1 Oracle NoSQL Database Introduction NoSQL databases
    [Show full text]
  • Oracle Database Vault Overview
    Oracle Database Vault Oracle Database Vault provides controls to prevent unauthorized privileged users from accessing sensitive data, prevent unauthorized database changes, and helps customers meet industry, regulatory, or corporate security standards. March 23, 2020 Copyright © 2020, Oracle and/or its affiliates Public Purpose Statement This document provides an overview of features and enhancements included in the latest releases of Oracle Database Vault. It is intended solely to help you assess the business benefits of using Oracle Database Vault preventive controls and to plan your Data Security / I.T. projects. Disclaimer This document in any form, software or printed matter, contains proprietary information that is the exclusive property of Oracle. Your access to and use of this confidential material is subject to the terms and conditions of your Oracle software license and service agreement, which has been executed and with which you agree to comply. This document is not part of your license agreement nor can it be incorporated into any contractual agreement with Oracle or its subsidiaries or affiliates. This document is for informational purposes only and is intended solely to assist you in planning for the implementation and upgrade of the product features described. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described in this document remains at the sole discretion of
    [Show full text]
  • Oracle Big Data SQL Release 4.1
    ORACLE DATA SHEET Oracle Big Data SQL Release 4.1 The unprecedented explosion in data that can be made useful to enterprises – from the Internet of Things, to the social streams of global customer bases – has created a tremendous opportunity for businesses. However, with the enormous possibilities of Big Data, there can also be enormous complexity. Integrating Big Data systems to leverage these vast new data resources with existing information estates can be challenging. Valuable data may be stored in a system separate from where the majority of business-critical operations take place. Moreover, accessing this data may require significant investment in re-developing code for analysis and reporting - delaying access to data as well as reducing the ultimate value of the data to the business. Oracle Big Data SQL enables organizations to immediately analyze data across Apache Hadoop, Apache Kafka, NoSQL, object stores and Oracle Database leveraging their existing SQL skills, security policies and applications with extreme performance. From simplifying data science efforts to unlocking data lakes, Big Data SQL makes the benefits of Big Data available to the largest group of end users possible. KEY FEATURES Rich SQL Processing on All Data • Seamlessly query data across Oracle Oracle Big Data SQL is a data virtualization innovation from Oracle. It is a new Database, Hadoop, object stores, architecture and solution for SQL and other data APIs (such as REST and Node.js) on Kafka and NoSQL sources disparate data sets, seamlessly integrating data in Apache Hadoop, Apache Kafka, • Runs all Oracle SQL queries without modification – preserving application object stores and a number of NoSQL databases with data stored in Oracle Database.
    [Show full text]
  • Oracle Database Advanced Application Developer's Guide, 11G Release 2 (11.2) E17125-03
    Oracle® Database Advanced Application Developer's Guide 11g Release 2 (11.2) E17125-03 August 2010 Oracle Database Advanced Application Developer's Guide, 11g Release 2 (11.2) E17125-03 Copyright © 1996, 2010, Oracle and/or its affiliates. All rights reserved. Primary Author: Sheila Moore Contributing Authors: D. Adams, L. Ashdown, M. Cowan, J. Melnick, R. Moran, E. Paapanen, J. Russell, R. Strohm, R. Ward Contributors: D. Alpern, G. Arora, C. Barclay, D. Bronnikov, T. Chang, L. Chen, B. Cheng, M. Davidson, R. Day, R. Decker, G. Doherty, D. Elson, A. Ganesh, M. Hartstein, Y. Hu, J. Huang, C. Iyer, N. Jain, R. Jenkins Jr., S. Kotsovolos, V. Krishnaswamy, S. Kumar, C. Lei, B. Llewellyn, D. Lorentz, V. Moore, K. Muthukkaruppan, V. Moore, J. Muller, R. Murthy, R. Pang, B. Sinha, S. Vemuri, W. Wang, D. Wong, A. Yalamanchi, Q. Yu This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this software or related documentation is delivered to the U.S.
    [Show full text]
  • Oracle Database Sharding Infographic
    Oracle Database Sharding Oracle Sharding : Scale-out Rela7onal Database Sharding = Distributed Par77oning + Replica7on One giant database par66oned into many small databases (shards) Built on shared-nothing hardware architecture • Some web-scale OLTP applicaons use database sharding to avoid • Horizontal par66oning of data using a sharding key (e.g. scalability or availability edge cases of a single large database customer_id) across a farm of independent Oracle Databases • Oracle 12cR2 is the first full-featured RDBMS that provides nave • Shards can be hosted on commodity servers or engineered systems database sharding while suppor6ng enterprise capabili6es • Data automacally replicated with Data Guard or Oracle GoldenGate for high availability and disaster recovery Benefits Linear Scalability Fault Isola7on Geographic Distribuon Flexible Deployment 12,000,000 CPU CA On-Premises Hybrid Cloud 10,000,000 CA CA 8,000,000 … TPS 6,000,000 CA Vector Register 4,000,000 … 2,000,000 0 50 100 150 200 # of Shards Add shards online to Shared-nothing Data Sovereignty - for Flexible On-Premises, Cloud or Hybrid linearly scale - architecture. data privacy regulaons. Deployments. transac6ons, users and Fault of one shard Data Proximity - to bring Supports Cloud bursng database capacity has no impact on data closer to the users other shards Salient Features • Auto deployment of up to 1000 shards • Direct Rou6ng – Supports Data Guard and Oracle GoldenGate – Direct fast path SQL access via sharding key from smart topology- • Mul6ple sharding methods aware
    [Show full text]
  • Oracle Nosql Database EE Data Sheet
    Oracle NoSQL Database 21.1 Enterprise Edition (EE) Oracle NoSQL Database is a multi-model, multi-region, multi-cloud, active-active KEY BUSINESS BENEFITS database, designed to provide a highly-available, scalable, performant, flexible, High throughput and reliable data management solution to meet today’s most demanding Bounded latency workloads. It can be deployed in on-premise data centers and cloud. It is well- Linear scalability suited for high volume and velocity workloads, like Internet of Things, 360- High availability degree customer view, online contextual advertising, fraud detection, mobile Fast and easy deployment application, user personalization, and online gaming. Developers can use a single Smart topology management application interface to quickly build applications that run in on-premise and Online elastic configuration cloud environments. Multi-region data replication Enterprise grade software Applications send network requests against an Oracle NoSQL data store to and support perform database operations. With multi-region tables, data can be globally distributed and automatically replicated in real-time across different regions. Data can be modeled as fixed-schema tables, documents, key-value pairs, and large objects. Different data models interoperate with each other through a single programming interface. Oracle NoSQL Database is a sharded, shared-nothing system which distributes data uniformly across multiple shards in a NoSQL database cluster, based on the hashed value of the primary keys. An Oracle NoSQL Database data store is a collection of storage nodes, each of which hosts one or more replication nodes. Data is automatically populated across these replication nodes by internal replication mechanisms to ensure high availability and rapid failover in the event of a storage node failure.
    [Show full text]
  • IBM Tivoli Monitoring for Databases Manage the Performance and Availability of Your DB2, Informix and Oracle Database Servers
    IBM Tivoli Monitoring for Databases Manage the performance and availability of your DB2, Informix and Oracle database servers In today’s fast-moving world, the performance and availability of your Autonomic Computing e-business infrastructure can mean the difference between success and failure. Losing availability of a business-critical database server, or perform- I Built-in best practices ance degradation in your database environment, can result in significant encapsulate system financial loss, as well as longer-term damage to your brand. With the increase administration expertise in enterprise strategic applications and e-business systems, not only has the for managing your number of database resources increased but they are also spread across many critical database locations. Thus the task of managing multiple types of database servers has components become increasingly complex for the IT professional. I Automated cures IBM® Tivoli® Monitoring for Databases can help increase the availability of for many common your database resources and take actions to avert or alert you to potential database problems problems with the performance of those resources. Tivoli Monitoring for Databases can help you: • Monitor the status of IBM DB2®, IBM Informix® and Oracle database servers—Provides realtime status on the availability and performance of database servers through best-practices monitoring of key database components. • Notify administrators and take automated actions—Out-of-the-box identification of common database server problems notifies adminis- trators of potential issues and automates actions to help implement fixes before problems affect end users. • Go beyond monitoring—Collects monitoring data for use in historical reporting, performance analysis, trend prediction and enterprisewide business impact analysis.
    [Show full text]
  • The Progress Datadirect for ODBC for SQL Server Wire Protocol User's Guide and Reference
    The Progress DataDirect® for ODBC for SQL Server™ Wire Protocol User©s Guide and Reference Release 8.0.2 Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. These materials and all Progress® software products are copyrighted and all rights are reserved by Progress Software Corporation. The information in these materials is subject to change without notice, and Progress Software Corporation assumes no responsibility for any errors that may appear therein. The references in these materials to specific platforms supported are subject to change. Corticon, DataDirect (and design), DataDirect Cloud, DataDirect Connect, DataDirect Connect64, DataDirect XML Converters, DataDirect XQuery, DataRPM, Defrag This, Deliver More Than Expected, Icenium, Ipswitch, iMacros, Kendo UI, Kinvey, MessageWay, MOVEit, NativeChat, NativeScript, OpenEdge, Powered by Progress, Progress, Progress Software Developers Network, SequeLink, Sitefinity (and Design), Sitefinity, SpeedScript, Stylus Studio, TeamPulse, Telerik, Telerik (and Design), Test Studio, WebSpeed, WhatsConfigured, WhatsConnected, WhatsUp, and WS_FTP are registered trademarks of Progress Software Corporation or one of its affiliates or subsidiaries in the U.S. and/or other countries. Analytics360, AppServer, BusinessEdge, DataDirect Autonomous REST Connector, DataDirect Spy, SupportLink, DevCraft, Fiddler, iMail, JustAssembly, JustDecompile, JustMock, NativeScript Sidekick, OpenAccess, ProDataSet, Progress Results, Progress Software, ProVision, PSE Pro, SmartBrowser, SmartComponent, SmartDataBrowser, SmartDataObjects, SmartDataView, SmartDialog, SmartFolder, SmartFrame, SmartObjects, SmartPanel, SmartQuery, SmartViewer, SmartWindow, and WebClient are trademarks or service marks of Progress Software Corporation and/or its subsidiaries or affiliates in the U.S. and other countries. Java is a registered trademark of Oracle and/or its affiliates. Any other marks contained herein may be trademarks of their respective owners.
    [Show full text]
  • Oracle Database Application Developer's Guide
    Oracle®[1] Database Object-Relational Developer's Guide 12c Release 1 (12.1) E53277-02 August 2014 Oracle Database Object-Relational Developer's Guide 12c Release 1 (12.1) E53277-02 Copyright © 1996, 2014, Oracle and/or its affiliates. All rights reserved. Primary Author: Janis Greenberg Contributors: Sundeep Abraham, Shashaanka Agrawal, Geeta Arora, Eric Belden, Chandrasekharan Iyer, Geoff Lee, Anand Manikutty, Valarie Moore, Magdi Morsi, Helen Yeh, Adiel Yoaz, Qin Yu This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
    [Show full text]
  • Veritas Netbackup ™ 8.0 - 8.X.X Database and Application Agent Compatibility List Created on September 08, 2021
    Veritas NetBackup ™ 8.0 - 8.x.x Database and Application Agent Compatibility List Created on September 08, 2021 Click here for the HTML version of this document. <https://download.veritas.com/resources/content/live/OSVC/100046000/100046611/en_US/nbu_80_db_scl.html> Copyright © 2021 Veritas Technologies Corporation. All rights reserved. Veritas, the Veritas Logo, and NetBackup are trademarks or registered trademarks of Veritas Technologies Corporation in the U.S. and other countries. Other names may be trademarks of their respective owners. Veritas NetBackup ™ 8.0 - 8.x.x Database and Application Agent Compatibility List 2021-09-08 Introduction This Software Compatibility List (SCL) document describes the supported database and application agents for Veritas NetBackup 8.0 through 8.x For all other NetBackup compatibility lists, refer to <http://www.veritas.com/docs/000033647> IPV6 and Dual Stack environments are supported from NetBackup 8.1.1 onwards with few limitations, refer technote for additional information <http://www.veritas.com/docs/100041420> Database and application patch support: Major versions of database software have been qualified in Veritas Labs and are listed in the tables below. NetBackup supports minor versions, service packs, and patches of database software unless otherwise noted, with the exception of Microsoft Exchange, Microsoft SharePoint and Microsoft SQL Server. Linux support: For Linux distributions shown in the tables below, NetBackup is supported on all "editions" and on all vendor GA updates (n.1, n.2, etc.) or service packs (SP1, SP2, etc.) unless otherwise noted in this document or in the NetBackup OS Compatibility List, <http://www.veritas.com/docs/100032808> Database Appliances: 3rd party database hardware appliances are supported if the appliance OS/architecture and database software are listed in the Veritas NetBackup OS compatibility list <http://www.veritas.com/docs/100032808> and in the Database and Application Agent compatibility list (this document).
    [Show full text]
  • Oracle, IBM DB2, and SQL RDBMS’
    Enterprise Architecture Technical Brief Oracle, IBM DB2, and SQL RDBMS’ Robert Kowalke November 2017 Enterprise Architecture Oracle, IBM DB2, and SQL RDBMS Contents Database Recommendation ............................................................................................................. 3 Relational Database Management Systems (RDBMS) ................................................................... 5 Oracle v12c-r2 ............................................................................................................................ 5 IBM DB2 for Linux, Unix, Windows (LUW) ............................................................................ 6 Microsoft SQL Server (Database Engine) v2017 ...................................................................... 7 Additional Background Information ............................................................................................... 9 VITA Reference Information (To be removed) ......................... Error! Bookmark not defined. Page 2 of 15 [email protected] Enterprise Architecture Oracle, IBM DB2, and SQL RDBMS Database Recommendation Oracle, SQL Server, and DB2 are powerful RDBMS options. There are a number of differences in how they work “under the hood,” and in various situations, one may be more favorable than the other. 1 There is no easy answer, nor is there a silver-bullet for choosing one of these three (3) databases for your specific business requirements. Oracle is a very popular choice with the Fortune 100 list of companies and
    [Show full text]
  • Oracle Essbase Spreadsheet Add-In User's Guide
    ORACLE® ESSBASE SPREADSHEET ADD-IN RELEASE 11.1.1 USER’S GUIDE Spreadsheet Add-in User’s Guide, 11.1.1 Copyright © 1991, 2008, Oracle and/or its affiliates. All rights reserved. Authors: EPM Information Development Team This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS: Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007).
    [Show full text]