TM1 Cube extract to Oracle DB table (ODBC) - Help
Posted: Tue Sep 27, 2016 6:44 am
Hi All,
I have been using the ODBCOpen, ODBCOutput, ODBCClose commands in TI to push data from TM1 to Oracle via Insert statement in the DATA tab.
This process has been OK for small data sets but struggles with larger data sets i.e. 700k records.
To get around this, I have altered the TI to asciioutput each cell to csv in the data tab and am now trying to insert the csv into the Oracle table directly via the epilog.
Apparently this can be achieved in Microsoft SQL via BULK insert table from csv, but am struggling to find something similar in Oracle via ODBC that works.
The other method that I already know about is to ftp the csv file to the unix box shared by Oracle and then create an external table in the target schema@DB. But hoping there's an easier way...
Has anyone been able to do this? Any help would be appreciated.
Thanks!
I have been using the ODBCOpen, ODBCOutput, ODBCClose commands in TI to push data from TM1 to Oracle via Insert statement in the DATA tab.
This process has been OK for small data sets but struggles with larger data sets i.e. 700k records.
To get around this, I have altered the TI to asciioutput each cell to csv in the data tab and am now trying to insert the csv into the Oracle table directly via the epilog.
Apparently this can be achieved in Microsoft SQL via BULK insert table from csv, but am struggling to find something similar in Oracle via ODBC that works.
The other method that I already know about is to ftp the csv file to the unix box shared by Oracle and then create an external table in the target schema@DB. But hoping there's an easier way...
Has anyone been able to do this? Any help would be appreciated.
Thanks!