Oracle® Retail Data Model Reference Release 11.3.1 Part Number E20361-01 |
|
|
PDF · Mobi · ePub |
Some tables are defined in the ordm_sys
schema and use a DWC_ prefix; these are control tables. You use the DWC_ control tables when processing the model. For example, when you are loading data or when you are monitoring errors.
This appendix includes the following sections:
Invoke the procedure pkg_intra_etl_process.run
to manually execute the Intra-ETL. Before you run the Intra-ETL, for an incremental load, you must update the Oracle Retail Data Model Relational ETL parameters in DWC_ETL_PARAMETER
table so that this information can be used when loading the relational data. This program reads several ETL parameters (functional/operational/environmental) from DWC_ETL_PARAMETER
table, as shown in Table A-1, and DWC_OLAP_ETL_PARAMETER
table, as shown in Table A-2.
The PKG_DWD* packages load data from Oracle Retail Data Model base tables into the Oracle Retail Data Model derived tables. These packages read relational ETL parameters from the DWC_ETL_PARAMETER
table.
You update the parameters in DWC_ETL_PARAMETER
control table in the ordm_sys
schema so that this information can be used when loading the derived and aggregate tables and views.
Table A-1 describes the valid values for the DWC_ETL_PARAMETER
table.
Table A-1 DWC_ETL_PARAMETER Table
Column | Description |
---|---|
Process_name |
ORDM-INTRA-ETL |
from_date_etl |
The start date of ETL period. |
to_date_etl |
The end date of ETL period. |
load_dt |
The date when this record are populated. |
last_updt_dt |
The date when this record are last updated |
last_updt_by |
The user who last updated this record |
The OLAP MAP mapping that loads OLAP cube data invokes the analytic workspace build function from the PKG_ORDM_OLAP_ETL_AW_LOAD
package. This package loads data from Oracle Retail Data Model aggregate materialized views into the Oracle Retail Data Model analytical workspace and calculates the forecast data. The PKG_ORDM_OLAP_ETL_AW_LOAD
reads OLAP ETL parameters from the DWC_OLAP_ETL_PARAMETER
table.
You update the Oracle Retail Data Model OLAP ETL parameters in DWC_OLAP_ETL_PARAMETER
control table in the ordm_sys
schema so that this information can be used when loading the OLAP cube data.
Table A-2 describes the valid values for the DWC_OLAP_ETL_PARAMETER
table. For more information on the values to specify when performing an initial load of OLAP cube data or when refreshing the OLAP cubes after an initial load, see Oracle Retail Data Model Operations Guide.
Table A-2 ETL Parameters in DWC_OLAP_ETL_PARAMETER
Column Name | Value |
---|---|
|
Use the build method parameter to indicate a full or a fast (partial) refresh. The following are the possible values for
Note: In a fast refresh, only changed rows are inserted in the cube and the affected areas of the cube are re-aggregated. The The For initial load, specify |
|
For initial load, specify |
|
One of the following values depending on whether you calculate forecast cubes:
For initial load, specify |
|
One of the following values that specifies the cubes you build:
For initial load, specify |
|
If the value for the For initial load, specify |
|
If the value for the
For example:
For initial load, specify |
|
If the value for the For example: For initial load, specify |
|
A decimal value that specifies the number of parallel processes to allocate to this job. (Default value is |
|
If the value for the For initial load, specify |
|
Not used. Specify NULL. |
|
Not used. Specify NULL. |
|
|
The two control table in the ordm_sys
schema, DWC_INTRA_ETL_PROCESS
and DWC_INTRA_ETL_ACTIVITY
, monitor the execution of the Intra-ETL process.
Table A-3 contains column name information for DWC_INTRA_ETL_PROCESS
. Table A-4 contains column name information for DWC_INTRA_ETL_ACTIVITY
.
Table A-3 DWC_INTRA_ETL_PROCESS Columns
Columns Name | Data Type | Not Null | Remarks |
---|---|---|---|
PROCESS_KEY |
NUMBER(30) |
Yes |
Primary Key, System Generated Unique Identifier |
PROCESS_START_TIME |
DATE |
Yes |
ETL Process Start Date and Time |
PROCESS_END_TIME |
DATE |
ETL Process End Date and Time |
|
PROCESS_STATUS |
VARCHAR2(30) |
Yes |
Current status of the process |
FROM_DATE_ETL |
DATE |
Start Date (ETL) - From Date of the ETL date range |
|
TO_DATE_ETL |
DATE |
End Date (ETL) - To Date of the ETL date range |
|
LOAD_DT |
DATE |
Record Load Date - Audit Field |
|
LAST_UPDT_DT |
NUMBER(30) |
Last Update Date and Time - Audit Field |
|
LAST_ UPDT_BY |
VARCHAR(30) |
Last Update By - Audit Field |
Table A-4 DWC_INTRA_ETL_ACTIVITY Columns
Columns Name | Data Type | Not Null | Remarks |
---|---|---|---|
ACTIVITY_KEY |
NUMBER(30) |
Yes |
Primary Key, System Generated Unique Identifier |
PROCESS_KEY |
NUMBER(30) |
Yes |
Process Key. FK to DWC_INTRA_ETL_ PROCESS table |
ACTIVITY_NAME |
VARCHAR2(50) |
Yes |
Activity Name or Intra ETL Program Name |
ACTIVITY_DESC |
VARCHAR2(500) |
Activity description |
|
ACTIVITY_START_TIME |
DATE |
Yes |
Intra ETL Program Start Date and Time |
ACTIVITY_END_TIME |
DATE |
Intra ETL Program End Date and Time |
|
ACTIVITY_STATUS |
VARCHAR2(30) |
Yes |
Current status of the process |
ERROR_DTL |
VARCHAR2(2000) |
Error details if any |
|
LOAD_DT |
DATE |
Record Load Date - Audit Field |
|
LAST_UPDT_DT |
NUMBER(30) |
Last Update Date and Time - Audit Field |
|
LAST_ PDT_BY |
VARCHAR(30) |
Last Update By - Audit Field |