Showing posts with label Tutorials. Show all posts
Showing posts with label Tutorials. Show all posts

Thursday, January 30, 2014

Removing ports from an existing mapping - Do's and Dont's

Recently, a colleague called in for an issue that he was facing with an Informatica mapping. Let me recreate that situation here -

There is a mapping that get n ports from a source and loads m ports to a target. Standard stuff, nothing special or fishy around there. There comes a change request that says, such and such x number of columns are not required in the target, and since there would be a sure performance penalty for carrying through extra data (however small), the mapping should be changed to remove those ports from the pipeline.

What this gentleman did was to remove the connections for those ports from the source qualifier onwards. That saved him from changing and re-importing the source definition.

However, the mapping execution failed, complaining about a certain error situation. Thats when I got the call :)

whether I could discuss and fix it is something else, but what was the reason of the error - ?  

The very fact that if you are bringing in certain ports in the source qualifier, you HAVE to take them forward.  Thats a rule from informatica's side. Which means, if you are pulling up n ports from the source, you HAVE to expose all those n ports going away from the source qualifier. Or, putting it differently, in whichever way you create a set of ports in your source qualifier, all of them have to be consumed by some transformation object. Not a single one can be left unconnected, on the input side or the output side. Simple.

That was the reason, and the solution was fairly simple, to reduce his effort, either remove the ports from source qualifier as well, or just carry them forward to one transformation. and then drop them onwards.

Having said that, the very reason for which this whole change was initiated, the performance gain that would come through by not having the extra ports being carried forward, would come only when you remove the un-wanted ports from the source itself.

Sunday, March 2, 2008

An interesting day of RoR programming...

Got hands dirty with quite a few things in and around RoR.

Started with building the demo application with projects and tasks.. and as the iterative model says, kept adding to it. By the time I realized, I covered quite a few basic concepts of Rails.

Got stuck at some places, and hence my first experience of RoR IRC chatroom. Lovely thing, and really helpful people. Cant thank enough. It seemed as if someone could learn a few things just by reading the discussions only... :)

And, I hope to make some progress on my LMS project as well.

Here's my collection of useful URLs from today's session.

Useful Links around the web...
  1. Rolling on with Ruby on Rails
  2. Rolling on with Ruby on Rails (Part 2)
  3. On Ruby on Rails dot org
  4. Rails Database Validations-1
  5. Rails DB Validations-2
  6. RESTful Design
  7. Oracle's tutorial on RoR
  8. RoR API Docs
  9. www.pastie.org
  10. On Drop Down Menus