Re: Problem with reading data from standby server ?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Problem with reading data from standby server ?
Дата
Msg-id 201204211159.07501.andres@anarazel.de
обсуждение исходный текст
Ответ на Problem with reading data from standby server?  (Condor <condor@stz-bg.com>)
Ответы Re: Problem with reading data from standby server?
Список pgsql-general
On Friday, April 20, 2012 10:39:25 AM Condor wrote:
> array_accumulate aggregate is:
>
>
> CREATE AGGREGATE array_accumulate (
>      sfunc = array_append,
>      basetype = anyelement,
>      stype = anyarray,
>      initcond = '{}'
> );
Btw, if you replace that by array_agg which is builtin in any version support
HS/SR the whole query might finish faster and thus is less likely to cause
conflicts.

If youre already on 9.1 you might also want to look into hot_standby_feedback
that can also reduce the likelihood of conflicts by informing the master what
is going on on the standby.

Greetings,

Andres

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: yum repo issue
Следующее
От: "F. BROUARD / SQLpro"
Дата:
Сообщение: Starnge things with big datas...