16 Copyright © 2004, Oracle. All rights reserved. Testing the Migrated Oracle Database.

Slides:



Advertisements
Similar presentations
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
Advertisements

ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
18 Copyright © Oracle Corporation, All rights reserved. Transporting Data Between Databases.
Stored procedures and views You can see definitions for stored procedures and views in the demo databases but you can’t change them. For views, expand.
Trnsport Test Suite Project Tony Compton, Texas DOT Charles Engelke, Info Tech.
9 Copyright © 2004, Oracle. All rights reserved. Managing Data.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Pan-European infrastructure for Ocean & Marine Data management An EU Integrated research Infrastructure Initiative (I3) MIKADO : Java tool for XML Creation.
5 Copyright © 2009, Oracle. All rights reserved. Defining ETL Mappings for Staging Data.
Phil Brewster  One of the first steps – identify the proper data types  Decide how data (in columns) should be stored and used.
This presentation will guide you though the initial stages of installation, through to producing your first report Click your mouse to advance the presentation.
C Copyright © 2009, Oracle. All rights reserved. Using Diagnosis and Debugging Techniques.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
CSCI 6962: Server-side Design and Programming
SQL Server to MySQL Database Migration SQLWays - Migration Software Presentation March 2009 Copyright (c) Ispirer Systems Ltd.
12 Copyright © 2004, Oracle. All rights reserved. Oracle Net Services.
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
Copyright  Oracle Corporation, All rights reserved. 5 CMIS Powell Oracle Designer: Design Editor and Building the Database and Table API CMIS.
4 Copyright © 2009, Oracle. All rights reserved. Designing Mappings with the Oracle Data Integration Enterprise Edition License.
8-1 3 Oracle Data Integrator Topology: Connecting to the World.
Movie Manager by Patrick Wesley and Chris Grey Internet Database Project for CS 8630 – Summer 2004 Dr. Guimaraes.
8 Copyright © 2009, Oracle. All rights reserved. Using Process Flows.
Creating a Web Site to Gather Data and Conduct Research.
Eurotrace Hands-On The Eurotrace File System. 2 The Eurotrace file system Under MS ACCESS EUROTRACE generates several different files when you create.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Access Training Linux/Unix Power Broker Access Custom Schema Database Access Customer Training Date: 25-JAN-2005.
4 Copyright © 2009, Oracle. All rights reserved. Defining Source Metadata.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 12 Understanding database managers on z/OS.
Module 1: Installing Microsoft Windows XP Professional.
Systems Management Server 2.0: Backup and Recovery Overview SMS Recovery Web Site location: Updated.
13 Copyright © 2009, Oracle. All rights reserved. Integrating with Oracle Business Intelligence Enterprise Edition (OBI EE)
Introduction to Oracle. Oracle History 1979 Oracle Release client/server relational database 1989 Oracle Oracle 8 (object relational) 1999.
CODELABOR Shin Sang Jae Template Guide (codelabor-flex-lcds-template)
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
3 Copyright © 2004, Oracle. All rights reserved. Controlling Access to the Oracle Listener.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
3 Copyright © 2009, Oracle. All rights reserved. Understanding the Warehouse Builder Architecture.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features.
17 Copyright © 2004, Oracle. All rights reserved. Deploying an ADF Application.
15 Copyright © 2004, Oracle. All rights reserved. Adding JAAS Security to the Client.
22 Copyright © 2008, Oracle. All rights reserved. Multi-User Development.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
Copyright Ó Oracle Corporation, All rights reserved Debugging Triggers.
ViaSQL Transfer. Viaserv, Inc. Transfer – 2 The ViaSQL Transfer n Available only with ViaSQL Integrator n Move data between OS/390 and a LAN database.
5 Copyright © 2008, Oracle. All rights reserved. Testing and Validating a Repository.
C Copyright © 2007, Oracle. All rights reserved. Security New Features.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
8 Copyright © 2005, Oracle. All rights reserved. Managing Schema Objects.
11 Copyright © 2004, Oracle. All rights reserved. Performing a Migration Using Oracle Migration Workbench (Part II)
3 Copyright © 2006, Oracle. All rights reserved. Designing and Developing for Performance.
E Copyright © 2006, Oracle. All rights reserved. Using SQL Developer.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
13 Copyright © 2004, Oracle. All rights reserved. Migrating SQL Statements.
12 Copyright © 2004, Oracle. All rights reserved. Application Migration: Overview.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
11 Copyright © 2009, Oracle. All rights reserved. Enhancing ETL Performance.
15 Copyright © Oracle Corporation, All rights reserved. Managing Users.
Working in the Forms Developer Environment
SQL and SQL*Plus Interaction
Using JDeveloper.
RAC Performance Lab.
Presentation transcript:

16 Copyright © 2004, Oracle. All rights reserved. Testing the Migrated Oracle Database

16-2 Copyright © 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Use Oracle Migration Verifier to verify that the schema and data migrated successfully Apply guidelines to design and run test cases on the migrated Oracle database

