Re: Validating Surrogate Keys
From: TP (thom_at_pantazi.net)
Date: 11/09/04
- Next message: Dave Wickert [MSFT]: "Re: Validating Surrogate Keys"
- Previous message: Alejo Leguizamo \(MVP SQL\): "Re: Duplicating a database"
- In reply to: Dave Wickert [MSFT]: "Re: Validating Surrogate Keys"
- Next in thread: Dave Wickert [MSFT]: "Re: Validating Surrogate Keys"
- Reply: Dave Wickert [MSFT]: "Re: Validating Surrogate Keys"
- Messages sorted by: [ date ] [ thread ]
Date: 8 Nov 2004 19:58:46 -0800
Thanks, Dave. We aren't using Analysis Services. We are using Cognos
to build our cubes, it doesn't such a feature. What do you think of
the script idea?
"Dave Wickert [MSFT]" <dwickert@online.microsoft.com> wrote in message news:<ekhnpwexEHA.3376@TK2MSFTNGP12.phx.gbl>...
> Using Analysis Services, we fully expect that RI will not necessarily be
> in-place with your DW. Thus when we are building cubes from this data,
> Analysis Services has an optional exception reporting facility where it will
> log off to a separate file any records which are processed into cubes with
> missing dimension entries. This allows you to collect (and report on) which
> facts have missing surrogate keys.
> --
> Dave Wickert [MSFT]
> dwickert@online.microsoft.com
> Program Manager
> BI SystemsTeam
> SQL BI Product Unit (Analysis Services)
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "TP" <thom@pantazi.net> wrote in message
> news:7d353aba.0411081318.645fafc5@posting.google.com...
> > We have a small data warehouse (less than 50 million rows in roughly
> > 75 gigabytes) however, it is growing steadily. We have noticed that
> > we get much better performance on queries when there are no foreign
> > key constraints. We have demonstrated a 14% improvement. I am aware
> > that many data warehouses are designed without foreign key constraints
> > to improve the load performance of the ETL process. We have yet to
> > need that, as a matter of fact until now, we have used a script to
> > build the constraints before the ETL process and drop them after it.
> >
> > The process of rebuilding the constraints is time consuming. As more
> > data is put into the warehouse the time to build the constraints will
> > continue to become longer. At some point we anticipate it impacting
> > our batch window. It has been my recommendation that we completely
> > remove the constraints and leave them off.
> >
> > Since our use for the constraints is to check the integrity of the ETL
> > process, I was wondering if anyone has a methodology for validating
> > the surrogate keys besides building foreign key constraints. We have
> > considered building a series of test scripts that will perform selects
> > against the data looking for invalid key values.
> >
> > Thanks,
> > Thom
- Next message: Dave Wickert [MSFT]: "Re: Validating Surrogate Keys"
- Previous message: Alejo Leguizamo \(MVP SQL\): "Re: Duplicating a database"
- In reply to: Dave Wickert [MSFT]: "Re: Validating Surrogate Keys"
- Next in thread: Dave Wickert [MSFT]: "Re: Validating Surrogate Keys"
- Reply: Dave Wickert [MSFT]: "Re: Validating Surrogate Keys"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|