Re: Compression on ODBC?

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Compression on ODBC?
Дата
Msg-id 39462DA3.97B4AC63@alumni.caltech.edu
обсуждение исходный текст
Ответ на Compression on ODBC?  ("Mark Alliban" <MarkA@idnltd.com>)
Список pgsql-general
> ... ODBC is downloading all the rows. Is there any way to either:
> 1) Use compression on the recordset to make the call faster?

You can run through an ssh tunnel, which (I'm guessing) may compress the
result.

> 2) Download each row one at a time, when SQLFetch is called?

Use cursors.

afaik, the ODBC driver *does* allow an app to retrieve rows as they are
available on the wire (it implements its own wire interface to allow
this, for historical reasons). But I'll guess that the app is waiting
for the complete set.

Good luck!

                      - Thomas

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

Предыдущее
От: yohan tordjman
Дата:
Сообщение: DBI problems with Pg
Следующее
От: "David C. Hartwig Jr"
Дата:
Сообщение: Re: Compression on ODBC?