Time for action – loading the dimensions for the sales datamart
In this section, you will load each dimension for the sales datamart and enclose them into a single job. Before starting, check the following things:
- Check that the database engine is up and that both the
js
and thejs_dw
databases are accessible from PDI. - If your time dimension table
lk_time
has data, truncate the table. Remember that you can do it by right-clicking on the table in the database explorer and selecting the Truncate Table option.Tip
You may reuse the
js_dw
database in which you have been loading data in previous chapters. There is no problem with that. However, dropping the database and creating the tables again is preferred so that you can see how the entire process works.
The explanation will be focused on the general process. For details on creating a transformation that loads a particular type of dimension, please refer to Chapter 9, Performing Advanced Operations with Databases. You can also download...