Calling Stored Proc

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
yuva010
Participant
Posts: 36
Joined: Thu Apr 24, 2008 7:12 pm

Calling Stored Proc

Post by yuva010 »

Hi,

Calling stored procedure in PX, requires to define System DSN on DS server.
Does it slows performance heavily?
Thanks,
Yuva.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

(Thinks: I can has cheezburger.)

Define "performance" in an ETL context. In what meaningful way can the adjective "heavy" be applied to what you have defined?

A system DSN is required because a user DSN is only accessible to whomever creates it. In any case, there is no such differentiation on UNIX; all DSNs are perforce system DSNs by virtue of the fact that there is only one currently active .odbc.ini file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
yuva010
Participant
Posts: 36
Joined: Thu Apr 24, 2008 7:12 pm

Post by yuva010 »

with performance, I mean time and server utilization.
with heavy, i mean slower ETL server.
if it helps you
Thanks,
Yuva.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Calling Stored Proc

Post by chulett »

yuva010 wrote:Calling stored procedure in PX, requires to define System DSN on DS server. Does it slows performance heavily?
No. There's no inherent penalty in simply defining a 'system DSN'.
-craig

"You can never have too many knives" -- Logan Nine Fingers
yuva010
Participant
Posts: 36
Joined: Thu Apr 24, 2008 7:12 pm

Post by yuva010 »

if i use 'Stored Proc stage' to call stored procedure using system DSN and pass some parameters to this stored proc.
Does it slows ETL performance in terms of Time?
Thanks,
Yuva.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That would depend entirely on the proc, would it not? Try it, let us know.
-craig

"You can never have too many knives" -- Logan Nine Fingers
csri
Participant
Posts: 99
Joined: Wed Jul 11, 2007 8:02 am

Post by csri »

I don't think you will have performance issue with DSN. All that DSN is used is to make a call to storedproc in the database. Once the call is made the performance depends on your database and server where your database is residing. Only at the end the results are returned.
yuva010
Participant
Posts: 36
Joined: Thu Apr 24, 2008 7:12 pm

Post by yuva010 »

Thanks guys!
I'll let you know.. once it goes in Build Phase.
Thanks,
Yuva.
Post Reply