Re: slow performance with cursor

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: slow performance with cursor
Дата
Msg-id 2954034.1624644261@sss.pgh.pa.us
обсуждение исходный текст
Ответ на slow performance with cursor  (Ayub Khan <ayub.hp@gmail.com>)
Список pgsql-performance
Ayub Khan <ayub.hp@gmail.com> writes:
> Is there any setting which needs to be modified to improve the performance
> of cursors. Also facing slow response with reading blobs (images) from db.
> Not an ideal way for storing images in db but this is a legacy application
> and wanted to check if there a quick tweak which can improve the
> performance while reading blob data from db.

Possibly twiddling cursor_tuple_fraction would help.  The default setting
tends to encourage fast-start plans, which might be counterproductive
if you're always fetching the entire result in one go.

            regards, tom lane



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

Предыдущее
От: Ayub Khan
Дата:
Сообщение: Re: slow performance with cursor
Следующее
От: Manuel Weitzman
Дата:
Сообщение: Re: Planning performance problem (67626.278ms)