Yes this is an interesting question, I remember we
have debated on do we use a generated key or not for
the time dimension. We used a date field as the daily
time dimension key, the time portion of the date field
was truncated.
This was in 1997.
We had 3 time dimensions , a daily one, a monthly one
and a production one ( 2 weeks of 4 days, then 1 week
of 5 days, then 2 weeks of 4 days,....)
- Jared.Still_at_radisys.com a écrit : > This
discussion raises an interesting question.
>
> Do your fact tables have a date column in them?
>
> If so, how do you correlate that with the date/time
> dimension table?
>
> If you use a local date column to control the
> partitioning rather
> than a PK from the date/time dimension, user queries
> based on
> the date/time dimension won't be able to use
> partition elimination.
>
> Personally, I see no need for a date column in the
> fact table.
>
> Jared
>
>
>
>
>
>
> paquette stephane <stephane_paquette_at_yahoo.com>
> Sent by: root_at_fatcity.com
> 08/06/2002 08:43 AM
> Please respond to ORACLE-L
>
>
> To: Multiple recipients of list ORACLE-L
> <ORACLE-L_at_fatcity.com>
> cc:
> Subject: Re: Rolling partitions
>
>
> I've done that in a datawarehouse system.
> The fact tables were partitionned by date.
> Some fact tables were keeping different number of
> months : 6o, 12, 15,...
> This was handle in the metadata tables and was
> written
> with PL/SQL (Oracle 8). You can do a lot of things
> with PS/SQL.
> So the metadata was containg the table name, the
> naming convention of the partition, the naming
> convention for the tablespace, disks name, the
> number
> of partition per table, ...
> Data was moved into retention data tables then the
> partition were rolling : creation of new
> tablespaces,
> creation of new partition, moving data to the
> retention tables, dropping partition,...
>
> HTH
>
> --- Tracy Rahmlow <tracy.rahmlow_at_aexp.com> a
> écrit :
> > I am finally looking to implement partitioning and
> > have some issues with
> > rolling partitions by date. (Ie add partion p0802
> > and drop p0801) Does
> > anybody have or know of a generic
> procedure/process
> > that will allow the
> > automation of this? I envision a number of
> > parameters being passed in. For
> > example, time period & table ... Or is there an
> > alternative that I need to
> > consider? (other than manual)
> >
> > Thanks
> >
> >
> > --
> > Please see the official ORACLE-L FAQ:
> > http://www.orafaq.com
> > --
> > Author: Tracy Rahmlow
> > INET: tracy.rahmlow_at_aexp.com
> >
> > 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: ListGuru_at_fatcity.com (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).
>
> =====
> Stéphane Paquette
> DBA Oracle, consultant entrepôt de données
> Oracle DBA, datawarehouse consultant
> stephane_paquette_at_yahoo.com
>
>
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et
> en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: =?iso-8859-1?q?paquette=20stephane?=
> INET: stephane_paquette_at_yahoo.com
>
> 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: ListGuru_at_fatcity.com (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:
> INET: Jared.Still_at_radisys.com
>
> 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: ListGuru_at_fatcity.com (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).
Stéphane Paquette
DBA Oracle, consultant entrepôt de données
Oracle DBA, datawarehouse consultant
stephane_paquette_at_yahoo.com
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail :
http://fr.mail.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: =?iso-8859-1?q?paquette=20stephane?=
INET: stephane_paquette_at_yahoo.com
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: ListGuru_at_fatcity.com (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).
Received on Tue Aug 06 2002 - 14:28:29 CDT