Book description
This IBM® Redbooks® publication describes IBM DB2® SQL compatibility features. The latest version of DB2 includes extensive native support for the PL/SQL procedural language, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, and more. These features can help with developing applications that run on both DB2 and Oracle and can help simplify the process of moving from Oracle to DB2.
In addition, IBM now provides tools to simplify the enablement process, such as the highly scalable IBM Data Movement Tool for moving schema and data into DB2, and an Editor and Profiler for PL/SQL provided by the IBM Data Studio tool suite.
This Oracle to DB2 migration guide describes new technology, preferred practices for moving to DB2, and common scenarios that can help you as you move from Oracle to DB2. This book is intended for IT architects and developers who are converting from Oracle to DB2.
DB2 compatibility with Oracle is provided through native support. The new capabilities in DB2 that provide compatibility are implemented at the lowest and most intimate levels of the database kernel, as though they were originally engineered for DB2. means that the DB2 implementation is done without the aid of an emulation layer. This intimacy leads to the scalable implementation that DB2 offers, providing identical performance between DB2 compatibility features and DB2 other language elements. For example, DB2 runs SQL PL at the same performance as PL/SQL implementations of the same function.
Table of contents
- Front cover
- Notices
- Preface
- Summary of changes
- Chapter 1. Introduction
-
Chapter 2. Language compatibility features
-
2.1 DB2 compatibility features references
- 2.1.1 SQL compatibility setup
- 2.1.2 PL/SQL record and collection types
- 2.1.3 Subtypes
- 2.1.4 Basic procedural statements
- 2.1.5 Control of flow statements
- 2.1.6 Condition (exceptions) handling
- 2.1.7 Cursor data type
- 2.1.8 Static and dynamic SQL support
- 2.1.9 Support for built-in scalar functions
- 2.1.10 Routines, procedures, and functions compatibility
- 2.1.11 PL/SQL packages
- 2.1.12 Triggers
- 2.1.13 SQL statements
-
2.2 Schema compatibility features
- 2.2.1 Extended data type support
- 2.2.2 Flexible schema changes in DB2
- 2.2.3 Sequences
- 2.2.4 Index enablement
- 2.2.5 Constraints enablement
- 2.2.6 Created global temporary tables
- 2.2.7 Synonyms
- 2.2.8 Views and Materialized Views
- 2.2.9 Object types
- 2.2.10 Partitioning and MDC
- 2.2.11 Oracle database links
- 2.2.12 Oracle Data Dictionary compatible views
- 2.3 DB2 command-line utilities
-
2.1 DB2 compatibility features references
-
Chapter 3. Conversion process and enablement tools
- 3.1 The conversion process
- 3.2 Enablement tools
- 3.3 Getting started with DCW
- 3.4 DDL extraction using DCW
- 3.5 Assessment and conversion using DCW
- 3.6 Preparing your DB2 database for data movement
-
3.7 Data movement using DCW
- 3.7.1 Data movement using flat files
- 3.7.2 Data movement using pipes
- 3.7.3 Data movement using IBM InfoSphere Federation Server
- 3.7.4 Data movement using IBM InfoSphere Change Data Capture
- 3.7.5 Manual data deployment
- 3.7.6 Selecting the appropriate data movement method
- 3.7.7 Verifying data movement
- 3.8 Deploying remaining objects on the target DB2 database
- 3.9 Conclusion
- Chapter 4. Enablement scenario
-
Chapter 5. Application conversion
- 5.1 DB2 application development introduction
-
5.2 Application enablement planning
- 5.2.1 Checking software and hardware availability and compatibility
- 5.2.2 Educating developers and administrators
- 5.2.3 Analyzing application logic and source code
- 5.2.4 Setting up the target environment
- 5.2.5 Changing vendor-specific database API use
- 5.2.6 Application testing
- 5.2.7 Application tuning
- 5.2.8 Production rollout procedures
- 5.2.9 User education
- 5.3 Converting XML features
- 5.4 Converting Oracle Pro*C applications to DB2
- 5.5 Converting Oracle Java applications to DB2
- 5.6 Converting Oracle Call Interface applications
- 5.7 Converting Open Database Connectivity applications
- 5.8 Converting Perl applications
- 5.9 Converting PHP applications
-
5.10 Converting .NET applications
- 5.10.1 Supported development software for .NET Framework applications (DB2 9.7)
- 5.10.2 Supported development software for .NET Framework applications (DB2 10.5)
- 5.10.3 Supported deployment software for .NET Framework applications (in general)
- 5.10.4 .NET Data Providers
- 5.10.5 Visual Basic .NET conversion example
- Appendix A. Terminology mapping
- Appendix B. Data types
- Appendix C. Built-in modules
- Appendix D. DB2CI sample program
- Appendix E. Code samples
- Appendix F. Additional material
- Related publications
- Back cover
Product information
- Title: Oracle to DB2 Conversion Guide: Compatibility Made Easy
- Author(s):
- Release date: September 2013
- Publisher(s): IBM Redbooks
- ISBN: 9780738438757
You might also like
book
Sybase to DB2 Conversion Guide
IBM® DB2® for Linux®, UNIX®, and Windows® has long been known for its technology leadership. The …
book
OCA/OCP Oracle Database 11g All-in-One Exam Guide
A Fully Integrated Study System for OCA Exams 1Z0-051 and 1Z0-052, and OCP Exam 1Z0-053 Prepare …
book
Oracle 11g R1/R2 Real Application Clusters Essentials
In this book you’ll find a practical tutorial on configuring, installing, and designing Oracle 11g Real …
book
Oracle Database 10g DBA Handbook
Everything a DBA needs to know in one volume--this is the must-have reference for anyone working …