12.07.2015 Views

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C<strong>on</strong>tentsvDeveloping: Databases — <str<strong>on</strong>g>Migrating</str<strong>on</strong>g> the Database Users .................................................... 143Introducti<strong>on</strong> and Goals..........................................................................................................................143Create User Accounts...........................................................................................................................143Create Roles and Grant Privileges .......................................................................................................145Sample User Migrati<strong>on</strong> .........................................................................................................................147Developing: Databases — <str<strong>on</strong>g>Migrating</str<strong>on</strong>g> the Data........................................................................ 153Introducti<strong>on</strong> and Goals..........................................................................................................................153Planning the Data Migrati<strong>on</strong>..................................................................................................................153Opti<strong>on</strong>s <str<strong>on</strong>g>for</str<strong>on</strong>g> Migrati<strong>on</strong> .....................................................................................................................153Fac<strong>to</strong>rs in Migrati<strong>on</strong> .......................................................................................................................155Migrati<strong>on</strong> Strategy..........................................................................................................................156Executing the Data Migrati<strong>on</strong>................................................................................................................157Pre-Implementati<strong>on</strong> Tasks.............................................................................................................158Implementati<strong>on</strong> Tasks....................................................................................................................160Post-Implementati<strong>on</strong> Tasks ...........................................................................................................165Validating the Data Migrati<strong>on</strong>.........................................................................................................165Developing: Databases — Unit Testing the Migrati<strong>on</strong>........................................................... 167Introducti<strong>on</strong> and Goals..........................................................................................................................167Objectives of Testing ............................................................................................................................167The Testing Process.............................................................................................................................168Test Database Integrity..................................................................................................................169Test Security..................................................................................................................................169Validate Data .................................................................................................................................170Validate the Migrati<strong>on</strong> ....................................................................................................................170Developing: Applicati<strong>on</strong>s — Introducti<strong>on</strong>............................................................................... 173Introducti<strong>on</strong> and Goals..........................................................................................................................173Applicati<strong>on</strong> Migrati<strong>on</strong> Strategies ...........................................................................................................174Interoperati<strong>on</strong> ................................................................................................................................174Port or Rewrite <strong>to</strong> .NET Framework...............................................................................................175Port or Rewrite <strong>to</strong> Win32................................................................................................................175Quick Port Using Windows Services <str<strong>on</strong>g>for</str<strong>on</strong>g> <strong>UNIX</strong>...............................................................................176Scenarios and Cases............................................................................................................................176Developing: Applicati<strong>on</strong>s —<str<strong>on</strong>g>Migrating</str<strong>on</strong>g> <str<strong>on</strong>g>Oracle</str<strong>on</strong>g> <strong>SQL</strong> and PL/<strong>SQL</strong>............................................ 177Introducti<strong>on</strong> ...........................................................................................................................................177<str<strong>on</strong>g>Migrating</str<strong>on</strong>g> Data Access..........................................................................................................................177Sample Tables...............................................................................................................................179Migrati<strong>on</strong> Process Overview ..........................................................................................................181Step 1: Extracti<strong>on</strong> of Data Access .................................................................................................182Step 2: Transacti<strong>on</strong> Management..................................................................................................202Step 3: Fetch Strategy ...................................................................................................................203Step 4: Subprograms C<strong>on</strong>versi<strong>on</strong>..................................................................................................206Step 5: Job Scheduling..................................................................................................................213Step 6: Interface File C<strong>on</strong>versi<strong>on</strong>...................................................................................................217Step 7: Workflow Au<strong>to</strong>mati<strong>on</strong> ........................................................................................................217Step 8: Per<str<strong>on</strong>g>for</str<strong>on</strong>g>mance Tuning..........................................................................................................218Developing: Applicati<strong>on</strong>s — <str<strong>on</strong>g>Migrating</str<strong>on</strong>g> Perl............................................................................ 223Introducti<strong>on</strong> and Goals..........................................................................................................................223Introducti<strong>on</strong> <strong>to</strong> the Perl DBI Architecture...............................................................................................224Scenario 1: Interoperati<strong>on</strong> of Perl <strong>on</strong> <strong>UNIX</strong> with <strong>SQL</strong> <strong>Server</strong>................................................................225Case 1: Interoperating an ODBC DBD Applicati<strong>on</strong>........................................................................226Case 2: Interoperating an <str<strong>on</strong>g>Oracle</str<strong>on</strong>g> DBD Applicati<strong>on</strong>........................................................................228Scenario 2: Porting the Perl Applicati<strong>on</strong> <strong>to</strong> Windows ............................................................................232Case 1: Porting a Perl Applicati<strong>on</strong> using ODBC DBD....................................................................232Case 2: Porting a Perl Applicati<strong>on</strong> Using <str<strong>on</strong>g>Oracle</str<strong>on</strong>g> DBD...................................................................234Developing: Applicati<strong>on</strong>s — <str<strong>on</strong>g>Migrating</str<strong>on</strong>g> PHP ........................................................................... 237Introducti<strong>on</strong> and Goals..........................................................................................................................237PHP Modules........................................................................................................................................238Scenario 1: Interoperating PHP <strong>on</strong> <strong>UNIX</strong> with <strong>SQL</strong> <strong>Server</strong>...................................................................240Case 1: Interoperating a PHP Applicati<strong>on</strong> Using ORA Functi<strong>on</strong>s ..................................................240

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!