Performance differences between the DRS and native stages

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
sbass1
Premium Member
Premium Member
Posts: 211
Joined: Wed Jan 28, 2009 9:00 pm
Location: Sydney, Australia

Performance differences between the DRS and native stages

Post by sbass1 »

Are there performance differences between:

1) DRS (Sybase database) and Sybase OC stage?
2) DRS (SQL Server database) and SQL Server stage?

Is the DRS stage just a wrapper around the native stages, i.e. if I chose the Sybase database in the DRS stage, does it use the same drivers as the Sybase stage?

Questions apply to both source (reads) and targets (writes)

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

Post by chulett »

To the best of my knowledge and from various discussions here (like this one which talks about why the stage came into existence) there really shouldn't be any difference in performance. It still uses the same ODBC or native drivers under the covers that the dedicated stages would use for that connection / dbms type.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sbass1
Premium Member
Premium Member
Posts: 211
Joined: Wed Jan 28, 2009 9:00 pm
Location: Sydney, Australia

Post by sbass1 »

Thanks Craig. And my apologies for not doing a better job of searching before posting.

I'm trying to develop my own best practice for which stage to use when connecting to a database.

To summarize your reply and the thread you linked to, I intend to:

* Use the DRS stage most of the time. There shouldn't be any performance difference between this and the native stage. [Pro: It's a consistent stage across all (well most) jobs. Con: the database type does not show in the UI.]
* Use the native database type (Sybase, SQL Server, etc.) in the DRS stage unless the source or target database only supports ODBC. IOW favour native over ODBC.
* Use ODBC on those rare occasions I need
eostic wrote:...the opportunity to write a job that spreads a single unit of work across a parent rdbms table, it's children, and perhaps 2 other related tables.......with a single commit
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

When dealing with Oracle, I still prefer the OCI stage over DRS (even though they both use a native connection) for a couple of reasons. One is it has more 'update action' choices and two, it uses numbered bind parameters rather than the pita positional question marks like ODBC. But that's just me. :wink:

But as Ernie notes, the ODBC stage can be used for that 'single commit' because it doesn't enforce the 'all columns must be bound' rule that OCI insists on and can thus be used for a link that just does a commit. It was a indispensable trick he taught me to make an RTS enabled job actually work properly.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Isn't pita a kind of bread?
:?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sbass1
Premium Member
Premium Member
Posts: 211
Joined: Wed Jan 28, 2009 9:00 pm
Location: Sydney, Australia

Post by sbass1 »

http://www.acronyms.ch/

http://www.acronyms.ch/searchResults;js ... hText=pita

Perhaps http://www.acronyms.ch/ can be added to the FAQ, which of course everyone reads before ever posting.

Yes, pita is a homonym for the acronymn p.i.t.a.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ray is being... funny. You'll get used to his sense of humor. Eventually. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Bread in a suppository configuration?
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