Trickle Feed Package Scripts

This section provides details about the scripts corresponding to Trickle Feed for Oracle, SQL, DB2 and NuoDB databases and script execution.

Oracle

This section provides details of the scripts, which need to be executed in both DLM and LIVE databases to trigger DLM movement for Oracle.

DLM Database Scripts

The following are the required DLM database scripts for Oracle.

LIVE Database Scripts

The following are the required LIVE database scripts for Oracle.

MSSQL

This section provides details of the scripts, which need to be executed in both DLM and LIVE databases to trigger DLM movement for SQL.

DLM Installation Scripts

This contains all the pre-requisite SQL scripts to be executed in both DLM and LIVE databases. DLM movement should start after executing this scripts in the respective databases. The scripts given below is a kind of template, using which the implementation team will prepare the correct SQLs.

DLM Database Scripts

The following are the required DLM database scripts for SQL.

LIVE Database Scripts

The following are the required LIVE database scripts for SQL.

DB2

This section provides details of the scripts, which need to be executed in both DLM and LIVE databases to trigger DLM movement for DB2.

DLM Installation Scripts

This contains all the pre-requisite DB2 scripts to be executed in both DLM and LIVE databases. DLM movement should start after executing this scripts in the respective databases. The scripts given below is a kind of template, using which the implementation team will prepare the correct SQLs.

DLM Database Scripts

The following are the required DLM database scripts for DB2.

LIVE Database Scripts

The following are the required LIVE database scripts for DB2.

NuoDB

This section provides details of the scripts, which need to be executed in both DLM and LIVE databases to trigger DLM movement for NuoDB.

DLM Installation Scripts

This contains all the pre-requisite NuoDB scripts to be executed in both DLM and LIVE databases. DLM movement should start after executing this scripts in the respective databases. The scripts given below is a kind of template, using which the implementation team will prepare the correct SQLs.

DLM Database Scripts

The following are the required DLM database scripts for NuoDB.

LIVE Database Scripts

The following are the required LIVE database scripts for NuoDB.

Script Execution

The distribution team supplies the DLM Trickle Feed package as a compressed folder. This folder includes two generic scripts— GenericScript-MSSSQL and GenericScript-Oracle. You can copy the generic script appropriate for your database and modify as required. You can use the corresponding sample script (SampleScript-MSSQL or SampleScript-Oracle) as reference.

EXAMPLE:

The following script is for FBNK. If there is more than one company, the script has to be copied and modified for each company.

CREATE TABLE ro.FBNK_STMT_ENTRY#RO COMPRESS FOR ALL OPERATIONS XMLTYPE XMLRECORD STORE AS SECUREFILE BINARY XML (ENABLE STORAGE IN ROW RETENTION CACHE COMPRESS HIGH) PARTITION BY RANGE (PDATE) INTERVAL (NUMTOYMINTERVAL(1,'MONTH')) store in (TSRO1,TSRO2,TSRO3,TSRO4,TSRO5,TSRO6,TSRO7,TSRO8,TSRO9,TSRO10,TSRO11,TSRO12,TSRO13) (PARTITION p1 VALUES LESS THAN (TO_DATE('20170301', 'YYYYMMDD'))) AS SELECT source.* , CAST('' AS DATE) AS PDATE FROM FBNK_STMT_ENTRY@LINK2T24 source WHERE 1=0;

After the scripts are ready, execute them in the corresponding DLM or LIVE database. The following screen captures illustrate the output of the different scripts run in the DLM database.

Copy Function

Table Space Creation

Table Creation

View Creation

NOTE: You need to have the required permission to create and execute each script in the database.

 


Bookmark Name Actions
Feedback
x