GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Informatica
Go To First  |  Previous Question  |  Next Question 
 Informatica  |  Question 546 of 644    Print  
In your mapping using sequence generator transformation, the limitation of the transformation is it generates key values only around 2 million. If it is more than 3 million records are there in your source, how will you generate key values and load into target.

  
Total Answers and Comments: 5 Last Update: August 26, 2009     Asked by: Chandrashekhara Varma 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: ask_kaushik
 

use a Stored Procedure transformation where the stored procedure generates keys after checking the max in the target.



Above answer was rated as good by the following members:
ravikumar.amudala
August 03, 2007 03:45:37   #1  
balaetl Member Since: November 2005   Contribution: 3    

RE: In your mapping using sequence generator transform...
Hi

What you can do here is instead of using sequence generator have a unconnected lookup on target table and take the maximum value of the column populated by sequence generator and increment it by one during each run. Create the expression in such way that it will call only once the unconnected lookup to get the maximum value so that performance will not degrade. If you need more detail let me know.

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
September 14, 2007 02:07:37   #2  
srikanth        

baleti can u plz explain in detail...
How can unconnected lookup on target do the trick.
What transformation to use after lookup. I mean you will call it in expression transformation. But do we have to take one more sequence generator after expression transformation?
Please explain in detail.

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
November 27, 2007 03:13:51   #3  
Rambabu.Gali        

RE: In your mapping using sequence generator transform...

If the maximum value of a seq.gen is a constraint then simply you can use the oracle sequence instead. You can use this seq to generate the numbers in a Stored procedure or by trigger.


 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
December 06, 2007 12:21:01   #4  
ask_kaushik Member Since: December 2007   Contribution: 5    

RE: In your mapping using sequence generator transformation, the limitation of the transformation is it generates key values only around 2 million. If it is more than 3 million records are there in your source, how will you generate key values and load in

use a Stored Procedure transformation where the stored procedure generates keys after checking the max in the target.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 26, 2009 06:14:29   #5  
ravikumar.amudala Member Since: August 2009   Contribution: 2    

RE: In your mapping using sequence generator transformation, the limitation of the transformation is it generates key values only around 2 million. If it is more than 3 million records are there in your source, how will you generate key values and load in
Now we dont have that problem now sequence generator trans is have some around 18 digit number so the problem is solved.

if it extends more than that go for stored procedure.


Regards
Ravi

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape