Load 1 crore records into 3 different targets having 25 L records in each?

I have 1 crore record in my table and I have to load 25 Lakh in 1st target, 25L in 2nd target and 25L in 3rd target? How to load 1 crore records into 3 different targets having 25 L records in each?

Questions by Rinky   answers by Rinky

Showing Answers 1 - 15 of 15 Answers

Anupam Kumar

  • Apr 8th, 2016
 

Attach sequence with data. In Router create three group and put condition 1. seq.val<=250000. 2. seq.val>=250001 AND seq.val<=500000 and 3. seq.val>=500001 AND seq.val<=7500000

  Was this answer useful?  Yes

Savitri

  • Apr 21st, 2016
 

Use sequention generator and divide groups in router 1st grp < 2500001 sec grp < 5000001.

  Was this answer useful?  Yes

KUMAR

  • May 13th, 2016
 

src to SORTER---> AGG---->SEQ---->EXP---> router
in router create 3 groups s1 s2
condition if sno <=count/4
condition if sno > cont/4 and <=count/2
DEFAULT--> TAKE A ROUTER
CREATE A GROUP S3
SNO = COUNT/2

  Was this answer useful?  Yes

Venkat

  • Jun 13th, 2016
 

Pass Source qualifier to Expression

Expression Condition
Variable port(V_COUNT) - IIF(V_COUNT < = 75000,1,V_COUNT+1)
O/P (Port segregation) - decode(true, V_COUNT < = 25000,1
V_COUNT>25000 and V_COUNT < = 50000,2
V_COUNT>50000,3,NULL)

V_COUNT will generate sequence number (1 to 75000) for entire record set,
Once it reaches 75000 again it will triggered back to 1

Output port will generate 1/2/3 respective values based on V_COUNT details.

Now create 3 ports in Router and divert to O/P based on numbering 1/2/3

  Was this answer useful?  Yes

vinit

  • Jun 22nd, 2016
 

(SQ + Seq Gen) ---> Exp ---> sorter ----> router (having four groups for seq gen port) ---> four targets

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions