Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Migrateing custome made Oracle database solutions to a HANA database without 3.party ETL tools

$
0
0

Migrateing custome made database solutions to a HANA database without 3.party ETL tools

like Informatica, BODS, SLT, ...


This applies to any type of custom made database solution: DB2, Oracle, MS SQL Server

 

This method uses ODBC Drivers, SMDA, Virtual Tables only.

 

1.) Reverse Engineer Oracle DDL and migrate to HANA DDL:

 

Option 1 a)

For Oracle Use Ispirer , http://www.ispirer.com/products/migrate-oracle-to-sap-hana, - Migrate Oracle DDL to SAP HANA

Check for constraints

Decide for Row store / Column Store Tables

 

Option 1 b)

For Oracle try to use the method from Migrating Custom schemas from Oracle DB to HANA DB, Option2):viaORACLE Dump
Check for constraints

Decide for Row store / Column Store Tables

 

2.) Create semi automated Virtual Table SDA DDL code:

In HANA, setup  a SQL Meta query to generate Virtual DATA SDA's SQL-DDL Code for all tables in a shot into a file

 

3.) Create sei automated  SQL DML code:

In HANA, setup a SQL Meta query to generate Virtual DATA SDA's SQL DML Code in a shot into a file

 


Here is a rough Sample for a SQL Meta Query:

Select 'Insert into '||table||' as select * from myVitrltable'||virtual_table||';'        "SQL_DDL_STRING"
from tables

where owner = ‘ABCD’

 

It might be necessary to make a HANA Procedure for that, writeing into  an interims table,
if the SQL code to be generated is not of linear syntax.

 

2 DDL statements necessary ? 2 SQL Meta queries necessary

Got columns stores ? Don’t forget the merge DDL after the insert.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>