Server Lookup
Moderators: chulett, rschirm, roy
Server Lookup
Hi all,
Can someone explain to me how lookups are performed thru server jobs?
I dont see any stage that does it.
An example would also be appreciated.
Thanks /
Tunde.
Tunde
Can someone explain to me how lookups are performed thru server jobs?
I dont see any stage that does it.
An example would also be appreciated.
Thanks /
Tunde.
Tunde
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Lookups are performed by a Transformer stage that has more than one input.
One input is the stream of data being processed, the other inputs are reference input links. On these you generate a value for the lookup key, using an expression. Or more than one, if there is more than one key.
For lookups based on primary key, a local hashed file (on the other end of the reference input link) delivers the fastest lookup capability.
For lookups based on secondary key, where multiple rows may be returned, only the ODBC or UV stage types support the required functionality.
(Do I guess South African origin from your name?)
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
One input is the stream of data being processed, the other inputs are reference input links. On these you generate a value for the lookup key, using an expression. Or more than one, if there is more than one key.
For lookups based on primary key, a local hashed file (on the other end of the reference input link) delivers the fastest lookup capability.
For lookups based on secondary key, where multiple rows may be returned, only the ODBC or UV stage types support the required functionality.
(Do I guess South African origin from your name?)
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
Next time Craig try and put in a couple of these [:(!][:(!] and maybe one of these [V], it will have more impact. He'll be reading that manual so fast his eyes will spin.
Vincent McBurney
Data Integration Services
www.intramatix.com
Vincent McBurney
Data Integration Services
www.intramatix.com
Ray, I just want to thank you for answering my question.
Chulett and Vmcburney -
I dont know who you guys think you are but you are not being ethical about your replies. if you think my questions are too basic, you do not have to answer it neither do you need to be rude about it.
Yes, im new to datastage but i would like to let you know that i have more than 5years of experience in ETL, implementing other tools like Informatica and Albinitio.
And for the record. i did go to class but the only training i got from the class was i think an overview of the tool. its not detail enough to let me know some of this things. Right now im learning and i believe im doing pretty well. i do not need you people's advice. im sure people like RAY who really want to help would help inexperienced people like us and we definitely appreciate them.
Thanks again Ray.
Tunde
Chulett and Vmcburney -
I dont know who you guys think you are but you are not being ethical about your replies. if you think my questions are too basic, you do not have to answer it neither do you need to be rude about it.
Yes, im new to datastage but i would like to let you know that i have more than 5years of experience in ETL, implementing other tools like Informatica and Albinitio.
And for the record. i did go to class but the only training i got from the class was i think an overview of the tool. its not detail enough to let me know some of this things. Right now im learning and i believe im doing pretty well. i do not need you people's advice. im sure people like RAY who really want to help would help inexperienced people like us and we definitely appreciate them.
Thanks again Ray.
Tunde
Err... ok. Not sure what exactly was so "unethical" about my reply. [:0] Heck, I even apologized for not providing an example in my second post.
Just trying to point out that this forum (and the Oliver list) are not really meant to be a substitute for training. And a class that was only an "overview of the tool" is not much different from no class at all - so even more so a run thru the tutorial would do you a world of good. All In My Humble Opinion, of course.
That wasn't meant to be disparaging or any slur on your abilities, so please don't take it that way. It was just an honest opinion of how best to get up to speed on the tool.
-craig
Just trying to point out that this forum (and the Oliver list) are not really meant to be a substitute for training. And a class that was only an "overview of the tool" is not much different from no class at all - so even more so a run thru the tutorial would do you a world of good. All In My Humble Opinion, of course.
That wasn't meant to be disparaging or any slur on your abilities, so please don't take it that way. It was just an honest opinion of how best to get up to speed on the tool.
-craig
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
I'm sorry you took offence, I was joking about Craig's brisk reply, not about your question. I've got to remember that humour can be misunderstood on a forum as people can read it in a different tone. I have happily answered this same question on this forum before and I've never criticized a question.
Vincent McBurney
Data Integration Services
www.intramatix.com
Vincent McBurney
Data Integration Services
www.intramatix.com
Hi,
the turorial I have, does not contain excercises about look up. There are explanations in the pdf (but they are not sufficient to work with look up).
If any of you has documentation or exercise about it, please send me it. Similarly, I haven't found any kind of information about surrogate key.
I worked with others ETL tools before, and documentation was very rich.
Thank you very much for your attention, bye.
the turorial I have, does not contain excercises about look up. There are explanations in the pdf (but they are not sufficient to work with look up).
If any of you has documentation or exercise about it, please send me it. Similarly, I haven't found any kind of information about surrogate key.
I worked with others ETL tools before, and documentation was very rich.
Thank you very much for your attention, bye.
There is an electronic course offered by Ascential that takes you through building a framework for your ETL application. The course DS306 was designed to give at least a starting point to using the tool in such a way as to design your ETL application to handle surrogate keys, slowly changing dimensions, instantiate-able jobs, restart capability, etc. Anyone struggling through these issues would benefit from having their company purchase an E-copy of the course.
I know the course well because I was part of the four man team who created the framework, supporting jobs and libraries, and coursework. The course is based on DataStage Server Edition, while Tunde is using PX, he and Nat are absolute examples of why we developed this course. A tool is analagous to a programming language. You have to develop common/shared libraries, standards and best practices, etc, before starting any large development effort. Not having a background on the tool from which to draw can be challenging for anyone when starting any development effort.
I would also suggest that Tunde has had the hardest effort of everyone out there. He's learning both DataStage Server and PX. These are completely different paradigms, and he basically has to learn 2 new ETL tools. He also has no PX resources out here to draw from, because DS PX is so new most people are still working on their first large scale project using it. By next year there will be more seasoned and blooded PX warriors who will have discovered the best practices, standards, tricks, etc. In addition, Ascential will have improved their course work and should be able to offer better guidance.
Hang in their Tunde.
Kenneth Bland
I know the course well because I was part of the four man team who created the framework, supporting jobs and libraries, and coursework. The course is based on DataStage Server Edition, while Tunde is using PX, he and Nat are absolute examples of why we developed this course. A tool is analagous to a programming language. You have to develop common/shared libraries, standards and best practices, etc, before starting any large development effort. Not having a background on the tool from which to draw can be challenging for anyone when starting any development effort.
I would also suggest that Tunde has had the hardest effort of everyone out there. He's learning both DataStage Server and PX. These are completely different paradigms, and he basically has to learn 2 new ETL tools. He also has no PX resources out here to draw from, because DS PX is so new most people are still working on their first large scale project using it. By next year there will be more seasoned and blooded PX warriors who will have discovered the best practices, standards, tricks, etc. In addition, Ascential will have improved their course work and should be able to offer better guidance.
Hang in their Tunde.
Kenneth Bland
Hi Kenneth,
I'm interested in the electronic course you talked about. I have to compare two ETL tools (for a degree), analyzing how it is possible to implement, with them, some theoretical aspect of data warehousing.
But the first one (Informatica) has a rich documentation, but the second one (DS) hasn't it.
I'm also interested in buying the DS tool, so I want to evaluate it.
In this I'm self-educating, and time to do this is not much so here I am in this forum.
I have not the tool for the moment, I see it as guest in two firms that host me.
If you know, please give me information on buying the course.
Thank you very much for your attention. Bye.
I'm interested in the electronic course you talked about. I have to compare two ETL tools (for a degree), analyzing how it is possible to implement, with them, some theoretical aspect of data warehousing.
But the first one (Informatica) has a rich documentation, but the second one (DS) hasn't it.
I'm also interested in buying the DS tool, so I want to evaluate it.
In this I'm self-educating, and time to do this is not much so here I am in this forum.
I have not the tool for the moment, I see it as guest in two firms that host me.
If you know, please give me information on buying the course.
Thank you very much for your attention. Bye.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
When you buy the tool, you will discover that DataStage, too, has a rich set of documentation. Some manuals install with the client software. Manuals for the optional ("plug-in") components come with those components; you can install these with the regular set if you wish. In addition, DataStage has one of the best on-line help systems I have ever used, with not only reference topics but also "how to" topics.
As far as I know the documentation is not available separately but, if you make your situation known the Ascential Software, they may be able to assist.
Just out of curiosity, what degree are you pursuing that includes comparison of ETL tools? (You can reply off line to that if you prefer.)
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
As far as I know the documentation is not available separately but, if you make your situation known the Ascential Software, they may be able to assist.
Just out of curiosity, what degree are you pursuing that includes comparison of ETL tools? (You can reply off line to that if you prefer.)
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518