[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Mapping Using informatica

Posted on 2011-09-09
5
Medium Priority
?
571 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 46

Accepted Solution

by:
aikimark earned 1000 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 46

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 1000 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

656 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