Solved

Mapping Using informatica

Posted on 2011-09-09
5
530 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Creating and Managing Databases with phpMyAdmin in cPanel.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
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…

749 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