Re: Speedup of relation deletes during recovery

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Andres Freund <andres(at)anarazel(dot)de>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: 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-15 17:54:41
Message-ID: 74fae819-c790-3c6e-7964-12a8c5d82166@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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
--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2018-06-15 18:01:42 Re: WAL prefetch
Previous Message Andres Freund 2018-06-15 17:45:04 Re: Speedup of relation deletes during recovery