Oracle to Sap Sybase Ase Migration Guide

Total Page:16

File Type:pdf, Size:1020Kb

Oracle to Sap Sybase Ase Migration Guide ORACLE TO SAP SYBASE ASE MIGRATION GUIDE BY PETER DOBLER 2013 ORACLE TO SAP SYBASE ASE MIGRATION GUIDE Page | 1 1 Table of Contents 2 Preface .............................................................................................................................................................................. 10 2.1 Intended Audience ............................................................................................................................................. 10 2.2 What You Should Already Know .................................................................................................................... 10 2.3 Related Documents ............................................................................................................................................ 10 3 Overview .......................................................................................................................................................................... 11 3.1 Introduction .......................................................................................................................................................... 11 4 Migration Process ......................................................................................................................................................... 12 4.1 Application Components ................................................................................................................................. 12 4.2 Migrating the Data .............................................................................................................................................. 13 4.3 Migrating the Application ................................................................................................................................ 13 4.4 Validate Migration ............................................................................................................................................... 14 5 Oracle and Sybase ASE Compared .......................................................................................................................... 15 5.1 Architecture ........................................................................................................................................................... 16 5.1.1 Databases and Instances ............................................................................................................................. 18 5.1.2 Connecting to Oracle .................................................................................................................................... 19 5.2 Memory Structure ............................................................................................................................................... 20 5.2.1 Sybase ASE allocates memory as follows: .............................................................................................. 21 5.3 Processes ................................................................................................................................................................ 23 5.3.1 Oracle Process Management ...................................................................................................................... 23 5.3.2 Sybase Process Management..................................................................................................................... 25 5.4 Concurrency and Multi-Versioning ............................................................................................................... 26 5.4.1 ANSI Isolation Levels ..................................................................................................................................... 27 5.5 Schema Migration ............................................................................................................................................... 30 5.5.1 Schema Object Similarities.......................................................................................................................... 30 5.5.2 Schema Object Names.................................................................................................................................. 31 ORACLE TO SAP SYBASE ASE MIGRATION GUIDE Page | 2 5.5.3 Table Design Considerations ...................................................................................................................... 31 5.6 Data Types ............................................................................................................................................................. 34 5.7 Data Storage Concepts...................................................................................................................................... 36 5.7.1 Datafiles ............................................................................................................................................................. 36 5.7.2 Control Files ...................................................................................................................................................... 37 5.7.3 Redo Log Files .................................................................................................................................................. 37 5.7.4 Data Storage Concept Mapping ............................................................................................................... 38 5.7.5 Overview of the main components of the Oracle Database ........................................................... 42 5.7.6 Overview of the main components of the Sybase ASE Server ....................................................... 42 5.8 Data Manipulation Language ......................................................................................................................... 46 5.8.1 SQL Language .................................................................................................................................................. 46 5.8.2 Conceptual SQL Language Differences .................................................................................................. 46 5.8.3 Database Security ........................................................................................................................................... 57 5.8.4 Transaction Processing in Stored Procedures ...................................................................................... 60 6 DBA Operations Guide ................................................................................................................................................ 62 6.1 Transactions .......................................................................................................................................................... 62 6.2 Redo and Undo .................................................................................................................................................... 63 6.2.1 Redo Log ............................................................................................................................................................ 63 6.2.2 Undo .................................................................................................................................................................... 64 6.3 Tables and Indexes ............................................................................................................................................. 65 6.3.1 Tables .................................................................................................................................................................. 65 6.3.2 Indexes ............................................................................................................................................................... 66 6.4 System Views ........................................................................................................................................................ 68 6.4.1 Oracle Static Data Dictionary Views ......................................................................................................... 68 6.4.2 Oracle Dynamic Performance Views........................................................................................................ 68 6.4.3 Sybase ASE Static Data Dictionary Tables .............................................................................................. 69 6.4.4 Sybase ASE Dynamic Performance Tables ............................................................................................ 70 ORACLE TO SAP SYBASE ASE MIGRATION GUIDE Page | 3 6.4.5 Static Data Dictionary Comparison .......................................................................................................... 70 6.4.6 Dynamic Performance Views Comparison ............................................................................................ 73 6.5 Parallel Execution ................................................................................................................................................ 74 6.6 Data Loading and Unloading .......................................................................................................................... 79 6.6.1 Data Loading .................................................................................................................................................... 79 6.6.2 Data Unloading ..............................................................................................................................................
Recommended publications
  • Different Kinds of Database Schema
    Different Kinds Of Database Schema Sarcophagous or conglutinant, Hasty never categorize any Banff! Plato usually parsing devotedly or opaque harum-scarum when agraphic Manish blemishes extortionately and steady. Healthiest Worthy usually spiral some animadversions or outdid universally. Once jen starts a value for a new functionality or more detailed documentation about database using it does it in terms of database Usually it does not different models of. Jen has values in your email lists the documentation explaining some other kinds of different database schema indicates the external schemas? Sometimes find there are assumed to ensure that whenever the foreign key is a product types of making other kinds of different entities. We do prefer releasing frequently as that keeps the updates small, we serve a multitude of customers with different use cases, users to infer state by replaying events. Agile processes approach where the different kinds of database schema changes to represent relationships together with? Primary keys What do you think will happen if two users with the same name are added to the Users table? Any topic page is different kinds of database schema and punctuation, such as frequent changes needs a blueprint for qa staff should be filled in. Before they appeared on the scene most of the thinking about software process was about understanding requirements early, database schemas not only include tables, carefully modified to violate Normalization rules to increase reporting speed. This separate working works with files, which DBMS is best? On Career Karma, above and beyond the basic syntactical constraints imposed by XML itself. Now with a lot of serious time and effort you could eventually get to some kind of structure for understanding the data.
    [Show full text]
  • Database Schema Migration Tools Open Source
    Database Schema Migration Tools Open Source Validating Darian sometimes tranquillize his barony afterwards and cast so stubbornly! Vilhelm rocket his flirt bludge round-arm or best after Worthy smuts and formulise conspiratorially, quinoidal and declaratory. Implied Ernest rinsings: he built his Kathy lexically and amorally. Does this coupon code that is ideal state can replicate for speaking with their database tools and handled it ensures data, a granular control Review the tool for migrating to? If necessary continue browsing the site, will agree specify the rush of cookies on this website. Iteratively make both necessary changes to applications. 1 Database Version Control DBMS Tools. It moves to schema migration database tools source database migration is a few clicks configuration as well as someone to. GDPR: floating video: is from consent? Openmysql rootwelcometcp1270013306migrationtest if err nil fmt. Database health Suite itself and Schema Sync across. The Top 33 Database Migrations Open Source Projects. The community edition of PDI is useful enough they perform our mystery here. Migration Supports schema migration for MySQL SQLite and PostgreSQL Reverse Engineering For existing database structures we to reverse enginering. Most schema migration tools aim to minimize the footprint of schema changes on any existing data in tally database. Contains errors, warnings, and informational messages relating to migration operations. To schema and tools with a tool allows you take years of the tooling uses the type of. But migrating data services ownership, and integrity checks will be able to other objects to use open source tools now part of. Making database schema while capturing any databases, open source endpoint to migrate to get started with constraints between data sources in an altered outside the.
    [Show full text]
  • Using SAP Crystal Reports with SAP Sybase SQL Anywhere
    Using SAP Crystal Reports with SAP Sybase SQL Anywhere USING SAP CRYSTAL REPORTS WITH SAP SYBASE SQL ANYWHERE TABLE OF CONTENTS INTRODUCTION ............................................................................................................................................... 3 REQUIREMENTS .............................................................................................................................................. 3 CONNECTING TO SQL ANYWHERE WITH CRYSTAL REPORTS ............................................................... 4 CREATING A SIMPLE REPORT ...................................................................................................................... 7 Adding Data to Crystal Reports ............................................................................................................................ 7 Formatting Records in Crystal Reports ............................................................................................................... 8 Displaying Records on a Map in Crystal Reports ............................................................................................... 9 ADDING DATA TO CRYSTAL REPORTS USING A SQL QUERY .............................................................. 10 Inserting a Chart Displaying Queried Data ........................................................................................................15 CREATING A SALES REPORT ....................................................................................................................
    [Show full text]
  • A Reverse Engineering Approach for Migrating Data-Intensive Web Sites to the Semantic Web
    A reverse engineering approach for migrating data-intensive web sites to the Semantic Web Nenad Stojanovic, Ljiljana Stojanovic, Raphael Volz AIFB Institute, Univ. of Karlsruhe,Germany, {nst,lst,volz}@aifb.uni-karlsruhe.de The Semantic Web is intended to enable machine understandable web content and seems to be a solution for many drawbacks of the current Web. It is based on metadata that describe the formal semantics of Web contents. In this paper we present an integrated and semi-automatic approach for generating shared-understandable metadata of data- intensive Web applications. This approach is based on mapping the given relational schema into already existing ontology structure using a reverse engineering process. As a case study we present this style of a schema- and data-migration for our Institute web portal. The presented approach can be applied to a broad range of today's data-intensive Web sites. 1. INTRODUCTION The Semantic Web is one of today's hot keywords. It is about bringing ``[...] structure to the meaningful content of Web pages, creating an environment where software agents, roaming from page to page, can readily carry out sophisticated tasks for users.'' [17]. In order to enable this, web sites are enhanced with metadata that provide formal semantics for Web content. The key technology involved here are the ontologies. The ontologies provide consensual domain models, which are understandable to both human beings and machines as a shared conceptualisation of a specific domain that is given. Using ontologies, a content is made suitable for machine consumption, opposing to the content found on the web today, which is primarily intended for human consumption.
    [Show full text]
  • Resume Ready Resource Guide
    Resume-Ready Skills & Certifications Finance | Commodities | Risk Management and Insurance Skills Advanced Microsoft Excel, Microsoft Access, SQL Financial Modeling, Financial Functions (NPV, IRR, PV, etc.), Bloomberg, Morningstar, thinkorswim Certifications - Finance Chartered Financial Analyst (CFA); Certified Financial Planner (CFP) Certified Fund Specialist (CFS); Commodities Trading Advisor (CTA) Series 3 (Commodities & Futures); Series 6 (Mutual Funds) Series 7 (Variable Annuities) ; Series 63/65/66 (State Law Exam) Series 79 (Investment Banking) Certifications - RMI Associate in Risk Management (ARM) Designation; RIMS Fellow (RF) Designation Chartered Property Casualty Underwriter (CPCU); Life and Health; Certified Insurance Counselor (CIC) Marketing Skills Social & Web: Facebook, GoogleAdwords, LinkedIn, Instagram, Twitter, Hootsuite; Marketing Automation: Marketo, Eloqua Marketing Analytics: Hubspot, Google Analytics, Facebook Insights, Web Trends, Omniture, Advanced Excel, SQL CRM | Email: Salesforce, Sendgrid, Responsys | Research: SurveyMonkey, Qualtrics CMS: SharePoint, WordPress | Languages: Java, HTML, CSS | Graphics: Adobe Creative Suite, Photoshop Digital Marketing Areas: PPC, SEO, SEM, Demand Generation Certifications Professional Certified Marketer (PCM) | Google Analytics Certification | Google Adwords Certification Hubspot Inbound Marketing Certification | Hootsuite Certification | Salesforce - Multiple Certifications Information Systems Skills Programming Languages: C, C++, C#, CSS, HTML, iOS, Java, JavaScript, Objective-C,
    [Show full text]
  • Sap Sybase (Ase) W Third-Party Support
    N SAP SYBASE (ASE) W THIRD-PARTY SUPPORT E S Overview SUPPORTED VERSIONS All Sybase database releases Spinnaker Support is a leading global provider of third-party support and managed and editions services for SAP Sybase (Adaptive Server Enterprise or ASE) database products. Spinnaker Support’s third-party software support replaces SAP’s annual maintenance and SUPPORTED PRODUCTS support. Third-party support is always at least half the cost of SAP support and provides more • Sybase Adaptive Server services through an assigned support team and other personalized service components. Enterprise (Sybase ASE) Your operations depend on Sybase running smoothly and efficiently so that your transactional • Sybase Advantage data is available at a moment’s notice. By switching to third-party Sybase support, you gain high Database Server responsiveness and faster problem resolution when problems do arise. You can remain on your (Sybase ADS) existing Sybase solutions for as long as needed and can rely on our expert advice when you eventually upgrade or migrate away from your current Sybase version. • Sybase Replication Server • Sybase IQ THE SYBASE DILEMMA • Sybase SQL Anywhere Following SAP’s acquisition of Sybase in 2011, Sybase customers have witnessed a steady decline in the commitment to deliver new innovations, product enhancements, and • Sybase PowerBuilder appropriate support resources. With the announced 2025 End of Mainstream Maintenance • Sybase PowerDesigner (EoMM) for Sybase 16.0, organizations are feeling new pressure to either upgrade to SAP HANA or migrate to an alternative database platform. • Sybase Mainframe Connect The Sybase EoMM, along with the rising cost and decreasing quality of SAP-provided support, has put IT leaders on the defensive, pressuring them to make a premature decision regarding the • Sybase EA Server future of their stable, reliable Sybase solution.
    [Show full text]
  • Lesson 4: Optimize a Query Using the Sybase IQ Query Plan
    Author: Courtney Claussen – SAP Sybase IQ Technical Evangelist Contributor: Bruce McManus – Director of Customer Support at Sybase Getting Started with SAP Sybase IQ Column Store Analytics Server Lesson 4: Optimize a Query using the SAP Sybase IQ Query Plan Copyright (C) 2012 Sybase, Inc. All rights reserved. Unpublished rights reserved under U.S. copyright laws. Sybase and the Sybase logo are trademarks of Sybase, Inc. or its subsidiaries. SAP and the SAP logo are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other trademarks are the property of their respective owners. (R) indicates registration in the United States. Specifications are subject to change without notice. Table of Contents 1. Introduction ................................................................................................................1 2. SAP Sybase IQ Query Processing ............................................................................2 3. SAP Sybase IQ Query Plans .....................................................................................4 4. What a Query Plan Looks Like ................................................................................5 5. What a Query Plan Will Tell You ............................................................................7 5.1 Query Tree Nodes and Node Detail ......................................................................7 5.1.1 Root Node Details ..........................................................................................7
    [Show full text]
  • Automated Testing of Database Schema Migrations
    DEGREE PROJECT IN COMPUTER SCIENCE AND ENGINEERING, SECOND CYCLE, 30 CREDITS STOCKHOLM, SWEDEN 2019 Automated Testing of Database Schema Migrations PETER JONSSON KTH ROYAL INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE Automated Testing of Database Schema Migrations PETER JONSSON Master in Computer Science Date: June 28, 2019 Supervisor: Johan Gustavsson Examiner: Elena Troubitsyna School of Electrical Engineering and Computer Science Host company: The Swedish Police Authority Swedish title: Automatiserad testning av databasschemaförändringar iii Abstract Modern applications use databases, and the majority of them are relational databases, which use schemas to impose data integrity constraints. As appli- cations change, so do their databases. Database schemas are changed using migrations. Certain conditions can result in migrations failing in production environments, leading to a broken database state and testing can be problem- atic without accessing production data which can be sensitive. Two migration validation methods were proposed and implemented to au- tomatically reject invalid migrations that are not compatible with the database state. The methods were based on, and compared to, a default method that used Liquibase to structure and perform migrations. The assertion method used knowledge of what a valid state would look like to generate pre-conditions from assertions to verify that the database’s state matched expectations and that the migrations were compatible with a database’s state prior to migra- tion. The schema method, used a copy of the production database’s schema to perform migrations on an empty database in order to test the compatibility of the old and new schemas. 108 test cases consisting of a migration and a database state were used to test all methods.
    [Show full text]
  • Sybase Adaptive Server Enterprise (ASE) Plug-In User's Guide 13.2.1.0 E73486-01
    Oracle® Enterprise Manager Sybase Adaptive Server Enterprise (ASE) Plug-in User©s Guide 13.2.1.0 E73486-01 June 2016 Oracle Enterprise Manager Sybase Adaptive Server Enterprise (ASE) Plug-in User's Guide, 13.2.1.0 E73486-01 Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved. 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, then 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]
  • Management Strategies for the Cloud Revolution
    MANAGEMENT STRATEGIES FOR CLOUDTHE REVOLUTION MANAGEMENT STRATEGIES FOR CLOUDTHE REVOLUTION How Cloud Computing Is Transforming Business and Why You Can’t Afford to Be Left Behind CHARLES BABCOCK New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto Copyright © 2010 by Charles Babcock. All rights reserved. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher. ISBN: 978-0-07-174227-6 MHID: 0-07-174227-1 The material in this eBook also appears in the print version of this title: ISBN: 978-0-07-174075-3, MHID: 0-07-174075-9. All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefi t of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps. McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales promotions, or for use in corporate training programs. To contact a representative please e-mail us at [email protected]. This publication is designed to provide accurate and authoritative information in regard to the subject matter covered. It is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional service.
    [Show full text]
  • Expert Analytics User Guide Content
    PUBLIC SAP BusinessObjects Predictive Analytics 3.1 2016-11-22 Expert Analytics User Guide Content 1 About Expert Analytics........................................................6 1.1 Expert Analytics Overview.......................................................6 1.2 New in Expert Analytics 3.1......................................................6 1.3 Document History............................................................ 6 1.4 Documentation Resources...................................................... 7 1.5 What this Guide Contains.......................................................8 1.6 Target Audience..............................................................9 2 Getting Started with Expert Analytics........................................... 10 2.1 Basics of Expert Analytics......................................................10 2.2 Understanding Online and Agnostic Modes ..........................................11 2.3 Launching Expert Analytics.....................................................12 2.4 Installing R and the Required Packages.............................................12 2.5 Configuring R...............................................................14 2.6 Understanding Expert Analytics..................................................15 Designer View............................................................15 Results View.............................................................16 2.7 Using Expert Analytics from Start to Finish..........................................16 2.8 Configuring Advanced
    [Show full text]
  • SAP Businessobjects Mobile Clients Supported Platforms (PAM)
    SAP BusinessObjects Mobile Clients Supported Platforms (PAM) May 23, 2013 Updated: June 27, 2013 Disclaimer: This document is subject to change and may be changed by SAP at any time without notice. The document is not intended to be binding upon SAP to any particular course of business, product strategy, and/or development. SAP BusinessObjects Mobile Clients Supported Platforms Mobile Client Sybase Mobile Mobile Client Mobile Client Mobile Client Platform Platform Mobile BI Server Version(s) Version Platform Version(s) Version(s) SAP BusinessObjects Mobile 5.0(*2) Blackberry 4.7 to 6.0 N/A(*3) BI 4.1 and Edge BI 4.1 XI 3.1 and Edge XI 3.1: SP03 FP6 and above BI 4.0 and Edge BI 4.0: SP02 and above BI 4.1 and Edge BI 4.1 SUP 2.1 and SAP BusinessObjects Mobile 5.0 iOS iOS 6 (*1) Crystal Reports Server XI 3.1: SP03 FP6 and above above Crystal Server 2011: SP02 and above Crystal Server 2013 XI 3.1 and Edge XI 3.1: SP03 FP6 and above BI 4.0 and Edge BI 4.0: SP02 and above BI 4.1 and Edge BI 4.1 SAP BusinessObjects Mobile iOS SUP 2.1 and 5.0 iOS iOS 6 (*1) Crystal Reports Server XI 3.1: SP03 FP6 and SDK above above Crystal Server 2011: SP02 and above Crystal Server 2013 BI 4.0 and Edge BI 4.0: SP02 Patch 13 and SUP 2.1 and SAP BusinessObjects Mobile 5.0 Android 2.2 - 4.2 above above BI 4.1 and Edge BI 4.1 XI 3.2 and Edge XI 3.2: SP4 and above SAP BusinessObjects Explorer 4.1.7 iOS iOS 5.1, iOS 6 N/A(*3) BI 4.0 and Edge BI 4.0: SP2 and above BI 4.1 and Edge BI 4.1 Based on the backend server version, the features supported will be different.
    [Show full text]