Query is way slower through ODBC compared to OLEDB
The application executes a certain query to the Oracle Database.
If I set the application to use Oracle Oledb drivers, the query takes about 25 seconds.
If I set the application to connect through an ODBC connection however the query takes less than a second.
I've tried different versions of the oracle client but the problem remains.
In every topic I read, Oledb is prefered over ODBC, so i'm not keen on using ODBC as a solution to the problem.
Any clue on what might cause this huge difference is execution time?