Inder - Offhand I'd say everything depends on how much data you are loading,
and the available time window. We do the type of validation you suggest on
our DW, but it is relatively small in the universe of DWs and we only load
it on the weekend. On a really large DW, your scheme might cause the load
times to be unreasonably large. What I have heard from the really large
sites is that they often use Unix utilities to perform data cleaning before
loading.
Often the main advantage of primary keys is to help prevent someone
at your site from accidentally loading the same data twice.
Dennis Williams
DBA, 20% OCP
Lifetouch, Inc.
[EMAIL PROTECTED]
-----Original Message-----
Sent: Wednesday, June 12, 2002 11:03 AM
To: Multiple recipients of list ORACLE-L
Hi,
I am in the process of designing the data warehouse. My Question is can I
define the relationship between dimension tables. Like I have
country,customer and time zone dimension tables. Can I add relationship
between customer,country and time zone just to validate the data before load
whether the country and zip code is correct or should I integrate the
country and time zone with customer itself. If I integrate this. Is it going
to affect the performance. 'cos for every record it is going to validate all
these things before load.
Can I create sequences for primary keys(fact tables and for some of the
dimenasion tables also). Is it OK to have a sequence as primary key.
I need your expert views on this.
Regards,
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: DENNIS WILLIAMS
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).