Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
on a Netezza appliance
Whitepaper
Deploying IBM Industry Data Models on a Netezza appliance
Page 2
Contents
This paper is divided into the following chapters:
Chapter 2 Page 6
Chapter 2, “Transforming the Logical Data Model to a Physical
Transforming the Logical Data Model to a
Data Model / DDL for deployment on a Netezza appliance”
Physical Data Model / DDL for deployment on a
outlines the steps required to transform the subset of the Logical
Netezza appliance
Data Model to a Physical Data Model, and from there generate
Data Definition Language (DDL) that can be run on a Netezza
Glossary of Abbreviated Terms Page 12
appliance.
References Page 12
- IT Architects
- IT Specialists
- Data Modelers
- Database Administrators
- Business Intelligence practitioners
Deploying IBM Industry Data Models on a Netezza appliance
Page 3
Executive Summary
The data warehouse design model is a Logical Data Model that can
be customized to meet the specific requirements of the business
and then transformed into a Physical Data Model / DDL to create the
data warehouse database.
Deploying IBM Industry Data Models on a Netezza appliance
Page 5
This subset data mart (logical) model forms the basis for the
transformation to a Physical Data Model, and subsequently to
DDL that can be executed on the Netezza appliance.
Deploying IBM Industry Data Models on a Netezza appliance
Page 6
In IDA, select the menu option: Data > Transform > Physical Data Model
In the resulting wizard, choose the following options:
Database: DB2 for Linux, Unix, and Windows
Note: DB2 is chosen because the DDL is syntactically
similar to Netezza DDL
Version: 9.7
Click Next followed by Finish to complete the creation of the Physical Data
Model.
Deploying IBM Industry Data Models on a Netezza appliance
Page 8
Input Description
input file Specifies the name of the input file i.e. the
physical data model (.dbm)
output file Specifies the name of the output file i.e. the
DDL script
Usage Examples
1) generate_ddl_from_dbm.ps1 ‘bdw_model.dbm’
‘bdw_nz_ddl.sql’ ‘;’ ‘random’ ‘999’ ‘REPLACE’
Generates a DDL script entitled bdw_nz_ddl.sql based on the
content of the Physical Data Model bdw_model.dbm, with the
following characteristics:
• Statement delimiter: ‘;’
• Data distribution: round-robin (if no explicit distribution key is
defined in the data model)
• Maximum table/column length is 999 characters
• Special characters (e.g. ‘-‘) are replaced with a valid alternative
2) generate_ddl_from_dbm.ps1 ‘bdw_model.dbm’
‘bdw_nz_ddl.sql’ ‘!’ ‘pk’ ‘255’ ‘ENCLOSE’
Generates a DDL script entitled bdw_nz_ddl.sql based on the
content of the Physical Data Model bdw_model.dbm, with the
following characteristics:
• Statement delimiter: ‘!’
• Data distribution: the table’s primary key is used as the distribution
key (if no explicit distribution key is defined in the data model)
• Maximum table/column length is 255 characters
• Table/column names are enclosed in quotation marks, to avoid
any issues with special characters
References
“Scoping the IBM Industry Model for banking using Enterprise Model
Extender and InfoSphere Data Architect” by Hermann Voellinger
Part No :
Release :