Usage Of Universe Stage

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
suresh.narasimha
Premium Member
Premium Member
Posts: 81
Joined: Mon Nov 21, 2005 4:17 am
Location: Sydney, Australia
Contact:

Usage Of Universe Stage

Post by suresh.narasimha »

Hi,

I have a Source Table in remote on which i fire a SQL and put all the result into a staging table residing locally

From the staging table i do the aggregation or some selection based on where clauses etc and put into next table.

Now i wanted to know instead of a staging table can i use a Universe table?

Considering performance and storage which is a better option to use.

Please let me if my question is not clear enough or you need more information.

Thanks & Regards,
Suresh N
SURESH NARASIMHA
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Re: Usage Of Universe Stage

Post by gateleys »

suresh.narasimha wrote: Now i wanted to know instead of a staging table can i use a Universe table?
Use a hashed file instead of the staging table.
suresh.narasimha wrote: Considering performance and storage which is a better option to use.
Although you can access the just created hashed file using a Universe stage, my experiences have shown that the performance is really bad as compared to use of other enterprise database to host your staging tables.

On the other hand, you could stage them in sequential files, and perform the necessary aggregation downstream and restrict the rows based on trasformer constraints.
gateleys
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A UniVerse table IS a hashed file. Whether you use a UV stage or a Hashed File stage to access it is immaterial unless your access is via the primary key, in which case a Hashed File stage is definitely to be preferred.

UniVerse IS a database. So your sub heading "Performance of Universe Compared to Database" is moot.

If your other database is local (that is, on the same machine as the DataStage server), then you may as well use that. If it is not, good gains can be had from transferring data to a local staging area. This might be hashed files, it might be text files - it depends precisely what you want to do with them.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply