Re: Improve ODBC Throughput ?

Поиск
Список
Период
Сортировка
От Ludek Finstrle
Тема Re: Improve ODBC Throughput ?
Дата
Msg-id 20061020075457.GA24357@soptik.pzkagis.cz
обсуждение исходный текст
Ответ на Re: Improve ODBC Throughput ?  (Arnaud Lesauvage <thewild@freesurf.fr>)
Ответы Re: Improve ODBC Throughput ?  (Arnaud Lesauvage <thewild@freesurf.fr>)
Список pgsql-odbc
> >2.Declare Fetch
> >In Access, you do not have this fine control. Some psqlODBC user have
> >experimented with the DECLARE/FETCH option in the psqlODBC settngs.I am not
> >entirely sure how Declare/Fetch works though, I have never used it.
>
> My tables are linked with these options :
> UseDeclareFetch=1
> UseServerSidePrepare=1
> Fetch=10000

UseDeclareFetch and UseServerSidePrepare are disjoint options.
If I remember it the right way the UseServerSidePrepare disallow
UseDeclareFetch. Please try UseServerSidePrepare=0 when you want
using DeclareFetch.

Why you set Fetch so high? How many rows do you expect?
The UseDeclareFetch declare the select statement as cursor (using
declare statement) and then get the rows using fetch statement
(see postgresql manual).
I see no usage for UseDeclareFetch with so high Fetch.

The UseServerSidePrepare use prepare and execute statement (also
see postgresql manual).

Regards,

Luf

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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Improve ODBC Throughput ?
Следующее
От: Arnaud Lesauvage
Дата:
Сообщение: Re: Improve ODBC Throughput ?