Solved

Mapping Using informatica

Posted on 2011-09-09
5
489 Views
Last Modified: 2012-06-27
Hi,

I need a help in mappings using informatica.

I am trying to extract the data from one database 1(table1 ) to another database 2(table2).

In database 2(table2) already i have data upto yesterday.

I want to create daily extraction from one database 1(table1 ) to another database 2(table2).

I want to appent the data  every day. I need to shedule the job.
**************************************************************
Thing to keep in mind for the daily audit mappings:

 

As neither the source nor target tables have primary keys, the only way to update the data for only new rows is using the timestamp to determine which records are new. This approach is less than optimal. In additional to not being able to validate that all the new records written are actually new records (increasing risk of duplication), we also have to worry about running this daily. If a day is missed, we will lose data.

 

To filter the source based on date, you need to add a ‘Source Filter’ to each of your Source Qualifiers in your mapping that restricts the records you are pulling based on date. I assume this job would pull information based on the previous day (current date -1). You will most likely need to cast the NTIMESTAMP# field in the filter to be able to equate it to a date.

 

I would use NTIMESTAMP# = XXX rather than NTIMESTAMP# > XXX as this will allow us to be more specific in the extractions and have a more flexible rollback plan if we need one.

*****************************************************

Please help out to create mapping using informatica.

0
Comment
Question by:Cha1tu
  • 2
5 Comments
 
LVL 45

Accepted Solution

by:
aikimark earned 250 total points
ID: 36516154
@Cha1tu

Is there a unique key on these two tables?  If so, you might be able to take advantage of the unique key index to prevent duplicates and try to append all the rows.
0
 
LVL 2

Author Comment

by:Cha1tu
ID: 36516669
I don't think so, there is no unique key.
Do you want me to create unique key.
0
 
LVL 45

Expert Comment

by:aikimark
ID: 36517229
It is good practice to have a unique key for all tables as part of your database design (normalization process).

However, an arbitrary unique key won't do you any good unless your updates only happen on one side and are applicable to both table images.
0
 

Assisted Solution

by:gkrajasekar
gkrajasekar earned 250 total points
ID: 36538547
Since you are also looking at automating incremental extraction, please take a look at the mapping template titled "Automate Incremental Extraction"  available on Informatica Marketplace at https://community.informatica.com/solutions/1635
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
MYSQL Record Number 3 54
Change variables in SQL table 6 65
MarkLogic 1 48
Display multiple images in report 12 83
In today’s complex data management environments, it is not unusual for UNIX servers to be dedicated to a particular department, purpose, or database.  As a result, a SAS® data analyst often works with multiple servers, each with its own data storage…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now