MATLAB: Is the ODBC driver slower than the JDBC driver when used with the Database Toolbox

Database Toolbox

When I use my ODBC database from the Database Toolbox, it seems slow compared to when I use a JDBC driver with the same database.

Best Answer

This change has been incorporated into the documentation in Release 14 Service Pack 3 (R14SP3). For previous releases, read below for any additional information:
When you use a ODBC driver, all of your data has to be moved from MATLAB, to Java, to C/C++, and the other way around. If you use a JDBC driver, your data is only moved between Java and MATLAB, and the other way around. Therefore, you will likely experience better results by using a JDBC driver if one is available.