Re: snowflaking

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: snowflaking
Дата
Msg-id 4070EE2D.2090909@joeconway.com
обсуждение исходный текст
Ответ на snowflaking  (Nabil Sayegh <postgresql@e-trolley.de>)
Ответы Re: snowflaking  (Nabil Sayegh <postgresql@e-trolley.de>)
Список pgsql-novice
Nabil Sayegh wrote:
[...big snowflake query and explain analyze results...]
> Is there anything I can do to speed it a bit up?
> We can assume, that
> a) inserts are done very rarely and
> b) the number of actual results are very low

One simple idea is to use PREPARE and EXECUTE. This is only useful if
you can PREPARE once and then EXECUTE multiple times (i.e. as long as
you don't need to reconnect prior to every execution of the query).

HTH,

Joe

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

Предыдущее
От: stm23
Дата:
Сообщение: ecpg preprocessor
Следующее
От: Nabil Sayegh
Дата:
Сообщение: Re: snowflaking