The Date dimension is a well known construct in
general data warehousing. In many cases, the data for
a date dimension is generated using a database stored procedure
or shell-script.
Another approach to obtain the data for a date dimension is to
generate it using an ETL tool like Pentaho Data
Integration, a.k.a. Kettle. I think this approach makes sense for a
number of reasons:
-
- When you tend to use a particular ETL tool, you will be able
to reuse the date dimension generator over an over, and on
different database platforms.
- You won't need special database privileges beyond the ones you need …