ORACLE TO SYBASE ASE MIGRATION GUIDE ORACLE TO SYBASE ASE MIGRATION GUIDE Rev.1.3 Table of Contents 1 Introduction .................................................................................................................................................................................... 4 1.1 Intended Audience ...................................................................................................................................................................................... 4 1.2 What You Should Already Know ............................................................................................................................................................. 4 1.3 About Sybase ASE ...................................................................................................................................................................................... 4 1.4 Oracle systems targeted by this Guide .................................................................................................................................................... 4 1.5 Oracle products vs. Sybase products ....................................................................................................................................................... 4 1.6 Oracle / Sybase database versions covered ............................................................................................................................................ 5 1.7 Sybase ASE documents and references ................................................................................................................................................... 5 2 How to use this Migration Guide................................................................................................................................................ 6 2.1 Migration process outline ........................................................................................................................................................................... 6 2.2 Success factors .............................................................................................................................................................................................. 6 2.3 Not covered by this guide: Project aspects ............................................................................................................................................. 7 2.4 Not covered by this guide: Sybase ASE-specific tuning ...................................................................................................................... 7 3 Pre-migration complexity assessment ........................................................................................................................................ 8 3.1 Oracle checklist: datatypes ......................................................................................................................................................................... 8 3.2 Oracle checklist: category "Simple Conversion" ................................................................................................................................... 8 3.3 Oracle checklist: category "Partial Rewrite" ......................................................................................................................................... 12 3.4 Oracle checklist: category "Major Rewrite" .......................................................................................................................................... 15 4 Database Schema Migration ....................................................................................................................................................... 17 4.1 Obtaining the Oracle schema definition ............................................................................................................................................... 17 4.1.1 Using existing DDL scripts ................................................................................................................................................................ 17 4.1.2 Reverse-engineering the existing schema ........................................................................................................................................ 17 4.2 Using Sybase PowerDesigner for database schema migration ......................................................................................................... 18 4.2.1 PowerDesigner schema conversion steps ....................................................................................................................................... 18 4.3 Reverse-engineering the Oracle schema without Sybase PowerDesigner ...................................................................................... 18 4.4 Special cases in schema migration .......................................................................................................................................................... 18 4.5 Mapping the Oracle schema to Sybase ASE databases ...................................................................................................................... 19 4.6 Schema-related Oracle-Sybase terminology ......................................................................................................................................... 20 4.7 Mapping Oracle Datatypes to Sybase ASE .......................................................................................................................................... 21 4.7.1 Chained Oracle data rows .................................................................................................................................................................. 23 4.8 Search for Sybase ASE reserved words and keywords in Oracle ..................................................................................................... 23 4.9 Choosing a lock scheme for Sybase ASE tables .................................................................................................................................. 24 4.10 The Oracle DUAL Table ......................................................................................................................................................................... 24 5 Migrating server-level aspects .................................................................................................................................................... 25 5.1 Character set ............................................................................................................................................................................................... 25 5.2 Database server case sensitivity ('sort order') ....................................................................................................................................... 25 5.3 Server configuration parameters ............................................................................................................................................................. 26 5.4 Storage .......................................................................................................................................................................................................... 26 5.5 Migrating the User Logins ....................................................................................................................................................................... 26 5.5.1 User passwords ..................................................................................................................................................................................... 27 5.6 Permissions ................................................................................................................................................................................................. 27 6 Data Migration .............................................................................................................................................................................. 28 6.1 Unload Oracle data into ASCII files; load into ASE with "bcp" utility .......................................................................................... 29 6.1.1 Loading into ASE with "bcp" ............................................................................................................................................................ 29 6.1.2 Unloading from Oracle: FACT (3rd-party tool) ............................................................................................................................ 29 6.1.3 Unloading from Oracle: Roll-your-own PL/SQL utility to export Oracle data...................................................................... 30 6.1.4 Unloading from Oracle: use Oracle SQL Developer ................................................................................................................... 30 6.2 Use Sybase's Enterprise Connect Data Access (ECDA) Option for Oracle ................................................................................. 30 6.2.1 ECDA Example ................................................................................................................................................................................... 30 6.3 Use Sybase Replication Server Heterogeneous Edition (RSHE) for Oracle ................................................................................. 30 6.3.1 Minimal migration downtime with Replication ............................................................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages68 Page
-
File Size-