Re: [parallel query] random server crash while running tpc-h query on power2

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [parallel query] random server crash while running tpc-h query on power2
Дата
Msg-id CA+Tgmob9dabioB=nK=0p38ynar1byshimYjmzoLVrboc0+Wt=Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [parallel query] random server crash while running tpc-h query on power2  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: [parallel query] random server crash while running tpc-h query on power2  (Rushabh Lathia <rushabh.lathia@gmail.com>)
Список pgsql-hackers
On Sat, Aug 13, 2016 at 4:36 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
> AFAICS, your patch seems to be the right fix for this issue, unless we
> need the instrumentation information during execution (other than for
> explain) for some purpose.

Hmm, I disagree.  It should be the job of
ExecParallelRetrieveInstrumentation to allocate its data in the
correct context, not the responsibility of nodeGather.c to work around
the fact that it doesn't.  The worker instrumentation should be
allocated in the same context as the regular instrumentation
information, which I assume is probably the per-query context.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [Patch] Temporary tables that do not bloat pg_catalog (a.k.a fast temp tables)
Следующее
От: Shay Rojansky
Дата:
Сообщение: Re: Slowness of extended protocol