Re: WAL usage calculation patch

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: WAL usage calculation patch
Дата
Msg-id CAA4eK1+nLPguL+a1JStyx+L9xh0X3nQ3tXptorsggT6dn9oPLQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WAL usage calculation patch  (Julien Rouhaud <rjuju123@gmail.com>)
Ответы Re: WAL usage calculation patch  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers
On Sat, Mar 28, 2020 at 12:54 AM Julien Rouhaud <rjuju123@gmail.com> wrote:
>
> On Fri, Mar 27, 2020 at 8:21 PM Kirill Bychik <kirill.bychik@gmail.com> wrote:
> >
> >
> > All these are really valuable objections. Unfortunately, I won't be
> > able to get all sorted out soon, due to total lack of time. I would be
> > very glad if somebody could step in for this patch.
>
> I'll try to do that tomorrow!
>

I see some basic problems with the patch.  The way it tries to compute
WAL usage for parallel stuff doesn't seem right to me.  Can you share
or point me to any test done where we have computed WAL for parallel
operations like Parallel Vacuum or Parallel Create Index?  Basically,
I don't know changes done in ExecInitParallelPlan and friends allow us
to compute WAL for parallel operations.  Those will primarily cover
parallel queries that won't write WAL.  How you have tested those
changes?

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: doc: vacuum full, fillfactor, and "extra space"
Следующее
От: Ranier Vilela
Дата:
Сообщение: Re: Possible copy and past error? (\usr\backend\commands\analyze.c)