Slow performance executing SQL sp using ODBC

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
jusami25
Premium Member
Premium Member
Posts: 84
Joined: Tue Oct 26, 2004 12:49 am

Slow performance executing SQL sp using ODBC

Post by jusami25 »

Hi experts,

I have defined an ODBC connection to a SQL Server 2005. I'm executing a stored procedure using the ODBC stage and the performance is really slow (1 row per 3 sec). When i execute the Store Procedure from the MS SQL Server Management Studio the performance is (350 rows / sec)

It seems to be an ODBC configuration problem, but i'm not sure.

Could you, please, help me? Thanks in advance.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

There's no difference between using SQL and an SP to a job. Does data stream as expected using an ODBC stage and regular SQL? Switching to a SP should make no difference to the driver itself. If this is a new installation or the first time you're working with SQL Server, consider verifying your ODBC driver is compatible to 2005. (I scratch my head because I remember someone in the last few weeks discovering some compatibility problem, I'll search the forum and post back.)
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Here's a previous problem with the ODBC drivers and SQL Server 2005.

viewtopic.php?t=108445
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply