Anecdotal JDBC vs ODBC bulk export performance

Поиск
Список
Период
Сортировка
От John Kew
Тема Anecdotal JDBC vs ODBC bulk export performance
Дата
Msg-id CY1PR0301MB197884AF4ADFD99644E9E902CCF20@CY1PR0301MB1978.namprd03.prod.outlook.com
обсуждение исходный текст
Ответы Re: Anecdotal JDBC vs ODBC bulk export performance  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-odbc

The open source JDBC driver appears to outperform the ODBC driver when executing bulk extract queries of the form: "SELECT * from [Blah] Limit [n]" - We are just measuring the raw rows per second from this query for pulling all the rows out. After playing with the FetchSize in the ODBC driver we have improved performance significantly but are there any other techniques; tools or tips which you would suggest for further improving performance? 


ReadOnly does not appear to have a significant effect. The JDBC connection string is using the default settings and setFetchSize is not called on the JDBC driver. We have not yet started profiling the ODBC driver. For this quick test we are also not using column binding on the ODBC side; but we are calling SQLFetch to count the total # of rows returned. Essentially the same thing occurs on the JDBC side.


-John

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: psqlODBC 08.03- Supportability
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Anecdotal JDBC vs ODBC bulk export performance