Solved

Mapping Using informatica

Posted on 2011-09-09
5
520 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Read about achieving the basic levels of HRIS security in the workplace.
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…

808 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