16-3 Copyright © 2004, Oracle. All rights reserved. Objectives for Testing During the testing phase, you test the application and the Oracle database to make sure that the: Migrated data is complete and accurate Application functions in the same way as in the source database Oracle database schema is complete Oracle database produces the same results as the source database Applications and the Oracle database meet the operational and performance requirements

16-4 Copyright © 2004, Oracle. All rights reserved. Testing Methodology Testing can contain one or all of the following: Simple data validation Full life cycle of module testing System and acceptance testing Performance testing

16-5 Copyright © 2004, Oracle. All rights reserved. V Model with a Database Migration D evelopment phase Testing phase D atabase migration requirements System acceptance testing Database/ application design Integration testing Database object testing

16-6 Copyright © 2004, Oracle. All rights reserved. Testing the Oracle Database Oracle recommends you to use: Oracle Database Migration Verifier to help verify that the schema and data migrated successfully Test cases to verify that the Oracle database produces the same business logic results as the source database

16-7 Copyright © 2004, Oracle. All rights reserved. Database Migration Verifier Oracle Database Migration Verifier is a command-line tool: To validate the structural integrity of the database objects in a migrated database That compares your source database and the migrated Oracle database to identify any potential issues before user acceptance testing That performs verification checks and produces a report summarizing the results

16-8 Copyright © 2004, Oracle. All rights reserved. Supported Databases The following databases are supported by DMV: Third-party databases –Microsoft SQL Server 2000 –Sybase Adaptive Server 12 Oracle databases –Oracle 9.2.x –Oracle Database 10g

16-9 Copyright © 2004, Oracle. All rights reserved. System Requirements Depending on the third party and the Oracle database that you are verifying, you need the following to run DMV: JDK 1.3.x Oracle Database 10g JDBC Driver Oracle9 i Release 2 JDBC Driver Microsoft SQL Server 2000 Driver for JDBC Sybase jConnect 4.5 for JDBC

16-10 Copyright © 2004, Oracle. All rights reserved. Installing DMV To install DMV, perform the following steps: 1.Download the dmv.zip file from OTN at: 2.Extract the files to your local directory. 3.Open the ddbinfoss2k.prop property file located under the /config directory.

16-11 Copyright © 2004, Oracle. All rights reserved. Installing DMV 4.Edit the properties file to connect to the source database and Oracle database. Provide the following information: –JDBC class path –Source database URL, username, and password –Oracle database URL, username, and password 5.Save the properties file.

16-12 Copyright © 2004, Oracle. All rights reserved. Full Notes Page

16-13 Copyright © 2004, Oracle. All rights reserved. Using the DMV To use the DMV, enter the following command: The DMV must be connected to both, the source and destination database, to generate the verification report. > java -jar e:\oracle\dmv\dmv.jar e:\oracle\dmv\config\dbinfoss2k.prop HR_DMVReport.txt

16-14 Copyright © 2004, Oracle. All rights reserved. Viewing the DMV Report

16-15 Copyright © 2004, Oracle. All rights reserved. Full Notes Page

16-16 Copyright © 2004, Oracle. All rights reserved. Where Are We? Oracle Database Migration Verifier used to verify the schema and data migrated successfully Test cases used to verify that the Oracle database produces the same business results as the source database

16-17 Copyright © 2004, Oracle. All rights reserved. What to Test Design test cases to provide comprehensive coverage: Users Privileges Primary keys Foreign keys Check constraints Defaults Views Triggers Procedures Functions

16-18 Copyright © 2004, Oracle. All rights reserved. Guidelines for Creating Test Cases Guidelines for creating test cases: Prioritize testing according to business benefits. Define each test case so that it is reproducible. Identify test components, approach, and completion criteria. Create a test case for each functional area and procedure.

16-19 Copyright © 2004, Oracle. All rights reserved. Guidelines for Running Test Cases When running test cases, use the following guidelines: Record the expected result of each test case. Verify that the actual results meet the expected results. Have someone other than the test creator run the test. Track issues that you find during a testing cycle.

16-20 Copyright © 2004, Oracle. All rights reserved. Set up controlled environment. Run test cases. Test Execution Fix errors.Evaluate results. Acceptance tests FailedPassed

16-21 Copyright © 2004, Oracle. All rights reserved. Full Notes Page

16-22 Copyright © 2004, Oracle. All rights reserved. Example of Unit Test Plan Name: ______________________________ Module: _____________________________ Date test completed: __________________ Coverage log file location: _____________ Description: _________________________ Reviewed by: ________________________ Task ID Task Description Expected Result Verified (Yes/No) 1 2

16-23 Copyright © 2004, Oracle. All rights reserved. Summary In this lesson, you should have learned how to: Use Oracle Migration Verifier to verify that the schema and data migrated successfully Apply guidelines to design and run test cases on the migrated Oracle database

16-24 Copyright © 2004, Oracle. All rights reserved. Practice Overview: Testing the Migrated Oracle Database This practice covers the following topics: Interpreting the results of a DMV report Testing the migrated stored procedure Reviewing, correcting, and testing a trigger