Geeks Talk

Prepare for your Next Interview




Load from source to different targets

This is a discussion on Load from source to different targets within the Data Warehousing forums, part of the Databases category; Scenario I have one table with 100 records. I have 5 diff targets.. From the source the first row should go to 1 target , II row to II target etc ...


Go Back   Geeks Talk > Databases > Data Warehousing

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-19-2008
Junior Member
 
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
raju.pk is on a distinguished road
Load from source to different targets

Scenario

I have one table with 100 records. I have 5 diff targets.. From the source the first row should go to 1 target , II row to II target etc V th row to 5 th tgt.. Again 6 th row to 1 , 7 row to 2 tgt.. etc.. How to do this?
Reply With Quote
The Following User Says Thank You to raju.pk For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 03-25-2008
Contributing Member
 
Join Date: Dec 2007
Location: INDIA
Posts: 36
Thanks: 1
Thanked 6 Times in 6 Posts
cme_prak is on a distinguished road
Re: Load from source to different targets

Hi Raju,

Using Round Robin Partition, we can do that scenario.

Thx,
Prakash
Reply With Quote
  #3 (permalink)  
Old 03-31-2008
Junior Member
 
Join Date: Sep 2007
Location: Bangalore
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Divya.B.V is on a distinguished road
Smile Re: Load from source to different targets

Quote:
Originally Posted by cme_prak View Post
Hi Raju,

Using Round Robin Partition, we can do that scenario.

Thx,
Prakash
Hi Raju,

Can u please explain me how to use Round robin partition. I am novice to DW and never heard of this before.

Thanks in advance,
Divya
Reply With Quote
  #4 (permalink)  
Old 04-01-2008
Junior Member
 
Join Date: Sep 2007
Location: Bangalore
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Divya.B.V is on a distinguished road
Re: Load from source to different targets

I dnt know about Round Robin thing. You can achive this by using sequence generator transformation..
1) Import ur source table.
2) create a sequence generator transformation start by one n increment by one.
3) create expression transformation, get mod(NEXTVAL,5). Next one more field use decode function DECODE(mod_value,1,1,2,2,3,3,4,4,0,5)
4) Then pass them to router to route them to different targets based on decode value.
Reply With Quote
The Following User Says Thank You to Divya.B.V For This Useful Post:
Reply

  Geeks Talk > Databases > Data Warehousing


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Open source Load Testing Tool bhaskar.srikrishna Testing Issues 2 4 Weeks Ago 05:06 AM
Load Distinct and Duplicate values to different targets tanya123 Data Warehousing 1 02-25-2008 09:06 PM
Generate targets flat files by transaction FLIMA Data Warehousing 0 11-27-2007 05:55 AM
Load Relatonal Targets suneetharoy Data Warehousing 1 09-03-2007 06:45 AM
File having 12 records I have to send data to different targets rasmi Data Warehousing 4 06-28-2007 11:15 AM


All times are GMT -4. The time now is 01:16 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved