Loading to Sybase is very slow

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
sureshchandra
Participant
Posts: 92
Joined: Mon May 07, 2007 4:26 am

Loading to Sybase is very slow

Post by sureshchandra »

Hi,
I am trying to insert 5,00,000 records from sql server to sybase
using odbc stage. the performance is very bad- 5 rows/sec. Any inputs.

Thanks in advance
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Suresh - without providing a lot more information nobody is going to be able to help you. How do you know that the load is the slow part, it could be the read from SQL Server or the transformation. Instead of writing to Sybase in your job, output to a sequential file stage and a file in C:\nul and see what your speeds are.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Sure it's slow - update always is, particularly if there are indexes and constraints.

Why not use bulk loader?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

FYI, a simple empty table with no indexes or triggers, etc, SYBASE IQ is pathetic to load using ODBC/OCI. The only viable option for performant loading in IQ is command line (LOAD TABLE from file).
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
turash
Premium Member
Premium Member
Posts: 51
Joined: Fri Apr 06, 2007 10:09 am
Location: Edison, NJ

Re: Loading to Sybase is very slow

Post by turash »

you can use Sybase BCP load stage

[quote="sureshchandra"]Hi,
I am trying to insert 5,00,000 records from sql server to sybase
using odbc stage. the performance is very bad- 5 rows/sec. Any inputs.

Thanks in advance[/quote]
Post Reply