dbTalk Databases Forums  

OLE DB vs ODBC

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss OLE DB vs ODBC in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
fleo
 
Posts: n/a

Default OLE DB vs ODBC - 08-22-2005 , 08:08 PM






Maybe I should ask this question in another group, but since I'm using it for
DTS... I don't know...

I'm copying data from DB2 and the existing packages use ODBC for DB2.
Should I switch to OLE DB? Is the performance better?

Thanks

Reply With Quote
  #2  
Old   
fleo
 
Posts: n/a

Default RE: OLE DB vs ODBC - 08-24-2005 , 03:48 PM






Ok I performed a test: copy 5 000 000 records from DB2 to SQL Server.
ODBC and OLEDB completed the test with very similar results (12:40 vs 12:19).
So I don't know about other operations, but the difference seems
insignificant.

"fleo" wrote:

Quote:
Maybe I should ask this question in another group, but since I'm using it for
DTS... I don't know...

I'm copying data from DB2 and the existing packages use ODBC for DB2.
Should I switch to OLE DB? Is the performance better?

Thanks

Reply With Quote
  #3  
Old   
Mnemonic
 
Posts: n/a

Default Re: OLE DB vs ODBC - 08-25-2005 , 02:34 PM



In my experience, the issue when pulling from a DB2 source isn't
OLE/ODBC connection, it's DB2. (weakest link in the chain perhaps) But
you might try restesting, insert some complicated grouping or
aggregates and see if the test results remain similar. I haven't done
any conclusive testing, but I've always heard OLE is more efficient
than ODBC.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.