Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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 ...

Go Back   Geeks Talk > Databases > Data Warehousing
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Data Warehousing Data Warehousing

Reply

 

LinkBack Thread Tools Display Modes
  #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: 14
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: 14
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Open source Load Testing Tool bhaskar.srikrishna Testing Issues 2 12-08-2008 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 08:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved