Chapter 4. Data modeling: End to end 97
4.3.1 A starting point: The physical data model
Here we aim to create a logical data model of the target OLAP data warehouse
by first creating a physical data model of the OLTP production database. In our
example, this is a physical data model of the IWHPRD82 database on our lab
systems. It is worth noting that you can, as an alternative, always start with a new
blank logical data model in InfoSphere Data Architect.
To start this process, perform these steps:
1. Start InfoSphere Data Architect and create a workbench storage area, if one
has not already been assigned.
2. Create a new Data Project to store your work by selecting from the main
menu File New Data Design Project.
3. Within the wizard, give the new project a name, for example, Redbooks
Model, then select Finish. This creates a new project within the Data Project
Explorer window.
Note that a number of subsections under the main project name have been
created automatically. These are directories on the file system within the
workbench area. Those of interest to us are the Data Diagram and Data
Model directories, which currently are empty.
4. Within the Project Explorer area, right-click the Data Model directory and
select New Physical Data Model.
5. In the opened wizard, edit the file name “Physical Data Model” to be
something more meaningful. We use IWHPRD82-CSTINSIGHT, which is the
Our examples: The examples detailed in this section are all based on the
schemas and tables contained in the IWHPRD82 database hosted within the
InfoSphere Warehouse VMware image detailed in 3.3, “Example architecture
used in this book” on page 77. This is a demonstration database that is
created from the models and schemas supplied as part of the InfoSphere
Warehouse Customer Insight Pack.
As such, the implementation of the database has already been developed
from a dimensioned logical star schema model. Therefore, for our exercises in
this chapter, we have to apply a small element of artistic license. As an
example, the modeling process normally starts with a physical model of a
OLTP production database that we did not have, so we started with a physical
model of our OLAP database.