Replica lag, high read IO, vacuum index scanning bug?

From: Phil Frost <phil(at)postmates(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Replica lag, high read IO, vacuum index scanning bug?
Date: 2016-11-02 19:31:44
Message-ID: 3fe69397-9feb-707a-032f-968a8d48ad0f@postmates.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

We are seeing an issue on RDS 9.4.5 where replica lag gets really high.
This lag seems to be correlated to a saturation of disk read throughput,
and vacuums of one of our larger and more frequently updated tables.

I've heard that there's a bug where the replica will scan indexes
unnecessarily when doing the WAL replay when the vacuums happen. Can
anyone confirm this and maybe point me towards the commit where it was
fixed? Has there been a backport to the 9.4 series?

Any other ideas for investigation or mitigation?

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message xu jian 2016-11-03 20:06:46 query performance question
Previous Message Poul Kristensen 2016-11-01 19:31:26 Re: FSM corruption and standby servers