Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Storing natural keys in the dimension tables, to aid ETL m..

 
   Database Help (Home) -> Data Warehouse RSS
Next:  Updating data in a data warehouse  
Author Message
Jay Way

External


Since: Apr 07, 2008
Posts: 2



(Msg. 1) Posted: Mon Apr 07, 2008 11:04 am
Post subject: Storing natural keys in the dimension tables, to aid ETL matching
Archived from groups: microsoft>public>sqlserver>datawarehouse (more info?)

I'm a beginner at DW and BI. I'm posting to this NG because my current
(and first) data warehouse project is using SQL Server 2005 and my
question is regarding the Kimball book "The Microsoft Data Warehouse
Toolkit" (2006).

The authors are saying to store in your dimension tables the natural-
key counterpart to the primary identity key, in the enterprise data
model, so that you can match on it when looking up surrogate keys
during fact table load (page 267). But this seems like a pollution of
the dimensional model with ETL-support data if the natural keys were
not specified in the data model by a business requirement.

Am I reading this wrong? Thanks for any reply.

-- Josh

 >> Stay informed about: Storing natural keys in the dimension tables, to aid ETL m.. 
Back to top
Login to vote
David Portas

External


Since: Nov 11, 2003
Posts: 854



(Msg. 2) Posted: Tue Apr 08, 2008 8:55 pm
Post subject: Re: Storing natural keys in the dimension tables, to aid ETL matching [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Jay Way" wrote in message

> I'm a beginner at DW and BI. I'm posting to this NG because my current
> (and first) data warehouse project is using SQL Server 2005 and my
> question is regarding the Kimball book "The Microsoft Data Warehouse
> Toolkit" (2006).
>
> The authors are saying to store in your dimension tables the natural-
> key counterpart to the primary identity key, in the enterprise data
> model, so that you can match on it when looking up surrogate keys
> during fact table load (page 267). But this seems like a pollution of
> the dimensional model with ETL-support data if the natural keys were
> not specified in the data model by a business requirement.
>
> Am I reading this wrong? Thanks for any reply.
>
> -- Josh


You will always have a potential natural key in your tables if you eliminate
duplicate rows properly in your ETL process. It wouldn't make much sense as
a business requirement to have rows with different surrogate keys that were
duplicated on all other columns.

--
David Portas

 >> Stay informed about: Storing natural keys in the dimension tables, to aid ETL m.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Incremental cube update with changing data in M2M dimension - Hello, I have a question about use of many-to-many dimensions. There is a huge fact table joined to a dimension, and that dimension has a factless many-to-many table with attributes attached. Question: when attribues of a dimension record which has bee...

How many fact tables allowed per cube? - Can an OLAP cube contain more than one fact table?

Dim table being recoginized as Fact Tables - I'm using AS 2005, I'm trying to create a cube using the wizard and AS 2005 is detecting my Dimension tables as being fact tables and when I try to switch them to Dim table, it will not let me go further. Does anyone know how to get through this? These..

restore file/filegroup for partitioned tables - Hi. Our DB has Primary file group (data and log files are there) where all lookup are. has 2 big tables each on own partition (by date) with their indexes. so Primary has file xxx_data.mdf and xxx_log.ldf the 1 big table1 and its indexes are on..

SQL Scheduled Jobs - Is there a way to monitor schedule jobs and restart the jobs automatically when it faills and if it fails then notify the responsible person, is there a tool to do this ?
   Database Help (Home) -> Data Warehouse All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]