Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC vs OLE DB

Status
Not open for further replies.

Luvsql

Technical User
Apr 3, 2003
1,179
CA
I have a report that I have tested the performance using variances datasources. It accesses a sql server:

OLE DB with windows authentication (user is sys admin): 42 seconds to complete report

OLE DB with sql authentication, where I manually type in a sql user ID and password: 19 seconds

ODBC with sql authentication: 6 seconds

ODBC with windows authentication: Unable to convert report as it doesn't show any sql tables or views, even though my windows account is sysadmin


Why is ODBC so much faster? I don't want to use ODBC as it requires every client accessing to have the ODBC setup, has issues where database has '-' in the name, does not seem to work with windows authentication.
 
Please post your Crystal version.

OLE DB hasn't lived up to the hype that it would replace ODBC in my estimation because of the performance issues. Older versions of Crystal could use a native connection which may prove slightly faster.

As for the Windows Authentication, there is overhead involved here.

Your timing tests will likely vary anyway due to caching, it takes nuch more than one test to learn what the performance really is.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top