Re: cursor with hold must be save to disk?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: cursor with hold must be save to disk?
Дата
Msg-id 2c62dd64316c1cf8b49bb4298603a73488e5d7be.camel@cybertec.at
обсуждение исходный текст
Ответ на cursor with hold must be save to disk?  (黄宁 <huangning0722@gmail.com>)
Список pgsql-general
On Fri, 2023-04-14 at 19:04 +0800, 黄宁 wrote:
> i want to use cursor with hold ,but when I declare a curosr , it takes a long
> time to save the result set to disk. can i save the query state in memory?
> and fetch forward the next result.

The complete result set has to be materialized.  It only spills to disk if it
is large.  That cannot be avoided.

Yours,
Laurenz Albe



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: cursor with hold must be save to disk?
Следующее
От: GF
Дата:
Сообщение: Re: [Extern] Re: Is a logical replication crash recovery safe?