From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
---|---|
To: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, Michael Paquier <michael(at)paquier(dot)xyz>, Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Speedup of relation deletes during recovery |
Date: | 2018-06-18 18:13:47 |
Message-ID: | CAHGQGwHTvE_uBeYisE+Gd_dUx5RZpOPk=9_v-VQPvA4azY59dg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Jun 16, 2018 at 2:54 AM, Teodor Sigaev <teodor(at)sigaev(dot)ru> wrote:
>> We just had a customer hit this issue. I kind of wonder whether this
>> shouldn't be backpatched: Currently the execution on the primary is
>> O(NBuffers * log(ndrels)) whereas it's O(NBuffers * ndrels) on the
>> standby - with a lot higher constants to boot. That means it's very
>> easy to get into situations where the standy starts to lag behind very
>> significantly.
>
> +1, we faced with that too
+1 to back-patch. As Horiguchi-san pointed out, this is basically
the fix for oversight of commit 279628a0a7, not new feature.
Regards,
--
Fujii Masao
From | Date | Subject | |
---|---|---|---|
Next Message | Dent John | 2018-06-18 18:38:13 | Re: Query Rewrite for Materialized Views (Postgres Extension) |
Previous Message | Fujii Masao | 2018-06-18 18:06:54 | Re: Speedup of relation deletes during recovery |