| От | Hiroshi Inoue |
|---|---|
| Тема | Re: Why is UseDeclareFetch so slow? |
| Дата | |
| Msg-id | 4682783C.5000705@tpf.co.jp обсуждение исходный текст |
| Ответ на | Re: Why is UseDeclareFetch so slow? (Rainer Bauer <usenet@munnin.com>) |
| Список | pgsql-odbc |
Rainer Bauer wrote: > Hello Hiroshi, > >>> So my questions are >>> 1) Is there any chance the driver itself could be enhanced like Dimitri >>> suggested here: >>> <http://archives.postgresql.org/pgsql-performance/2007-06/msg00512.php>? >> You can specify the fetch count in UseDeclareFetch mode using the >> Cache Size option or FETCH=N connection string. > > Yes, but the real question is why is the query 4 times slower when > UseDeclareFetch is enabled (FETCH was set to 100)? > > I would have expected that the ODBC driver is fetching 100 rows in advance and > thus the query should execute in less than a second instead of 30 seconds. Could you send me directly the Mylog output ? regards, HIroshi Inoue
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера