Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Here i'm given a task to take the data from the AS400(DB2-DB) which has all the data since ages and, do TRANSFORMATION'S using some transformation rules:
1) keep 30 days old data from the current date
2) delete the data older than 30 days .
3) keep the data of the 1st days of every month untill the previous 2 years.
4) Delete the data which is more than 2 yrs(24 months) old.
And, after the transformation, LOADING the transformed data in to the Oracle DB using Talend.
Any suggestions, in this regard is highly appreciated.
Thanks..
Hi fdenis,
I'm just a beginner in Talend-DI.
But, to answer your question, yes the date data field is allowed to shrink the data.
Also, do i write the transformation rules using tjava component or, a stored procedure on the destination DB(Oracle)
Can you explain me step by step to perform this task. I would really appreciate.
Thanks in Advance..
Thank You for your prompt responses @fdenis
source full --> just use simple select --> Source is not full but on the process of Data warehousing.
oracle db is production ! resources are for prod -->no store proc. --> OK
daly run --> check process duration --> NO
one shot --> think of migration failure --> PERIODIC ( MONTHLY/WEEKLY/QUARTERLY) BASIS
In tMap, do i need to take the Date field and write the transformation function? If possible, could you give a sample query / expression used for my purpose?
+++