Search found 124 matches

by fmou
Wed Nov 09, 2011 3:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hash partitioning and sorting
Replies: 8
Views: 7031

hmm.... hold on, things now get complicated. Say I need to join two streams (A & B) with the same join keys student_id and course_id. stream A is hashed on student_id, and stream B is hashed on course_id, But when coming into the join stage, they all both sort on student_id first and then course...
by fmou
Wed Nov 09, 2011 3:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hash partitioning and sorting
Replies: 8
Views: 7031

there's no strict rule that it must be one of the key columns
hmm..., I was thinking of the fully normalized BNF3 tables, in which no any sub group of the fields in the table is functionally dependent on any fields other than the candidate keys.
by fmou
Wed Nov 09, 2011 11:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup reject file warning
Replies: 3
Views: 2620

Keep in mind that this warning is from the sequential file stage, not the lookup stage and concerns your reject output
but the solution I found is to fix the lookup stage, hence my question.

Thanks
by fmou
Wed Nov 09, 2011 11:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join stage requirements
Replies: 8
Views: 5771

double post deleted.
by fmou
Wed Nov 09, 2011 11:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join stage requirements
Replies: 8
Views: 5771

I see the source of confusion, though, if you treat the key list as a set of fields then POSTCODE is a subset of (POSTCODE, HOUSENUM)
Thanks for the clarification, Phil.
by fmou
Wed Nov 09, 2011 10:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hash partitioning and sorting
Replies: 8
Views: 7031

Hash partitioning and sorting

Following up on http://www.dsxchange.com/viewtopic.php?t=142981 with a different focus. So my understanding of the hash partitioning and sorting usage and best practice so far is, EDITED, 5th edition: Best practice & goal: choose as minimum keys to partition as possible as long as rows can be di...
by fmou
Wed Nov 09, 2011 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join stage requirements
Replies: 8
Views: 5771

Partitioning must be a superset of the key that you are using for joining, or aggregating, or whatever.
Hi Phil,

Did you mean subset of the keys?
Sorry, not trying to be nitpicky here but to make it crystal clear.

Thanks
by fmou
Wed Nov 09, 2011 10:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup reject file warning
Replies: 3
Views: 2620

lookup reject file warning

Hi, If I use a sequential file as the reject file for the lookup stage, I always get the following warning: Warning: A sequential operator cannot preserve the partitioning of input data set on input port 0 How to solve the problem? What if I do want to preserve the partitioning for the lookup stage'...
by fmou
Tue Nov 08, 2011 3:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Query Reg. Join Stage
Replies: 5
Views: 1813

left outer join throughout all the tables
by fmou
Tue Nov 08, 2011 12:49 pm
Forum: General
Topic: Background information about a job
Replies: 12
Views: 3563

cmd = 'kill -9 ':out:''
That's pretty heavy-handed method. FYI you can also write a shell script to kill those un-killable jobs. Make your code simpler.
by fmou
Tue Nov 08, 2011 12:37 pm
Forum: General
Topic: Comparing the code
Replies: 3
Views: 1628

or, if they have to stay protected, then export & import into a different server, then compare.
by fmou
Tue Nov 08, 2011 12:03 pm
Forum: General
Topic: Link label location
Replies: 1
Views: 1160

Link label location

Hi, I pay extra attention to where I place my link labels, so that the job execution statistics can show up nicely. However, I noticed that my carefully placed labels sometimes will revert to its default locations after I reopen the job, after I've save & compile it of course. Has anyone noticed...
by fmou
Tue Nov 08, 2011 11:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Compilation, Execution and Combination
Replies: 6
Views: 1843

Job Compilation, Execution and Combination

Hi, Just trying to understand how the Job Compilation and Execution basically works. To my understanding, basically, Job Compilation does 2 things, 1. Generates OSH script that represents data flow and stages 2. Generates transform code for each Transformer, then compiled them into C++ and then to c...
by fmou
Tue Nov 08, 2011 11:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partition Table option in Oracle Enterprise Stage
Replies: 4
Views: 2993

Hi, Just to confirm, Is there any special requirement for oracle database to use the Partition Table option in oracle Enterprise stage? As per craig, Well... there will be specific indexes that support the partitioning, but yes - only if the table itself is partitioned. ... there are special require...