Extracting at different times

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
vsi
Premium Member
Premium Member
Posts: 507
Joined: Wed Mar 15, 2006 1:44 pm

Extracting at different times

Post by vsi »

Hi,

I am creating Client Dimensions. With relationship as follows

Code: Select all

                -------< clt_dim1
              /
dim_clt   ---------< clt_dim2
I have extract jobs for dim_clt (10), clt_dim1(5), clt_dim2(5).

I have few questions on the design.

a) As dim_clt has to be done prior to clt_dim1, clt_dim2. Does this mean that even the extract jobs should be done prior or shall i do the extracts of all at the same time.
--> My guess all at the same time.

b) If one extract job fails, do we need to extract all - to be in sync??
--> My guess to extract all
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

a) As dim_clt has to be done prior to clt_dim1, clt_dim2. Does this mean that even the extract jobs should be done prior or shall i do the extracts of all at the same time.
--> My guess all at the same time.
"Correct"

b) If one extract job fails, do we need to extract all - to be in sync??
--> My guess to extract all
Usually, No need to extract all.
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Post by Krazykoolrohit »

Extraction does not depend on any of your relationships as far as none of your tables get updated. So if you have extracted dim_clt and then while extracting clt_dim1, dim_clt adds/delete on one more row then you may face difficulties as far as referential integrity is concerned.

So to be on safer side i guess you should do all the extractions simultaneously everytime. (assuming that the data in one table can get updated while you are extracting another)
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Re: Extracting at different times

Post by narasimha »

vsi wrote:a) As dim_clt has to be done prior to clt_dim1, clt_dim2.
If dim_clt has to be done prior to clt_dim1, clt_dim2
Then extract jobs for dim_clt should be done prior to clt_dim1, clt_dim2.
Unless there is there no dependencies of clt_dim1, clt_dim2 on dim_clt.
Did I understand you right?
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Re: Extracting at different times

Post by Krazykoolrohit »

narasimha wrote:
vsi wrote:a) As dim_clt has to be done prior to clt_dim1, clt_dim2.
If dim_clt has to be done prior to clt_dim1, clt_dim2
Then extract jobs for dim_clt should be done prior to clt_dim1, clt_dim2.
Unless there is there no dependencies of clt_dim1, clt_dim2 on dim_clt.
Did I understand you right?
Its not loading of tables hes talking about. Its just extraction.
vsi
Premium Member
Premium Member
Posts: 507
Joined: Wed Mar 15, 2006 1:44 pm

Post by vsi »

Thanks, got it, I will extract them at the same time.
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Re: Extracting at different times

Post by narasimha »

Krazykoolrohit wrote: Its not loading of tables hes talking about. Its just extraction.
My bad, I did not understand it correctly!
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
Post Reply