better option for informix database

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
rajiivnb
Participant
Posts: 77
Joined: Fri Sep 10, 2004 8:38 am
Location: India

better option for informix database

Post by rajiivnb »

Hi,
My source is a informix database .Which stage could be easy and better for extracting the source if ODBC or informix Stage.

Regards,
Raji
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I don't have any hands-on time with the Informix stage, but in my experience it's generally better to use a 'native' stage over something generic.

On the other hand, an ODBC wire driver can be used when you don't have the client software installed on the DataStage server.
-craig

"You can never have too many knives" -- Logan Nine Fingers
rajiivnb
Participant
Posts: 77
Joined: Fri Sep 10, 2004 8:38 am
Location: India

Post by rajiivnb »

Hi Craig,
Is performance increased while using a native stage .

Rajii
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

One would certainly hope so. :wink: Plus you should have more control over the various options available when working with your database of choice.

Easy enough to test. Build two jobs, one with an ODBC stage and one with an Informix stage as the source. Have them select everything from the same large table. Write the output to a sequential file but put a constraint of @FALSE in the output link. This will cause nothing to actually be written to the file and will show you the fastest speed at which you can pull data from the database on your system. Compare and contrast.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

You can almost always expect a performance improvement when using a native stage. This is because the native stage knows more about the db and its tuning than the ODBC mechanism.

Also any new version of db will be accompanied with the corresponding native drivers and libraries to include new feature's benefits, improvements and bug-fixes.

The main advantage of using an ODBC stage is that you can change it to point to a new rdbms quickly as most configurations are outside DS developers view.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If you get into a situation where you feel you may need to change the underlying RDBMS, there always the DRS or Dynamic Relational Stage. It was built for this very reason and allows you to shift from various native drivers to ODBC by setting a parameter. Not sure if it supports Informix natively, however. :?

More of an FYI to the original poster than anything...
-craig

"You can never have too many knives" -- Logan Nine Fingers
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Informix has an unload option which will create a sequencial file fast. Their ODBC drivers are slow.

I do not remember the syntax for unloading a table.
Mamu Kim
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Post Reply